.NET

Reply
Member
wbielski
Posts: 3
Registered: ‎10-21-2008
Message 1 of 3 (165 Views)

Create a Selection set based on a specfic Multileader style

165 Views, 2 Replies
01-17-2012 11:22 AM

Does anybody know how to create a selection set based on a specific Multileader style? I can currently creating a typedvalue array to define the filter criteria, but cannot find the DXFCODE for the Multileader style.

 

Ex.

     TypedValue[] acTypeValAr = new TypedValue[1];

      acTypeValAr.setvalue(new TypedValue(DXFCODE, "Multileader Style"),0);

 

Thanks

Wayne

Valued Contributor
FFlix
Posts: 95
Registered: ‎11-15-2011
Message 2 of 3 (154 Views)

Re: Create a Selection set based on a specfic Multileader style

01-17-2012 01:54 PM in reply to: wbielski

hi wayne

 

new territory, but see what you think:

 

a multileader style is an object with an objectid, so i reckon you could base the selection filter on multileaders, open them as such to access the objectid and, well, filter accordingly.

 

(regarding dxf code, a multileader style also has dxfin and dxfout filer methods if that means anything to you, but that's too far off the track for me.)

 

felix

Valued Contributor
FFlix
Posts: 95
Registered: ‎11-15-2011
Message 3 of 3 (136 Views)

Re: Create a Selection set based on a specfic Multileader style

01-18-2012 10:30 AM in reply to: wbielski

hi wayne

 

another idea, specifically to dxf code: autodesk services & support publish dxf referrences by autocad version here:

http://usa.autodesk.com/adsk/servlet/item?linkID=10809853&id=12272454&siteID=123112

the section for mleaderstyle entities starts on page 107 and on page 108 you should find a dxf group code of '3' relating to 'mleader style description' (dxf ref acad 2011). then there follows more for mleaders in general.

 

quality bed-time reading that, enjoy

 

felix

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.