AnsweredAssumed Answered

Macro to put the material of part in the material property

Question asked by Jos Peet on Sep 1, 2016
Latest reply on Nov 3, 2017 by Deepak Gupta

What i try , i cannot fill the property material with the material of the part.


Manually i can click on file properties >custom  and choose material in the second column.

Then i get such as sw-material@.....

Now i want to do this with a macro. But when i try to record , i see nothing.

What do i have to fill in for the word default that the macro puts from every opened part the material from the feature tree in the properties ?

swCustPropMgr.Add3 "Material", swCustomInfoText, Default, swCustomPropertyReplaceValue