Is possible or someone can do iLogic rule or macro to export flat pattern with my individual export options?

Is possible or someone can do iLogic rule or macro to export flat pattern with my individual export options?

appN65UD
Participant Participant
171 Views
1 Reply
Message 1 of 2

Is possible or someone can do iLogic rule or macro to export flat pattern with my individual export options?

appN65UD
Participant
Participant

Hello everyone,

Can someone help me write iLogic rule to export flat pattern sheet metal do .dwg file (for example to desktop folder or the same where part is saved) wtih specific export options? I need only inner and outer profile (can be on 1 layer or seperate layers, no matter), front nad back bend lines (separate layers). I attached video and picture steps how now I do export flat pattern. I would like automatize that process. I tottaly rookie in iLogic but i think it will be no problem for me edit file paths, colours and line`s type or something like that for my windows/pc configuration. I attach my export configuration file .ini below:

 

 

[FP EXPORT SELECT OPTIONS]
AUTOCAD VERSION=AutoCAD 2004
USE CUSTOMIZE=No
CUSTOMIZE FILE=c:\program files\autodesk\inventor 2018\Design Data\DWG-DXF\FlatPattern.xml
[FLATPATTERN LAYER OPTIONS]
Tangent Lines=IV_TANGENT:Visibility=OFF;LinePattern=28100;LineWeight=0,0500;Color=0,0,0;
Bend Lines (Front)=IV_BEND:Visibility=ON;LinePattern=28101;LineWeight=0,0130;Color=255,0,0;
Bend Lines (Back)=IV_BEND_DOWN:Visibility=ON;LinePattern=28101;LineWeight=0,0130;Color=0,255,255;
Tool Centers (Front)=IV_TOOL_CENTER:Visibility=OFF;LinePattern=28100;LineWeight=0,0500;Color=0,0,0;
Tool Centers (Back)=IV_TOOL_CENTER_DOWN:Visibility=OFF;LinePattern=28100;LineWeight=0,0500;Color=0,0,0;
Arc Centers=IV_ARC_CENTERS:Visibility=OFF;LinePattern=28100;LineWeight=0,0500;Color=0,0,0;
Outer Profile=IV_OUTER_PROFILE:Visibility=ON;LinePattern=28100;LineWeight=0,0200;Color=0,0,0;
Inner Profile=IV_INTERIOR_PROFILES:Visibility=ON;LinePattern=28100;LineWeight=0,0200;Color=0,0,0;
Feature Profile (Front)=IV_FEATURE_PROFILES:Visibility=OFF;LinePattern=28100;LineWeight=0,0500;Color=0,0,0;
Feature Profile (Back)=IV_FEATURE_PROFILES_DOWN:Visibility=OFF;LinePattern=28100;LineWeight=0,0500;Color=0,0,0;
Alternate Rep (Front)=IV_ALTREP_FRONT:Visibility=OFF;LinePattern=28100;LineWeight=0,0500;Color=0,0,0;
Alternate Rep (Back)=IV_ALTREP_BACK:Visibility=OFF;LinePattern=28100;LineWeight=0,0500;Color=0,0,0;
Unconsumed Sketches=IV_UNCONSUMED_SKETCHES:Visibility=OFF;LinePattern=0;LineWeight=-1,0000;Color=-255,-255,-255;
Tangent Roll Lines=IV_ROLL_TANGENT:Visibility=OFF;LinePattern=28100;LineWeight=0,0500;Color=0,0,0;
Roll Lines=IV_ROLL:Visibility=OFF;LinePattern=28100;LineWeight=0,0500;Color=0,0,0;
[FLATPATTERN GEOMETRY OPTIONS]
REBASE GEOMETRY=No
GROUP GEOMETRY=No
REPLACE SPLINE=Yes
SPLINE SIMPLIFICATION METHOD=Linear
CHORD_TOLERANCE=0,010000
TRIM CENTERLINES=No

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

C_Haines_ENG
Collaborator
Collaborator

You can save your export settings as a configuration (this should create an actual file). That will choose the same settings every time. 

 

I think this post should have the code youre looking for:

https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-help-exporting-ipt-flat-pattern-to...

0 Likes