Hi Jhoel, I was reading your post on the Autodesk iLogic: Export All Flat Patterns to One DXF - Customization

Hi Jhoel, I was reading your post on the Autodesk iLogic: Export All Flat Patterns to One DXF - Customization

ligwin
Explorer Explorer
208 Views
1 Reply
Message 1 of 2

Hi Jhoel, I was reading your post on the Autodesk iLogic: Export All Flat Patterns to One DXF - Customization

ligwin
Explorer
Explorer

Hello all!

 

this is my first time posting on here and I’m hoping to get some quick help here.

 

I found this article below for an iLogic rule to automate the export of multiple flat patterns from a sheet metal part assembly into one .dxf file written by @JhoelForshav 


https://clintbrown.co.uk/2020/09/05/ilogic-export-all-flat-patterns-to-one-dxf/

 

However, I have specific colors that I need the bend lines, interior cut lines, and exterior cut lines to export as in the .dxf file. Any advice on how to achieve this?

 

I will be planning to create templates of various sheet metal assemblies to work from for reoccurring work and would like to automate the process as much as possible. 

I am terrible at coding and have never written and iLogic command before so any and all help is appreciated to edit the code in the attached link to do what I need. 

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

nedeljko.sovljanski
Advocate
Advocate

Hi @ligwin 

That code i quite good and could be useful in you case but you have to add some additional lines for exporting colors.

Use this documentation about options (varable oOptions in code)

https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=DataIO

and analize sample code (https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=WriteFlatPatternAsDXF_Sample)

0 Likes