Inventor i-logic for sketch

Inventor i-logic for sketch

Anonymous
Not applicable
486 Views
4 Replies
Message 1 of 5

Inventor i-logic for sketch

Anonymous
Not applicable

Hi,

 

I am trying to create a sketch for a Falt bar (size 2-1/4" width) with some points for holes and could able to control parameters like Length, Width and even the number of points using i-logic, but only thing i couldn't do is, when the FB length reduces to a particular length the number of point (Holes) should be 1.

Could somebody help me on this, how to write program for this condition? whether is it possible to control this through i-logic?

for your reference i am attaching a screenshot of a FB sketch.

0 Likes
487 Views
4 Replies
Replies (4)
Message 2 of 5

bradeneuropeArthur
Mentor
Mentor

If Length <50 Then
HoleQty =1
End If

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 5

HermJan.Otterman
Advisor
Advisor

Hello Anand,

 

look at my part

there is an iLogic form to control it

 

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes
Message 4 of 5

Anonymous
Not applicable

Very kind of you guys.

But I think I didn't convey my query properly.

First thing is I am using the Inventor version 2016, so I couldn't open the file which you sent.

Actually my concern is using i-logic in such a way that it should control the sketch not the features (3D-Model).

If I create a point on the sketch and by using the i-logic command i should be able to increase the number of holes proportional to Length and when the Length decrease to a particular dim. then the number of hole should be 1.

If my query doesn't make any sense then I am really sorry.

 

Thanks,

Anand. 

0 Likes
Message 5 of 5

HermJan.Otterman
Advisor
Advisor

Try this one, it is a 2016 version

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes