Message 1 of 10
How to determine that the selected CAD entity is text? How to get the content?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to pick up text and get the content in the linked CAD.
var reference = sel.PickObject(ObjectType.PointOnElement, "sel obj");
Element element = activeDoc.GetElement(reference);
if (element is ImportInstance)
{
/// Can I use the reference to determine this entity is the text?
/// How to determine that the selected CAD entity is text?
/// How to get the text content?
var geoObj = element.GetGeometryObjectFromReference(reference);
}