AnsweredAssumed Answered

Need to Change a specific Parts Configuration in an Assembly

Question asked by Shawn Tracey on Aug 11, 2015
Latest reply on Aug 12, 2015 by Shawn Tracey

I am having difficulty doing 2 things.

 

First: How do I write the code to select a specific part in an assembly?

     I thought that line for this was: boolstatus = swmodel.extension.selectionbyid2("NAME OF PART I WANT" , "COMPONENT", 0, 0, 0, False, 0, Nothing, 0)

 

Second: How do I change that components configuration?

     This is am having much more difficulty with.  I have found code to change the configuration if I manually select the part in the assembly, but I need to automate it, and right now I am stumped.

 

Any help is appreciated.

Outcomes