News:

Please note new Forum URL: forum.designcad.com

Main Menu

Read the Value of a Text Entity

Started by randfb, October 14, 2011, 08:39:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

randfb

Is there a way to read the text value of a text entity thru COM ?
I have the EntityID.

dcadRob

Yes.
Once you have the Entity object you either use the EntityDataObject method (3D or 2D text or text arc) or MultilineText method.

If 2D or 3D text or arc then you look at the Text property:

Set DcEText = DcEntity.EntityDataObject
DcEText.Text is the text value