Ilogic-fx parameter

Ilogic-fx parameter

maz
Contributor Contributor
803 Views
6 Replies
Message 1 of 7

Ilogic-fx parameter

maz
Contributor
Contributor

I would like to ask if you could advise me.
If possible, I would like to automate this process through iLogic.
But I don't know if text can also be entered into the user fx parameters.

1. If there is a text named "END" in the user fx parameter "CONNECTION", turn off the extension named T_02, V_02 and V_03.
2.Extrude body T_01 to the plane named "Plane for END".
3. At the same time, mark the body with the name "03" for the V_01 extension.

I am sending the model.

0 Likes
804 Views
6 Replies
Replies (6)
Message 2 of 7

bradeneuropeArthur
Mentor
Mentor
Can you make some screenshot because I see not what you mean in the Test Part?

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 7

maz
Contributor
Contributor

Hello. I am sending screenshots

0 Likes
Message 4 of 7

maz
Contributor
Contributor
I sent screenshots.
0 Likes
Message 5 of 7

dutt.thakar
Collaborator
Collaborator

@maz 

Fx Parameter Connection must be created as a Text Parameter if you want to add "END" in it. I have downloaded the part and created some simple code for you.

 

See below things that are fulfilled in the part I am attaching based on your question.

Q1. If there is a text named "END" in the user fx parameter "CONNECTION", turn off the extension named T_02, V_02 and V_03. 

 

A1: This is now added and you can find it in iLogic rule.

   
Q2.Extrude body T_01 to the plane named "Plane for END"

 

A2: This is also added in the same code, I have made some modifications in the feature as you were using "TO" in extrude and you are actually suppressing the face to which you are extruding which was eventually failing the feature so I have used measure snippet and used that dimension in the code. I have also added extra paramtere called"T01Extude" to make it work.

 

Q3 :. At the same time, mark the body with the name "03" for the V_01 extension

 

A3: I am not able to understand what you are asking please elaborate. or show using Snips.

 

 

See attached part and let me know what you think about it.

 

P.S. There are dowel pin feature sketches which are failing as you are taking references from suppressed parts in your sketch, please correct them because it will fail the sketch constraints once you suppress the T_02, V_02 features. I have not corrected the sketch references. I have only corrected the sketch reference of V_01, which was also failing earlie.

 

Hope this will be helpful.

If this answer has solved your problem please ACCEPT SOLUTION and hit like if you found it helpful..!


Regards,
Dutt Thakar
LinkedIn
Message 6 of 7

maz
Contributor
Contributor

Yes.It helped me. Well thank you.

Q3: I meant that the pins from solid body_01 did not penetrate solid body_03. (Because solid body_03 is not marked).
But I'm not sure if this procedure can be done using a rule.

Q4: When the length is increased by +1000mm, the center board (solid body_01) is not automatically extended.
Is it possible for it to change automatically after entering a new dimension in the fx parameter?
Or do you need to run the rule every time you change the fx parameter?

Q5: Is it possible to extrude  using the rule into an inclined plane?

Thank you

0 Likes
Message 7 of 7

Darkforce_the_ilogic_guy
Advisor
Advisor

why ilogic .. why not use Feature Properties ? would that no be easyer ?

bt_0-1673809463723.png

 

I sure you should to what you want with Ilogic .. but Feature properties might be Easy way to go.

 

If you still want the ilogic rute I might be about to help. but might need to aske som question to make sure I understand 100 % what you want