find block in which object is present

find block in which object is present

Anonymous
Not applicable
252 Views
3 Replies
Message 1 of 4

find block in which object is present

Anonymous
Not applicable
Hi All,

I have a function which takes an acadObject as argument.

That acadObject is present in one of the blocks. I want to find out the name of the block in which the acadObject is present, and then draw more things in the block.

Can someone help me?

Thanks in advance,
Pretty
0 Likes
253 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
ThisDrawing.ObjectIdToObject(ent.OwnerID).Name


wrote in message news:5420288@discussion.autodesk.com...
Hi All,

I have a function which takes an acadObject as argument.

That acadObject is present in one of the blocks. I want to find out the name
of the block in which the acadObject is present, and then draw more things
in the block.

Can someone help me?

Thanks in advance,
Pretty
0 Likes
Message 3 of 4

Anonymous
Not applicable
Thanks a lot Paul.

Pretty
0 Likes
Message 4 of 4

Anonymous
Not applicable
You're welcome a lot...:)
wrote in message news:5420309@discussion.autodesk.com...
Thanks a lot Paul.

Pretty
0 Likes