ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
apazer pouity20/07/2024

Hello everyone,

I am looking for how to edit all the parts of an assembly in context, I have the code below which allows me to open all the parts of an assembly.

But I can't change it.

Start of code:

Set swApp = Application.SldWorks Set Assembly = swApp.ActiveDoc Set myAsy = Assembly myCmps = myAsy.GetComponents(False) For i = 0 To UBound(myCmps) Set myCmp = myCmps(i) If (myCmp.GetSuppression = 3) Or