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
Solved! Go to Solution.
Solved by owenwengerd. Go to Solution.
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);