Hi everyone! I have a custom entity. I have created a command "DRAW" to draw the custom entity but now i want to create a toolbar on Autocad. When botton of the toolbar is clicked, the command is excuted. I search to learn on google but don't understand. Please help me, thanks!
There are few method of creating toolbar. It is a method of creating toolbar with ActiveX-model of AutoCAD: http://forums.autodesk.com/t5/Autodesk-ObjectARX/New-ToolBar-sample/m-p/1667385#M20461
Also you can look function CreateToolbars (file samples\entity\polysamp\polymnu.cpp within ObjectARX SDK).
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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
Or you can create a partial CUI to define your toolbars/ribbon elements.
Cheers,
Stephen Preston
Autodesk Developer Network