Search for common text in multiple ilogic rules?

Search for common text in multiple ilogic rules?

D0UGLAS
Collaborator Collaborator
597 Views
4 Replies
Message 1 of 5

Search for common text in multiple ilogic rules?

D0UGLAS
Collaborator
Collaborator

Does anyone have any better ideas or knowledge of how to search for and locate identical text strings, features in several ilogic rules at once?

 

1) I have a model with 30+ rules, I have merged them together, but they were unmanageable.

2) Another way I have found is to search and replace all instances in all of the rules with the same or a corrupt text. The same text helps me identify how many occurrences there are, the corrupt text can help me find the rule, but this does not always work, and not finding the now corrupted text leads to problems down the line.

3) Also copying all of the rules into a text editor made them accessible but again this is impractical.

 

example

I am looking for something like this it doesn't have to be within the ilogic environment I just need a quick way to find features for editing...

 

Input

search 30 rules where is text  "rhubarb n custard"

8 occurrences found

4 in rule 1,

1 in rule 9,

2 in rule 16,

1 in rule 29

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

bradeneuropeArthur
Mentor
Mentor

This may be not the solution, but is more as a "Tip".

Start programming your own add in.

The story above is one of the BIG disadvantages of build in code like VBA or I-logic.

For sure if you have a model with 30 + rules, an add in is the better way of programming!

 

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

Message 3 of 5

D0UGLAS
Collaborator
Collaborator

Ah… I wish there was a macro record feature, that could set me off in the right direction..

Thanks for your help..

0 Likes
Message 4 of 5

bradeneuropeArthur
Mentor
Mentor

@D0UGLAS 

 

You have already programmed a lot with I-logic!

The step to vb.net and add ins isn't the huge/far away!

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 5 of 5

chandra.shekar.g
Autodesk Support
Autodesk Support

@D0UGLAS,

 

In the below blog link, an Inventor addin is used to play with iLogic rules.

 

https://beinginventive.typepad.com/being-inventive/2012/02/injecting-ilogic-code-and-ilogic-event-tr...

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes