.NET

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

Create a Selection set based on a specfic Multileader style

173 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 (162 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 (144 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!