AnsweredAssumed Answered

Display part’s custom properties on drawing sheet by using Macro

Question asked by Xh Z on Jul 15, 2017
Latest reply on Jul 23, 2017 by Deepak Gupta

I am trying to display a part’s custom properties on the drawing sheet using a macro but did not find exact the function to do it.

Here is my idea:

  1. parts with one custom properties (DesignedBy) in the default configuration. We do not have other configurations.
  2. Create 2d drawings.
  3. Run the macro and the values of the above properties will be displayed on the sheet as one line.


Tried cusPropMgr.Get5,  swModel.Extension.CustomPropertyManager() etc but seems cannot get it done.

i know we can link a text to that custom properties and it work well. but in this case, i just want to use a macro. 


I am not familiar with SW API function. Any suggestions? Thank you.