How to select multiple regions / filter in BricSYS ObjectARX ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have multiple regions to select, with region command i can select the entities, But its very annoying to select each entinties one by one.
I want select whole drawing with window drag option but internally i want to filter the regions by groups so that i can read the region by region and entity by entity.
Is there any API's to read the entities to read region selected by "BOUNDARY" command.
ads_point pt;
ads_name ss;
Acad::ErrorStatus es;
if( acedGetPoint(NULL, _T("Pick a point inside a closed area:"), pt) != RTNORM ) return;
acedCommand(RTSTR, _T("-BOUNDARY"), RTSTR, _T("AD"), RTSTR,_T("IS"), RTSTR,_T("Y"),RTSTR,_T("OB"),RTSTR,_T("PO"),RTSTR,_T(""), RTPOINT, pt, RTSTR, _T(""), RTNONE);
acdbEntLast(ss); // here is your boundary.
I tried the above code but it gives one region as one AcDbPloyLine object. i m unable to read the entites.
So is there any solution
Thanks
Anithraj T
email id : anith.raj@thedesignsense.com