01-11-2022
02:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-11-2022
02:47 PM
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
01-12-2022
07:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-12-2022
07:03 AM
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.