.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unselectable AutoCad Entity

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
soumen.r
1015 Views, 2 Replies

Unselectable AutoCad Entity

I want to make some AutoCad entities unselectable. Is it possible, by any command or programming?

 

Regards,

Soumen

SRoy
2 REPLIES 2
Message 2 of 3
Alfred.NESWADBA
in reply to: soumen.r

Hi,

 

you can create an eventhandler that reacts for selection-changes (and if your specific object is selected your code cancels the selection). But in this case your app has to be loaded and running.

I would not know a solution to make an entity not selectable without having your app loaded (for dotNET based apps). Sorry.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 3

Preventing AutoCAD objects from being selected using .NET

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost