How to make a part in assembly tree "active", via VB.Net or MapKey
I need a tool to automatically activate a specific part in an assembly tree structure.
Manually i would search the tree for the part, Right Mouse Button ---> Activate
I have experimented using macro recording for generating a mapkey, but this is a static dumb solution, that i cannot "parametrize" with the model name i have to activate.
So, i'm asking to all gurus there, if the "inplace part activation" can be automated in any way.
On VB.Net --> session.GetActiveModel() --> return the active part, BUT i have not found any SetActiveModel() to do the job, why ???
I don't handle very well Script/mapkey syntax, can i parametrize the recorded script with my own model name to activate ?
Looking for a tricky solution, regards,
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

