I'm trying to run a cosmos simulation using VB6, but I can't seem to get past the following line of code.
BL1 = cosmoslrm.AddBearingLoad("Coord1@shaft 004.SLDPRT", "SplitLine4@shaft 004.SLDPRT", swSelectOptionDefault)
It doesn't seem to like the "Coord1@shaft 004.SLDPRT" portion.
BL1 has been declared As CWBearingLoad
Coord1 is the name of the coordinate system in the part shaft 004.
SolidworksApi macros