edit helicalcurve

edit helicalcurve

mblaptok
Contributor Contributor
280 Views
1 Reply
Message 1 of 2

edit helicalcurve

mblaptok
Contributor
Contributor

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

 

0 Likes
281 Views
1 Reply
Reply (1)
Message 2 of 2

cidhelp
Advocate
Advocate

Hi @mblaptok ,

 

I use Inventor 2021.3.1 an there is no problem switching the direction of a helical curve using iLogic. Workplane, 2D-Sketch and Sweeping are updating correctly.

See my screencast: https://autode.sk/33a3RVK

Attached part file including the iLogic rule.

0 Likes