Hello,
I was experimenting a bit with the api (using VB), trying to insert a component to an assembly & then mate it to another component. But it got all a bit confusing as I found there are seemingly various ways. (& I'm quite a newbie to it)
The simplest way I thought to be was using ".addcomponent4 ( compName, configName, x, y, z)" but this method requires a part already to be loaded into memory & that's where I got stuck.
I tried opening it with ".OpenDoc6" & it's various options, but then I get the particular part opened in a part document. Is there a way to "load" a component without actually opening it in a separate document then ?
Could anybody lighten me up a bit on this, or on which method is actually best used to insert a component from a file ?
TIA & best regards, JM