Search Vault for parts with a specific rule name

Search Vault for parts with a specific rule name

AMN3161
Advocate Advocate
325 Views
4 Replies
Message 1 of 5

Search Vault for parts with a specific rule name

AMN3161
Advocate
Advocate

I am trying to find a way to search the vault for a specific rule name? so i can replace the rule with a newer version of that rule. I figure once i get the vault search results i can make a mouse recorder to automate replacing the old rule with the new rule.

 

Unless someone has a rule that can search for all parts and sub folder in a file path for a rule with a specific name.  but i know thats a much bigger ask

 

But preferably the vault option.

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

bradeneuropeArthur
Mentor
Mentor

Hi beside that built in code is not a good solution, you always need to checkout files from vault to search for ilogic rules and replace them.

So do a search locally and replace the code. Or better create an overall code addin that does the same. This makes it easier for the future.

I can support you if needed 

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

AMN3161
Advocate
Advocate

ok so basically right now I have a external rule when manually run that creates a rule within a ipart document, then dumps the content of a note pad document and applies it to a trigger

 

Overtime i been removing bugs and adding improvements to that note pad document but we have a old revisions of the rule come up once in a while. 

 

Would you be able to help me in making something simply to scan all files in a certain directory on my computer then just give me a list of any files with a specific rule name and provide a list? i am talking like all files, even a few sub folders down? Once i have the list of documents i can automate the rest 

0 Likes
Message 4 of 5

Michael.Navara
Advisor
Advisor

This is the time, when you need to switch your mind to use external rules.

In my opinion the right question is: How to find parts and REMOVE the rule.

 

But in both cases there is no chance to use Vault to search parts with iLogic rule, because there is nothing, what can Vault look for. 

You need to download all files open one by one and look for rule with standard iLogic functions. 

Message 5 of 5

bradeneuropeArthur
Mentor
Mentor

Send me a private message. We can arrange maybe something 

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