Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

edit helicalcurve

1 REPLY 1
Reply
Message 1 of 2
mblaptok
184 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

 

1 REPLY 1
Message 2 of 2
cidhelp
in reply to: mblaptok

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report