Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Apply external rule to multiple files

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Ktelang
396 Views, 2 Replies

Apply external rule to multiple files

I want to perfom following task

I have 1000 files (ipt) in one folder

I want to

open one file at a time --> run an external rule --->save the file ---->close the file

 

I am trying something but it's not helping me

As the launched document is not considered as active document.

For x= 1 To 9
Dirpath = "F:\Vert\"
ThisDoc.Launch(Dirpath & "M-00" & x & ".ipt")
iLogicVb.RunExternalRule("prop")
ThisDoc.Save
Next x

 

I know about event triggers for external rule

but they only work for the file in which an event trigger is assigned.

 

Please can any body help.

------------------------------------------------------------------------------
Config :: Intel (R) Xeon (R) CPU E31245 @ 3.30 GHz, 16.0 GB, 64bit win7
Inventor 2013 and Vault Basic 2013
-----------------------------------------------------------------------------
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Ktelang

I asked almost the same question here:

http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/EVENT-TRIGGERS-amp-EXTERNAL-RULES/m-p/...

 

I'm hoping that someone will have a solution, but was told on that thread that there was not one.

(I have my fingers crossed that someone comes up with something)

Message 3 of 3
Ktelang
in reply to: Anonymous

Thanks Bmiller,

 

Yeah, we can just hope it will be there in next version.

 

BTW I figured out a work around.

Use macro recorder to record the mouse clicks.

There you go. loop it.

 

I am sure you already know this .. I just thought of sharing

to ease the process till we get a fix from Autodesk

 

Have a good one

------------------------------------------------------------------------------
Config :: Intel (R) Xeon (R) CPU E31245 @ 3.30 GHz, 16.0 GB, 64bit win7
Inventor 2013 and Vault Basic 2013
-----------------------------------------------------------------------------

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report