Cancelling the existing command

Cancelling the existing command

Anonymous
Not applicable
338 Views
1 Reply
Message 1 of 2

Cancelling the existing command

Anonymous
Not applicable

Hello,

 

I call line command in ObjectArx dll as below

 

acedCommandS(RTSTR, _T("_.LINE"), RTPOINT, pt1, RTPOINT, pt2, RTSTR, RTNONE);

 

That executes the line command again and again after creating segment one after one, what if I have to execute it for creating only 1 segment? any thoughts?

 

Thanks in advance.

0 Likes
339 Views
1 Reply
Reply (1)
Message 2 of 2

Alexander.Rivilis
Mentor
Mentor

Maybe:

 

acedCommandS(RTSTR, _T("_.LINE"), RTPOINT, pt1, RTPOINT, pt2, RTSTR, _T(""), RTNONE);

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