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

(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: