TsgCADtoDXF

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

Moderators: admin, support, SDS

Post Reply
Jourde
Posts: 33
Joined: 10 Sep 2004, 10:33
Location: France
Contact:

TsgCADtoDXF

Post by Jourde » 14 Feb 2007, 10:49

I try to export DXF file in 2000,2004 or 2007 format. But my drawing have some DASHDOT lines in it.

Then All dxf files don't works under AutoCAD, it seems that the definition of DASHDOT is missing.

Have you see that ?

Thanks

Best Regards

support
Posts: 2932
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 14 Feb 2007, 13:57

Hello!

How do you define DashDot type?
The following package contains CADtoDXF demo:
http://www.cadsofttools.com/download/CADtoDXF.zip
It contains the following lines (take it as example):

Code: Select all

<b>const</b>
...
  cnstLTypeName: <b>string</b> = <font color="blue">'new_LType'</font id="blue">;
...
<b>begin</b>
...
    vLType := TsgDXFLineType.Create;
    vLType.Name := cnstLTypeName;
    vLType.Lines.AddTick(<font color="blue">25</font id="blue">);       <font color="blue"><i>// length of the "solid" part of a line</i></font id="blue">
    vLType.Lines.AddTick(<font color="blue">-12.5</font id="blue">);    <font color="blue"><i>// length of the "empty" part of a line</i></font id="blue">

It this info can't help you, please give us your code (when creating DXF file) or send us exported file to support@cadsofttools.com with a reference to this topic.

Sergey.

Please post questions to the forum or write to support@cadsofttools.com

Post Reply