Page 1 of 1
DXF Import .NET - extract every element
Posted: 23 Sep 2005, 08:40
by Evgeny
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Replaced from
http://www.cadsofttools.com/forum/topic ... hpage=2</i>
[/quote]
I'm evaluating "DXF Import .NET" and I'd like to know if it's posible to import an autocad drawing but not as a complete Graphic, i need to extract every element of the cad drawing so that i can traduct it to my drawing application and edit the drawing in it.
Can you guys show me some example of how can i do to import entity by entity?
THX
Pablo
Posted: 23 Sep 2005, 09:11
by support
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by pablomac</i>
I'm evaluating "DXF Import .NET" and I'd like to know if it's posible to import an autocad drawing but not as a complete Graphic, i need to extract every element of the cad drawing so that i can traduct it to my drawing application and edit the drawing in it.
Can you guys show me some example of how can i do to import entity by entity?
THX
Pablo
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Hi,
Folder DXFImportNET\C#\SimpleImport includes a demo with example how to import entities data.
This package is available on:
http://www.cadsofttools.com/download/DXFImportNET.zip
The same demo in VB will be available soon.
Sergey.
please post questions to the forum or write to
support@cadsofttools.com
Posted: 27 Sep 2005, 11:47
by support
Hi,
Package DXFImportNET.zip includes now SimpleImport demo in VB (DXFImportNET\VB.Net\SimpleImport folder).
Sergey.
please post questions to the forum or write to
support@cadsofttools.com
Posted: 27 Sep 2005, 16:19
by pablomac
How can I do to draw an equivalent Arc in GDI+ respect the original from CAD? because the angles in both systems have different coordinates origin? Did anyone find some kind of equivalence?!
THX
Pablo[:p]
Posted: 27 Sep 2005, 16:22
by pablomac
Am i wrong or it's seems to be some kind of problem with the starts and end angles in the DXFEllipse entity!?. I'm saying this because in CAD i have an Ellipse with a startangle of 45Ñ” and when i traslate it with de DXFImport .NET that angles apears as an angle of 71,36452Ñ”!!
THX
Pablo [:p]
Posted: 28 Sep 2005, 16:14
by support
Hi,
Could you please send to us on
support@cadsofttolls.com part of your problematic code and file with which this thing occures.
Sergey.
please post questions to the forum or write to
support@cadsofttools.com
Posted: 29 Sep 2005, 16:15
by pablomac
In a poliline entity, how can i do to know the start and end with of the line?
THX
Pablo
Posted: 29 Sep 2005, 16:16
by pablomac
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by pablomac</i>
<br />In a poliline entity, how can i do to know the start and end with of the line?
THX
Pablo
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
I mean "width" no with. jajaja , sorry [:p]
Posted: 03 Oct 2005, 11:54
by support
Hi,
DXFPolyline in Autocad(TM) DXF consists of Vertexes. Every Vertex (i.e. DXFVertex in DXFPolyline.Entities
) can include startWidth and endWidth (see DXFImport.NET Help).
Sergey.
please post questions to the forum or write to support@cadsofttools.com
Posted: 03 Oct 2005, 12:13
by support
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by pablomac</i>
<br />Am i wrong or it's seems to be some kind of problem with the starts and end angles in the DXFEllipse entity!?. I'm saying this because in CAD i have an Ellipse with a startangle of 45Ñ” and when i traslate it with de DXFImport .NET that angles apears as an angle of 71,36452Ñ”!!
THX
Pablo [:p]
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Hi,
About Ellipses:
Corners in Ellipse are being set concerning to big half-axle. Besides of this DXF may include Extrusion (direction of Z axis in Object Coordinate System) that cause distortion of initial view of ellipse.
If you could send to us the problem file it should help us to give you more exact and full explanations.
Sergey.
please post questions to the forum or write to
support@cadsofttools.com