Reading CADText from CADMText
Moderators: SDS, support, admin
Reading CADText from CADMText
I saw that in CADImportDemos.CADViewerDemo you guys managed to get each text belonged to a Multitext.
You used a specific static method called "LoadTreeNodes" from CADImportFace class. This method loads the entities of an autocad file into a TreeView Control, and when node is multiline, the sub-nodes are texts. So I figured out that it is possible to accomplish what I want.
Nevertheless, I find nothing about how to do it.
CADMText doesn't have Entities (or something like that) property that returns a collection containing CADText entities.
Ultimately, how do I get the CADTexts from a CADMText?
You used a specific static method called "LoadTreeNodes" from CADImportFace class. This method loads the entities of an autocad file into a TreeView Control, and when node is multiline, the sub-nodes are texts. So I figured out that it is possible to accomplish what I want.
Nevertheless, I find nothing about how to do it.
CADMText doesn't have Entities (or something like that) property that returns a collection containing CADText entities.
Ultimately, how do I get the CADTexts from a CADMText?
Re: Reading CADText from CADMText
Hello!
CADMText has Entities property (inherited from CADInsert). You can use CADMtext.Entities and also CADMText.Block.Entities to get CADText objects from MText.
Alexander
CADMText has Entities property (inherited from CADInsert). You can use CADMtext.Entities and also CADMText.Block.Entities to get CADText objects from MText.
Alexander
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support