iLogic (and C#) color setting when exporting flatpattern to dxf

iLogic (and C#) color setting when exporting flatpattern to dxf

b.graaf
Advocate Advocate
397 Views
0 Replies
Message 1 of 1

iLogic (and C#) color setting when exporting flatpattern to dxf

b.graaf
Advocate
Advocate

Hello,

 

I have used an iLogic code to export the flat pattern of a part to dxf.

 

I have used this piece of code:

 

Dim SaveLocatie As String
SaveLocatie = ("C:\VaultWerkmap\ICN\Klanten\)
System.IO.Directory.CreateDirectory(SaveLocatie)
		
Dim sOut As String
sOut = "FLAT PATTERN DXF?AcadVersion=R12&OuterProfileLayer=Contourlijnen"

oDataIO.WriteDataToFile(sOut, SaveLocatie & OrderNo & ".dxf")

 

I found out, that I can set the AutoCAD version and the klayer names.

 

 

My question: is it also possible, to set the layer color in the dxf file for specific layers?

 

 

The same question, if I make code in C#.

Is it in C# possible to set the layer colors when exporting a flat pattern to dxf?

0 Likes
398 Views
0 Replies
Replies (0)