- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an iLogic rule to run on IPT's and some IAM's after the file saves to a STEP FILES folder.
The upper assemblies typically do not have the trigger set to save as a STEP file.
When in the context of an upper assembly, that does not have the trigger, and a save is done, the entire upper assembly is saved to a STEP file with the correct name of the lower level IPT/IAM that has a trigger. Unfortunately the STEP file contains the assembly not the individual part or respective assembly.
It works perfectly in the individual files but if I'm not careful, it overwrite the existing file with the assembly. Not good.
I think my problem, aside not knowing programming, is with the "Stepfilename = Thisdoc.path". Since I am in an upper assembly, it makes sense that would be the Thisdoc.path I'm in and not the individual file that has a trigger.
Stepfilename = ThisDoc.Path & "\STEP FILES\" & ThisDoc.FileName(False)
How do I get the rule to save each file, that has a trigger, to their respective file and path?
Hope this makes sense.
Solved! Go to Solution.
