HI,
I am unable to insert a 3D Sketch in a C++ add-in. A 2D Sketch is fine but nsert3DSketch keeps returning S_FALSE.
Andrew
SolidworksApi macros
HI,
I am unable to insert a 3D Sketch in a C++ add-in. A 2D Sketch is fine but nsert3DSketch keeps returning S_FALSE.
Andrew
SolidworksApi macros
You may be getting a false error code back, but is it actually inserting or not? It may be a bad return value bug. Can't help you much more without seeing code.
Luke Malpass
AngelSix (SolidWorks Tutorials and Books)
BatchProcess
Thanks, Luke.
That seemed to be it since the 3D Sketch is created. There were some other problems with my code preventing the 3D Sketch from being visible so I got stuck on debugging the false return code for a while.
Andrew
could you post your code because I have the same error for the problem