I'm writing a program using Visual studio C# to select a part in an assembly document. Then, I need to move the part along each axis and do a collision detection with other parts.
I think I need to use select by ID method. I have tried but couldn't get the returned component2 object. Can anybody teach me how to select a part by using the part's name? would appreciate the help.
SolidworksApi macros