Change document settings on several files at once. ilogic?

Change document settings on several files at once. ilogic?

LSA-skan
Advocate Advocate
1,205 Views
4 Replies
Message 1 of 5

Change document settings on several files at once. ilogic?

LSA-skan
Advocate
Advocate

Hey

 

Im adjusting the CAD setup in our company, and therefore im looking for a way do change the document settings on all parts in an assembly (or the whole CAD directory) the easiest way possible.!

 

I have attached a picture of the setting i would like changed.

 

Is it possible with some Autodesk task scheduler tools..?

 

or can it be done with an ilogic rule?

 

hope someone have an answer Smiley Happy

 

 

0 Likes
Accepted solutions (1)
1,206 Views
4 Replies
Replies (4)
Message 2 of 5

Curtis_Waguespack
Consultant
Consultant
Accepted solution

Hi LSA-skan,

 

This link has an iLogic rule that does what you're after:

http://inventortrenches.blogspot.com/2012/05/ilogic-rule-to-change-units-of-measure.html

You might want to remove the lines that set the units of measure if that's not needed.

 

This might help also:

http://inventortrenches.blogspot.com/2012/01/creating-basic-ilogic-rule-with-event.html?utm_source=B...

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

Message 3 of 5

LSA-skan
Advocate
Advocate

Thanks alot Curtis..!

 

This did the trick.. Smiley Very Happy

 

/LSA-skan

0 Likes
Message 4 of 5

LSA-skan
Advocate
Advocate

Not sure if this is too late, as i have already accepted your answer as a solution, but maybe you´ll notice this too...

 

The rule works perfect, and i now managed to get a trigger setup too.. however.: i would like to preset the settings, so the user does not have to take any action. Can you tell me which lines to remove and what to type in the lines to make a preset setting..?

 

Like below string should always be 1.. no dialogs of any kind...

 

'create precision value list
oPrecisionArray = New String(){0, 1, 2, 3, 4, 5}
0 Likes
Message 5 of 5

LSA-skan
Advocate
Advocate

...... And how do i make this rule work in all documents opened in the future?

 

i noticed that this rule, with the save trigger, only works on the document i made it in... can i make it work in all documents? if not, a simple button in the toolbar to run the rule would also be ok...

 

/LSA-skan

0 Likes