Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

API Change configuration

Status
Not open for further replies.

rocky640

Mechanical
Joined
May 28, 2004
Messages
16
Location
US
Does anyone now how to change the active configuration of a part while it is in an assembly? I know that to change a configuration in an active part you use:


Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
Part.ShowConfiguration "configuration name"
End Sub

But how do you do this while it is in an assembly?
 
That is a great site Tick, I just wanted to say thanks for posting that one. I saw it about a week or so ago and havent had the chance to thank ya.

 
Yep. I'm getting a lot of mileage from Lenny's work.

I know him from the local user group. Nice guy -- great macros -- good site.
 
Thanks! That helped a lot!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top