I'm trying to create a macro who is adding a custom property ''Description'' like:
\$PRP:"DescriptionFromFile" \$PRP:"SW-Configuration Name(Configuration Name)"
So its a combination of two custom properties.
Having this CP in a part and save as template is no problem, it's working good.
How can i assign this text in a macro, VB is seeing errors because of the " signs
Declare a string didn't work also...
'Add Description to custom properties and add text
swCustPropMgr.Add2 "Description", swCustomInfoText, " "
swCustPropMgr.Set "Description", " \$PRP:"DescriptionFromFile" \$PRP:"SW-Configuration Name(Configuration Name)" "
Anyone ?
Greetings !
SolidworksApi macros