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.
Solved! Go to Solution.
Solved by Ktelang. Go to Solution.
I asked almost the same question here:
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)
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