Page 1 of 1

Rotate Arc Entitie

Posted: 08 Jan 2021, 12:03
by DitelSL
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

Re: Rotate Arc Entitie

Posted: 08 Jan 2021, 12:11
by DitelSL
Hi with this work fine

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

Thanks