About coordinate of Text

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
Kevin
Posts: 2
Joined: 23 Jan 2007, 05:20

About coordinate of Text

Post by Kevin » 23 Jan 2007, 05:32

Hi..

I have a question regarding a Demo version of CAD Import VCL.

Looking at x, y coordinates of TEXT from a DWG file worked in CAD, I find them different from x, y coordinates that are worked in Demo application in the SimpleImport folder.

How does this program work to get the coordinates of Text?

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

Post by support » 23 Jan 2007, 10:21

Hello Kevin,

This depends on what you mean under "TEXT" term. If this is exactly TEXT entity then this state is impossible. But if this is MTEXT entity or this TEXT it is a part if INSERT, you definitely get different coordinates.

For more detailed information we need to examine your file. Please send it us to support@cadsofttools.com with a reference to this topic.

Sergey.

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

Kevin
Posts: 2
Joined: 23 Jan 2007, 05:20

Post by Kevin » 23 Jan 2007, 11:41

I just sent e-mail to 'support@cadsofttools.com' with one dwg file..
Thank you.. :)


<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by support</i>
<br />Hello Kevin,

This depends on what you mean under "TEXT" term. If this is exactly TEXT entity then this state is impossible. But if this is MTEXT entity or this TEXT it is a part if INSERT, you definitely get different coordinates.

For more detailed information we need to examine your file. Please send it us to support@cadsofttools.com with a reference to this topic.

Sergey.

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

<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

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

Post by support » 23 Jan 2007, 13:36

Hello!

We have received your file. It includes MTEXT. <b>CAD Import VCL</b> represents MTEXT as TsgDXFMText class objects.

TsgDXFMText is complicated entity. It can contains text lines (TsgDXFText entities) with different font, color, height and other parameters. AutoCAD views insert point for MText. You can get it in the TsgDXFMText.Point property. Thus every TsgDXFText entity within TsgDXFMText has it's own start point and it differs from the TsgDXFMText.Point.

Sergey.

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

Post Reply