Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
DKDan Kelly04/08/2016
Hi All,
I have a marco which runs through all our drawings and changes some of the Custom Properties in the drawings.
We would also like to Delete and Set some of the Custom Properties within the model which is driving the Drawing (These models are in various different folders and will me a nightmare run through otherwise.
Currently trying
bool = swCustProp.Set("$PRPSHEET:" + "Material", " ")
bool = swCustProp.Delete2("$PRPSHEET:" + "Material")
bool = swModel.DeleteCustomInfo2("", "$PRPSHEET:" + "Material")
I only seem to be able to delete the custom propertis in the drawing. Is this possible, could anyone give me the correct code to do these commands?