ads_name ssname;
Acad::ErrorStatus rt = acdbGetAdsName(ssname,ZZId);
struct resbuf * cmdlist;
cmdlist = acutBuildList(RTSTR,_T("draworder"),RTENAME,ssname,RTSTR,"",RTSTR,"B",0);
if (cmdlist == NULL)
{
acedSSFree(ssname);//释放选择集
return FALSE;
}
acedCmd(cmdlist);
acutRelRb(cmdlist);
ads_printf( _T("\nDRAWORDER test!" ));
Acad::ErrorStatus rt = acdbGetAdsName(ssname,ZZId);
struct resbuf * cmdlist;
cmdlist = acutBuildList(RTSTR,_T("draworder"),RTENAME,ssname,RTSTR,"",RTSTR,"B",0);
if (cmdlist == NULL)
{
acedSSFree(ssname);//释放选择集
return FALSE;
}
acedCmd(cmdlist);
acutRelRb(cmdlist);
ads_printf( _T("\nDRAWORDER test!" ));