Not applicable
08-22-2017
07:33 AM
Hello everyone,
Do any one know how to set the layermap (LayerTabel) using TXT by API?.
I need to import layer mapping txt for the DWG export by the API.
i already know how to set the property for one category but i need to know how to import it from a file.
DWGExportOptions dwgOptions = DWGExportOptions.GetPredefinedOptions(document, setupNames[0]);
ExportLayerTable layerTable = dwgOptions.GetExportLayerTable();
ExportLayerInfo targetInfo = layerTable[targetKey];
targetInfo.ColorName = "31";
targetInfo.CutColorNumber = 31;
Solved! Go to Solution.
Link copied