Message 1 of 2
Get all entities inside a blockreference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I've had some problems trying to get all entities inside a blockreference.
As the following pic, there are 4 lines and another blockreference inside a blockreference.
var entities = new List<Entity>();
var objects = new DBObjectCollection();
block.Explode(objects);
the objects returns me only 4 lines but no blockreference.
What is amazing is that when I mirror the whole blockreference and execute the code again, I can get 4 lines and a blockreference from the mirrored blockreference.
Is there sth wrong with my code, or is there a better way to get all entities inside a blockreference, or does anyone can help me dealing with this problem.
Thanks.