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

Want to change the thickness of the selected entity in ObjectArx dll

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Anonymous
434 Views, 3 Replies

Want to change the thickness of the selected entity in ObjectArx dll

I want to change the thickness of the selected object

currently i am able to use AcdbEntity class for changing the properties like lineweight, linetype, color, later etc. But the class AcDBEntity does not have the method setThickness() as it has setLayer(), setColor(), setLineWeight(), setLineType(). Any inputs? Please help.

 

Thanks,

 

Harshad

3 REPLIES 3
Message 2 of 4
Alexander.Rivilis
in reply to: Anonymous

Only some entity classes has Thickness property:

 

2017-03-09_16-58-32.png

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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

Message 3 of 4
Anonymous
in reply to: Alexander.Rivilis

Thanks for replying back, earlier it was being done using CHPROP command also, calling CHPROP through acedCommand, is there any way to do in ARX 2017?

Message 4 of 4
Alexander.Rivilis
in reply to: Anonymous

You have to check entity class. if entity class it one of above picture you can call it setThickness method. In other case you can skip this entity.

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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 Design & Make Report

”Boost