I am having trouble with the changing configuration throughaSolidWorks Add-in.
Calling functions like View.ReferencedConfiguration="Default" function correctly, yet when the PropertyManager Pageunloads, it causes the:
runtime error r6025
- pure virtual function call
I have copied the code that I used directly from a WorkingMacrointo a module in an Add-in. The code executes fine anddoesall its functions, then it causes SolidWorks to crash.
I have written code to create a DXF from a selection oftheconfigurations in a model. I have also tried to changetheactive configuration in the model but I get the same result.
I don't thin that I am doing anything wrong, my onlyexplanation isthat there is something going on between the Macrolanguage and theVB.NET language??
If anyone has had similar situation to this, how did you goaboutresolving it?
Many Thanks for you input
Eric
SolidWorks 2007 SP4.0 (32 bit)
VB.NET 2005 SolidworksApi macros







Calling functions like View.ReferencedConfiguration="Default" function correctly, yet when the PropertyManager Pageunloads, it causes the:
runtime error r6025
- pure virtual function call
I have copied the code that I used directly from a WorkingMacrointo a module in an Add-in. The code executes fine anddoesall its functions, then it causes SolidWorks to crash.
I have written code to create a DXF from a selection oftheconfigurations in a model. I have also tried to changetheactive configuration in the model but I get the same result.
I don't thin that I am doing anything wrong, my onlyexplanation isthat there is something going on between the Macrolanguage and theVB.NET language??
If anyone has had similar situation to this, how did you goaboutresolving it?
Many Thanks for you input
Eric
SolidWorks 2007 SP4.0 (32 bit)
VB.NET 2005 SolidworksApi macros