04-08-2016
08:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-08-2016
08:11 AM
(Edit: Thanks for the reply NSBowser, I'll look into that, but below is the solution that I've made work for my application)
Wouldn't you know, I post a question and find the answer somewhere else.
For those that have the same issue as I do, the way you remove a layer from being exported to the dxf is to add the line "InvisibleLayers =" and include the layer names you want to remove. My example of the sOut string is as follows:
sOut = "FLAT PATTERN DXF?AcadVersion=2000" & _
"&OuterProfileLayer=IV_OUTER_PROFILE&OuterProfileLayerLineType=37633&OuterProfileLayerLineWeight=0,0500&OuterProfileLayerColor=0;0;0" & _
"&InteriorProfilesLayer=IV_INTERIOR_PROFILES&InteriorProfilesLayerLineType=37633&InteriorProfilesLayerLineWeight=0,0500&InteriorProfilesLayerColor=0;0;0" & _
"&InvisibleLayers=IV_TANGENT;IV_BEND;IV_Bend_Down;IV_Bend_Up;IV_ARC_CENTERS"This will print only the outer and inner profiles and will remove everything else.
This method allows full control over what layers you want shown. To add more customization to the layers exported check out Brian's article here: