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

Export dxf file through API with colored layers

I am trying to export dxf files through the API with the FeatureProfilesLayer color set to yellow but cannot seem to get the syntax correct or maybe missing something else. In any case it is not working. Can somebody show the correct format or point me in the right direction? Code below...

 

sOut = "FLAT PATTERN DXF?AcadVersion=R12&" &
               "OuterProfileLayer=CUT&" &
               "InteriorProfilesLayer=CUT&" &
               "FeatureProfilesLayer=ETCH&" &
               "FeatureProfilesLayerColor=255;255;0" &
               "InvisibleLayers=IV_ARC_CENTERS;IV_TOOL_CENTER;IV_TOOL_CENTER_DOWN;IV_UNCONSUMED_SKETCHES"
Tags (3)