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

Displaying AutoCAD 'Materials' dialog box

1 REPLY 1
Reply
Message 1 of 2
laurie.comerford
370 Views, 1 Reply

Displaying AutoCAD 'Materials' dialog box

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.

 

 

 

 

Regards

Laurie Comerford
1 REPLY 1
Message 2 of 2

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
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