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

MIRROR Cmd return ...

1 REPLY 1
SOLVED
Reply
Message 1 of 2
leonimas
596 Views, 1 Reply

MIRROR Cmd return ...

Hi to all,

I need to execute the acad MIRROR cmd synchronously; the use of

acedCommand() function it's not sufficient because when it returns,

the _MIRROR functionality is not finished (it ask to the user some

points).

 

How return from MIRROR call  when the MIRROR cmd is finished ?

If this is not possible how can I simulate this command ?


Best Regards

Leonard

1 REPLY 1
Message 2 of 2
owenwengerd
in reply to: leonimas

In AutoCAD versions prior to AutoCAD 2015 you can use the PAUSE symbol argument to acedCommand to wait for user input. In AutoCAD 2015 you need to use acedCommandC.

 

int nResult = acedCommand( RTSTR, _ACRX_T("_MIRROR"), RTPICKS, sset, RTSTR, _ACRX_T(""), RTSTR, PAUSE, RTSTR, PAUSE, RTSTR, _ACRX_T("_N"), 0);

 

--
Owen Wengerd
ManuSoft

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost