AutoCAD P&ID / Plant 3D: How do I show the Project Manager window?

By Marat Mirgaleev

Issue

I would like to show the Project Manager palette programmatically, if it’s hidden. Can I do this?

image

Solution

There is an undocumented command called "_REFRESHPMESW" that shows the Project Manager. So, we can simply call that command with these lines of code:

Document doc = Application.DocumentManager.MdiActiveDocument;      doc.SendStringToExecute("_REFRESHPMESW ", true, false, true );

The "_REFRESHPMESW" command also refreshes the information in the window. It may be helpful when your program changes the project structure.


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading