Export Flatpattern to DXF

Export Flatpattern to DXF

Anonymous
Not applicable
409 Views
2 Replies
Message 1 of 3

Export Flatpattern to DXF

Anonymous
Not applicable
Hello,

I want to export our Flatpattern from a inv2008 ipt to DXF with only the contour lines. I only want the layers: OuterProfileLayer,InteriorProfilesLayer in my DXF file.
I tried this by InvisibleLayers but they still come in the DXF file
I use this code but I can't get it right.

Dim oDataIO As inventor.DataIO
Set oDataIO = oPartDoc.ComponentDefinition.DataIO
Dim sOut As String
sOut = "FLAT PATTERN DXF?AcadVersion=R12&OuterProfileLayer=0&InteriorProfilesLayer=0" & _
"&InvisibleLayers=FeatureProfilesLayer,ArcCentersLayer;BendLayer;BendUpLayer;BendDownLayer;BendUpLayer;BendDownLayer;ToolCenterLayer;ToolCenterUp Layer;ToolCenterDownLayer;" & _
"FeatureProfilesLayer;FeatureProfilesUpLayer;FeatureProfilesDownLayer" & _
"&SimplifySplines=True&MergeOuterContour=true"

strDXFname = "c:\temp\dxfout1.dxf" oDataIO.WriteDataToFile sOut, strDXFname

Regards,

Geert
0 Likes
410 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
You must use the 'default' Inventor Layer Names and seperate them with a ";"

Example:

&InvisibleLayers="IV_TANGENT;IV_BEND"

HTH,

--
T. Ham
CAD Automation & Systems Administrator
CDS Engineering BV

HP xw4300 Workstation
Dual Pentium XEON 3.6 Ghz
4 GB SDRAM
NVIDIA QUADRO FX 3450/4000 SDI (Driver = 6.14.10.9185)
250 GB SEAGATE SATA Hard Disc
3Com Gigabit NIC

Windows XP Professional SP2
Autodesk Inventor Series 10 SP3a
Autodesk Inventor Suite 2008 SP1
--
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks Teun for your reply, I'll try it.

Geert
0 Likes