I noticed that the Calculate command button works correctly the first time. However, subsequent clicking on the Calculate button does not accurately reflect the entered tube length. Perhaps the variable for tube length should be reset every time the Calculate button is selected.
Ready to start learning the SolidWorks API? Sign up for FREE membership here.Keep up with new videos, macros, and training events by joining our mailing list:
I noticed that the Calculate command button works correctly the first time. However, subsequent clicking on the Calculate button does not accurately reflect the entered tube length. Perhaps the variable for tube length should be reset every time the Calculate button is selected.