.NET

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

Create a Selection set based on a specfic Multileader style

152 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 (141 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 (123 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community