MechanicalSystem declaration error

When I am rebuilding project, I get error, that it cannot find my variable gMechDimensions.

This variable is a valid option in my MechanicalSystem file as well, so I am not sure where the problem is.

The variable has to be used in an application task, at least once, otherwise AS will “optimize” it away.

Ah, yes, that was it. I just added it to Main program and then the error disapeared. Thank you!

1 Like