Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

0 REPLIES 0
Reply
Message 1 of 1
b.graaf
319 Views, 0 Replies

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

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 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report