Turn imate into regular constraint

Turn imate into regular constraint

benjamin.herinckx
Contributor Contributor
406 Views
2 Replies
Message 1 of 3

Turn imate into regular constraint

benjamin.herinckx
Contributor
Contributor

Is there a piece of ilogic (or VBA) that turns existing imates into regular assembly constraints ?

 

I have setup imates to capture the assembly logic of my components.

But I need to be able to update the offset value on these imates to customize my assemblies.

 

Imates will let you edit the offset values from the parameter menu but will reset to its initial value every time you hit "rebuild all".

 

My thought process is :

 

1 - setup the imates

2 - assemble the parts with imates (which helps gain on assembly time)

3 - run some code to turn the imates into regular constraints

4 - edit the constraints

 

Anyone has a similar idea ?

0 Likes
407 Views
2 Replies
Replies (2)
Message 2 of 3

bradeneuropeArthur
Mentor
Mentor

You could also use a parameter true or false and let the rule decide if it runs or not!

For example:

  • ParRunRule= true the rule runs yes.
  • ParRunRule= false the rule runs No.

Regards

 

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 3

benjamin.herinckx
Contributor
Contributor

I am not following you.

 

The "rebuild all" is not a rule its a built-in function that one uses quite often for varying reasons.

 

The point is when you edit the imate parameters from the menu it is not reliable because it will reset to its initial value eventually..

0 Likes