Compilation error

Everything DG Kernel: Technical discussions and issues
Post Reply
Mike Gershon
Posts: 1
Joined: Thu Oct 03, 2024 10:34 pm

Compilation error

Post 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
Prashant Kande
Posts: 55
Joined: Tue Jun 18, 2024 6:12 am

Re: Compilation error

Post 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.
Post Reply