Few days back Fenton Webb showed me the below ObjectARX way of zooming the selected entities.
void zoomTest()
{
ads_name ss;
int err = acedSSGet(NULL, NULL, NULL, NULL, ss);
if (err != RTNORM)
{
return;
}
acedCommand(RTSTR, _T("_.zoom"), RTSTR, _T("_Object"),
RTPICKS, ss, RTSTR, _T(""), RTNONE);
acedSSFree( ss );
}

Leave a Reply to petconCancel reply