Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
mblaptok
235 Views, 1 Reply

edit helicalcurve

I made sketch3D, then helicalcurve, definition Spiral.

At one of ends, i made WorkPlane, then Sketch2D on it, project geometry (point), draw a circle, and lastly made a sweep.

 

When i edit rotation of spiral by user interface, all update fine !

but when i change rotation by below iLogic code, WorkPlane and Sweep is lost - i need to redefine them once again.

What is missing in the ilogic code so that the result is the same as in user interface???

Dim oPDoc As PartDocument = ThisDoc.Document
oPDoc.ComponentDefinition.Sketches3D.Item(1).HelicalCurves.Item(1).Definition.Clockwise = 1