5 Replies Latest reply on Nov 3, 2017 1:22 AM by Deepak Gupta

    Macro to put the material of part in the material property

    Jos Peet

      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