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:
- parts with one custom properties (DesignedBy) in the default configuration. We do not have other configurations.
- Create 2d drawings.
- 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.