Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Hi @mindaV3J2J 

 

I think you just need to update your sOut line to something like this:

 

Dim sOut As String
sOut = "FLAT PATTERN DXF?AcadVersion=2007" & _
"&OuterProfileLayer=IV_INTERIOR_PROFILES" &  _
"&InvisibleLayers = IV_TANGENT;IV_ROLL_TANGENT" 

 

Reference link:

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

 

related link:

https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/export-into-quot-dxf-quot-the-flat-p...

 

And here is an example of all options, just for reference:

 

Dim sOut As String
sOut="FLAT PATTERN DXF?AcadVersion=2007" &  _
"&TangentLayer=IV_TANGENT " &  _
"&BendLayer=IV_BEND" &  _
"&BendDownLayer=IV_BEND_DOWN" &  _
"&ToolCenterLayer=IV_TOOL_CENTER" &  _
"&ToolCenterDownLayer=IV_TOOL_CENTER_DOWN" &  _
"&ArcCentersLayer=IV_ARC_CENTERS" &  _
"&OuterProfileLayer=IV_OUTER_PROFILE" &  _
"&InteriorProfilesLayer=IV_INTERIOR_PROFILES" &  _
"&FeatureProfilesLayer=IV_FEATURE_PROFILES" &  _
"&FeatureProfilesDownLayer=IV_FEATURE_PROFILES_DOWN" &  _
"&AltRepFrontLayer=IV_ALTREP_FRONT" &  _
"&AltRepBackLayer=IV_ALTREP_BACK" &  _
"&UnconsumedSketchesLayer=IV_UNCONSUMED_SKETCHES" &  _
"&TangentRollLinesLayer=IV_ROLL_TANGENT" &  _
"&RollLinesLayer=IV_ROLL" &  _
"&InvisibleLayers=IV_TANGENT;IV_ROLL_TANGENT" &  _
"&TangentLayerColor=0;0;0 " &  _
"&endLayerColor=255;0;0" &  _
"&BendDownLayerColor=0;255;0" &  _
"&ToolCenterLayerColor=0;0;0" &  _
"&ToolCenterDownLayerColor=0;0;0" &  _
"&ArcCentersLayerColor=0;0;0" &  _
"&OuterProfileLayerColor=0;0;0" &  _
"&InteriorProfilesLayerColor=0;0;0" &  _ 
"&FeatureProfilesLayerColor=0;0;0" &  _
"&FeatureProfilesDownLayerColor=0;0;0" &  _
"&AltRepFrontLayerColor=0;0;0" &  _
"&AltRepBackLayerColor=0;0;0" &  _
"&UnconsumedSketchesLayerColor=-255;-255;-255" &  _
"&TangentRollLinesLayerColor=0;0;0" &  _
"&RollLinesLayerColor=0;0;0" &  _
"&MergeProfilesIntoPolyline=True"

 

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com