Smileyoer
Mechanical
- Dec 31, 2018
- 16
Hello,
I have an issue with Catia programming.
I do a lot calculation with a macro, point coordinates, angles between lines.
My problem is that with one Catia Environment it works properly.
But with another it throws an Error.
The error is Accessviolationexception
I try to measure an angle between two lines:
Dim getAngle
Dim Measureangle As measurable
Measureangle=SPAwork.Getmeasurable(A)
getAngle=Measureangle.GetAnglebetween(B) ---- this throws the error
Do you have any idea why?
Thanks ín advance!
I have an issue with Catia programming.
I do a lot calculation with a macro, point coordinates, angles between lines.
My problem is that with one Catia Environment it works properly.
But with another it throws an Error.
The error is Accessviolationexception
I try to measure an angle between two lines:
Dim getAngle
Dim Measureangle As measurable
Measureangle=SPAwork.Getmeasurable(A)
getAngle=Measureangle.GetAnglebetween(B) ---- this throws the error
Do you have any idea why?
Thanks ín advance!