Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
ESEric Stocker13/09/2007
I am having trouble with the changing configuration through
aSolidWorks Add-in.
Calling functions like View.ReferencedConfiguration ="Default" function correctly, yet when the PropertyManager Page unloads, it causes the:
runtime error r6025
- pure virtual function call
I have copied the code that I used directly from a Working Macrointo a module in an Add-in. The code executes fine and doesall its functions, then it causes SolidWorks to crash.
I have written code to create a DXF from a selection of theconfigurations in a model. I have also tried to change theactive configuration in the model but I get the same result.
I don't thin that I am doing anything wrong, my only explanation isthat there is something going on between the Macro language and theVB.NET language??
If anyone has had similar situation to this, how did you go aboutresolving it?
Many Thanks for you input
Eric
SolidWorks 2007 SP4.0 (32 bit)
VB.NET 2005
Calling functions like View.ReferencedConfiguration ="Default" function correctly, yet when the PropertyManager Page unloads, it causes the:
runtime error r6025
- pure virtual function call
I have copied the code that I used directly from a Working Macrointo a module in an Add-in. The code executes fine and doesall its functions, then it causes SolidWorks to crash.
I have written code to create a DXF from a selection of theconfigurations in a model. I have also tried to change theactive configuration in the model but I get the same result.
I don't thin that I am doing anything wrong, my only explanation isthat there is something going on between the Macro language and theVB.NET language??
If anyone has had similar situation to this, how did you go aboutresolving it?
Many Thanks for you input
Eric
SolidWorks 2007 SP4.0 (32 bit)
VB.NET 2005