HI ALL
i have a part white several configuration and i want to active special configuration . is there any way to select this in tree without expand the tree .
HI ALL
i have a part white several configuration and i want to active special configuration . is there any way to select this in tree without expand the tree .
could you please send for me that macro ? that large derived configurations is the result of mistake .
I'm not sure if there any macro but yes that can be made.
Further I see these configs are made from design table, so why not edit the table and fix the mistake.
Here are the codes you can try/use:
Option Explicit
Sub main()
Dim swApp As SldWorks.SldWorks
Dim swModel As SldWorks.ModelDoc2
Dim sConfigName As String
Set swApp = Application.SldWorks
Set swModel = swApp.ActiveDoc
sConfigName = InputBox("Enter Configuration Name", "Activate Configuration", sConfigName)
swModel.ShowConfiguration2 sConfigName
End Sub
Here are the codes you can try/use: