selecting block references from a single layer

selecting block references from a single layer

Anonymous
Not applicable
1,140 Views
3 Replies
Message 1 of 4

selecting block references from a single layer

Anonymous
Not applicable

Hi Everyone, I'm Tallano, new to the board. Smiley Happy

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?

0 Likes
Accepted solutions (1)
1,141 Views
3 Replies
Replies (3)
Message 2 of 4

owenwengerd
Advisor
Advisor

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

--
Owen Wengerd
ManuSoft
0 Likes
Message 3 of 4

Anonymous
Not applicable
Accepted solution

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.

Message 4 of 4

Anonymous
Not applicable

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

Using RTDXF0 instead of 0 got it working.

Thanks!

0 Likes