ObjectARX

ObjectARX

Reply
Member
tallano
Posts: 4
Registered: ‎12-12-2012
Message 1 of 4 (245 Views)
Accepted Solution

selecting block references from a single layer

245 Views, 3 Replies
12-12-2012 07:44 AM

Hi Everyone, I'm Tallano, new to the board. :smileyhappy:

Using acutBuildList and acedSSGet, I'm trying to make a selection of block references contained in one named layer:

 

struct resbuf* eb1 = acutBuildList(0, ACRX_T("INSERT"), 8, ACRX_T("MY_LAYER_NAME"), 0);

 

Obviouly, I'm doing something wrong, because my selection is not what I expect.

Someone can help?

You might need to match the entity type with RTDXF0, instead of 0, at the front of your list. I think putting 0 ends the list.

Distinguished Mentor
owenwengerd
Posts: 681
Registered: ‎08-06-2002
Message 2 of 4 (243 Views)

Re: selecting block references from a single layer

12-12-2012 07:49 AM in reply to: tallano

What did you get, and how was it different from what you expected?

--
Owen Wengerd
ManuSoft
Active Contributor
cadproman
Posts: 43
Registered: ‎03-20-2002
Message 3 of 4 (240 Views)

Re: selecting block references from a single layer

12-12-2012 07:52 AM in reply to: tallano

You might need to match the entity type with RTDXF0, instead of 0, at the front of your list. I think putting 0 ends the list.

Member
tallano
Posts: 4
Registered: ‎12-12-2012
Message 4 of 4 (225 Views)

Re: selecting block references from a single layer

12-12-2012 11:51 PM in reply to: cadproman

I got every entity selected with my first version of acutBuildList.

Using RTDXF0 instead of 0 got it working.

Thanks!

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!