Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
NBNikolay Bratovanov27/06/2016
Hello,
I have a two-link robot assembly with a concentric mate between the links. I'm trying to create a VBA macro with the following simple functionality:
- Pressing the "LOCK R" ToggleButton enables the "Lock Rotation" function of the concentric mate;
- Releasing the "LOCK R" ToggleButton disables the "Lock Rotation" function of the concentric mate;
I'm trying to do this with the following code:
As a result, the concentric mate ("Concentric5") is selected but the "Lock Rotation" function does not change! Can anyone help me with the code? I'm using the EditMate4 Method, but obviously something more has to be done. Thank you!