Page 1 of 1
Compilation error
Posted: Thu Oct 03, 2024 10:38 pm
by Mike Gershon
Hi,
After installiing v7.2 I got error in ICircle_DG.SetAxisDirection(axis) method.
We are using the ActiveX control in a VB .net app.
Thanks
Re: Compilation error
Posted: Fri Oct 04, 2024 1:09 am
by Prashant Kande
Hello Mike
Yes, it was a breaking change, unfortunately. We have added this to the docs.
I have fixed this in ActiveX-based Face sample (copied from v6.2 ) by replacing:
Code: Select all
Dim normal As dirAxis = New VectDg(0, 0, -1)
iCircle.SetAxisDirection(dirAxis)
iCircle.SetRadius(25)
with
Code: Select all
Dim normal As VectDg = New VectDg(0, 0, -1)
iCircle.Init4(center, normal, New VectDg(0, 1, 0), 25)
Thanks for reporting.