INI file usage confusion

INI file usage confusion

meck
Collaborator Collaborator
367 Views
0 Replies
Message 1 of 1

INI file usage confusion

meck
Collaborator
Collaborator

Hi All,

I have been struggling with how the ini file and the following 2 lines of code should interact.

Dim sOut As String = "FLAT PATTERN DWG?AcadVersion=2018&IV_Bend=37634&IV_BendLayerColor=0;255;255&BendUpLayerLineType=37634&BendUpLayerColor=255;255;0&BendDownLayerLineType=37634&BendDownLayerColor=0;255;255&InvisibleLayers=IV_ARC_CENTERS;IV_TANGENT"
oCompDef.DataIO.WriteDataToFile(sOut, NewFileName)

 

If I save the flat pattern configuration from Inventor with layers, linetypes, colors, etc., to an ini file, and I use that ini file in my code, why do I need to specify the line properties in sOut variable? It seems like they are fighting each other depending on which user is running my code.

 

Can someone please explain or direct me to an explanation of how these are supposed to work together.

All I need is to have all bend line types be DASHED and all tangent line invisible.

 

Thanks

Mike Eck
Master Drafter/ CAD Programmer
Using Inventor 2018
0 Likes
368 Views
0 Replies
Replies (0)