Rotate Arc Entitie

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
DitelSL
Posts: 5
Joined: 07 Jan 2021, 13:48

Rotate Arc Entitie

Post by DitelSL » 08 Jan 2021, 12:03

Good Morning

We need rotate Arc entitie now we rotate point off arc but we need rotate angle too
how can I do it?

this is code we use

Dim vArc As CADArc
vArc = CType(CADDiseño.CurrentLayout.Entities(h), CADArc)
vArc.Point = DPoint.Rotate(vArc.Point, center, False, Angle)


Thanks

DitelSL
Posts: 5
Joined: 07 Jan 2021, 13:48

Re: Rotate Arc Entitie

Post by DitelSL » 08 Jan 2021, 12:11

Hi with this work fine

vArc.StartAngle = vArc.StartAngle + Angle
vArc.EndAngle = vArc.EndAngle + Angle

Thanks

Post Reply