19 years ago
i have a problem referencing to an modeldoc2.
i've been programming the sw api for a while now and my whole system
worked perfectly but now i got a problem that the instance of an
object is not set.
normally i connect to solidworks via getobject and then i connect to
the model loaded:
dim mymodel as sldworks.modeldoc2=swreference.activedoc
this normally results in a mymodel modeldoc2 com+ object, but now the
strange thing happend that i only get a modeldoc2class object, this
class object is not compatible with the com+ object.
any one had the same problem? how did u solve it?
Please email me .