Page 1 of 1

Highlight entity

Posted: 30 Jul 2012, 20:50
by dbianchi
I need find entity and then highlight it.
Could you help me?
Thanks in advance

Regards

DBianchi

Re: Highlight entity

Posted: 31 Jul 2012, 14:08
by support
Hello.
CAD Import .NET doesn't support highlighting in usual meaning (lightly colored area around element). Selected entities visualized with different line type. An entity can be found in a collection and selected. Please specify a criteria for the search. An entity can be also selected visually.

Alexander.

Re: Highlight entity

Posted: 31 Jul 2012, 15:19
by dbianchi
thanks for reply. user request is search a text and, if found, highlight it.
i have implemented method for search and work fine. There's a method for ensure visible an object?

Thanks

D.Bianchi

Re: Highlight entity

Posted: 31 Jul 2012, 17:45
by support
Hello.
CADText entity is visible on drawing if both CADText.Visible and CADText.Visibility have true value. You can also check text's presence on screen using CADText.Box and CADImage.GetPoint method.

Alexander.