ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SPShane Pickup21/06/2017

Hi

I've just starting to dabble with the macro recorder but I've noticed that I am unable to record any global variables, feature equations and equations that have been entered in while recording.

I would like to enter the things like:

Global variables

Length = "D1@sketch1"       (this is so I can rember he dimension reference)

feature equation

LPattern1 =iif(length<200,supress,unsupress)

Equation

D2@sketch1 = length * 0.5

Please could anybody point me in the right direction of what to write into my recorded macro to enable me to enter the above (ideally giving me examples).

Regards

Shane