SW API set configuration
SW API set configuration
(OP)
Does anyone know how to set the active configuration? I can set the configuration in my VB form to the current but then after the user enters in a value in the combo box I want it to change the current configuration to reflect that value.
Thanks.
Thanks.






RE: SW API set configuration
Set Model = swApp.ActiveDoc
.....
Model.ShowConfiguration2 ("Config name")
for earlier API versions it should be:
Model.ShowConfiguration ("Config name")
Regards
RE: SW API set configuration
RE: SW API set configuration
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
Part.ShowConfiguration "configuration name"
End Sub
My problem is I want to change the configuration while in an assembly.