I-logic Rule for drawings: Status "For Construction", create PDF and DXF from Assembly file

I-logic Rule for drawings: Status "For Construction", create PDF and DXF from Assembly file

Anonymous
Not applicable
610 Views
1 Reply
Message 1 of 2

I-logic Rule for drawings: Status "For Construction", create PDF and DXF from Assembly file

Anonymous
Not applicable

Hello,
I am looking for illogic rules that would save me a lot of time consuming, boring and repetitive task of changing status of the drawing to “for construction”, creating the pdf ‘s and dxf’s after drawings has been approved.
I have few rules for that do some of those tasks but not exactly how I want it.
So ideally I would run the rule on the assembly .iam file and it would look for all .idw of the parts and sub-assemblies included in that assembly and do four things:
1. Open all .idw’s and change status of the drawings to “for construction”, update rev to 0, dates and initials etc.
2. Create PDF’s for all drawings, also create folder "PDF" if it is not there and save to that folder.
3. Create DXF’s of the .idw’s drawings, also create folder "DXF" if it is not there and save to that folder.
4. Save and close all idw.
Important is to save all .pdf's and .dxf in specific location. Each part that has .idw file sits in individual folder and has three sub-folders INV, PDF and DXF where all inventor files are located for that part in folder INV and so on. The pdf’s and dxf need to end up in those folders for each part.
The structure of folders look something like that:

 

folders structurefolders structure

 

 

 

 

 

 

 

 

 

 

 

If I would open assembly from folder A01/INV and run the rule , it would open drawings for parts in folders D01/INV and D02/INV and save pdf and dxf files in corresponding folders + for construction part.

I am attaching a rule “Assembly to PDF” that works good for Task No: 2 but dumps it to one folder.
The other rules for Tasks No: 1,2,3 work perfect but have to be run on each drawing file separately, and that is what I want to avoid.
So most of the stuff is there but would need to combine it and twick it so created files are saved where I want it.
I hope it makes some sense and I would be very grateful for help with that.

Thank you very very very much

0 Likes
611 Views
1 Reply
Reply (1)
Message 2 of 2

A.Acheson
Mentor
Mentor

@Anonymous 

 

A lot of the work has been done  in the rules attached.  Have you attempted to put some of it together yet? Thinking out loud a group external rule or sub would be a starting point. I am looking to put together a lot of the rules I have worked with into a similar workflow and would be happy to do a group collaboration if you are willing to accept the challenge.  How familiar are you with iLogic?

The nearest I have seen is the fantastic batch tool below but the rule still need to be joined, it may help as a starting point to grab the assembly file without opening but not totally necessary either. 

 

https://knowledge.autodesk.com/support/inventor/learn-explore/caas/screencast/Main/Details/4ab05506-6db8-4065-8f00-be7f57632df0.html

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes