Hi,
To save writing my own "Create Material" form I though I would try the line below.
acDoc.SendStringToExecute("Materials ", True, False, True)
However, when called from my form, the command does not execute till I end my command (I'm inside a form called from another form and the command doesn't execute till both forms are closed)
There has to be a better way of doing this, so I can leave my forms running.
P/Invoke acedCmd() function from ObjectARX: http://forums.autodesk.com/t5/NET/acedcommand-function-in-Net-managed-classes/m-p/1332895#M107
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | 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