News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Read the Value of a Text Entity

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

Previous topic - Next topic

0 Members and 0 Guests 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