Java - DXF Export - How to create layer

This forum is for general questions, comments and discussions on the CADSoftTools products.

Moderators: support, SDS, admin

Post Reply
Posts: 1
Joined: 19 May 2007, 00:25
Location: Brazil

Java - DXF Export - How to create layer

Post by cmargulhano » 19 May 2007, 00:32

How to create layers and associate it with components like lines, polylines, text etc? I'm trying this code:

DXFLayer dxfLayerArea = new DXFLayer("polyline");
DXFData dxfDataArea = new DXFData();
dxfDataArea.Points.add(new DXFPoint(x1, y1, 0.0F));
dxfDataArea.Points.add(new DXFPoint(x2, y2, 0.0F));


I want to create others layers and separate the components, for example, line, polyline and texts in diferent layers.
Is it possible? Thank a lot.


Posts: 2930
Joined: 30 Mar 2005, 11:36

Post by support » 29 May 2007, 18:17

Dear Claudio,

We have sent you an e-mail on March, 22th. But there is no answer till now.

Can you please answer the following questions:
<ul><li>How do you use our library?</li>
<li>How old is DXF Export Java that you use (date of ZIP file)?</li>
<li>How do you use *.class files in your project? Can you give us an example?</li>
<li>Can you please send us your ready to compile project with our library for we could examine it?</li></ul>
Thank you,

Please post questions to the forum or write to

Post Reply