This is for within a SolidWorks Add-In context, I want to be able to open a new part within an assembly, insert it within the assembly and essentially have that part "attached" to the cursor waiting for a user to place it within the assembly.
When you flow through the Insert Component property manager, you browse or select an open part, then when you click it on the property manager, your mouse cursor has the part attached and you can move around and place it where you want it, with Smart Mates behaviors and possibly the rotation toolbar present as well.
I want to mimic all of the above but cannot find API methods to accomplish this.
I can get the new part to load using .AddComponent5(), but that requires X, Y, and Z coordinates. I also considered DragOperators or even IAssemblyDoc.TranslateComponent to invoke the Move Component property manager, but none of these can get me close to the built in behavior that Insert Component property manager provides. I want to skip the step of popping the property manager and forcing the user to select the appropriate open document to be able to insert a new part.