Dear API User,
I'm looking for a method to Move a Component from the first Level to an already created sub assembly?
If this not possible, is there a way to insert the part exactly on the same position in the sub assembly?
I have solved my issue by using transformation and Add Components methode.
Usage of assembly component transformation in SOLIDWORKS API
2017 SOLIDWORKS API Help - AddComponents3 Method (IAssemblyDoc)
Anyway, thanks for the replies!
Is the subassembly in the correct position relative to the current assembly?
When you drag and drop it should be in the same position but will have a "new" origin
Drag and dropping it in that assembly should bring it at the same position in the assembly you are dropping it into.
The origins can be different. Is there an example how to drag & drop an part to an assembly?
Retrieving data ...