Message 1 of 4
Nested block problems

Not applicable
05-18-2005
09:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I've created a routine that will change the color and linetype of a selected layer. For example, I select an object on an xref and that layer gets changed to color 85 and hidden. Well it works perfect except when it comes to blocks that are in the xref. When i select those blocks GetSubEntity goes too "far" and returns layer 0 instead of the layer the block is inserted on. I guess my question is, can you specify how far GetSubEntity digs into nested objects?
I've created a routine that will change the color and linetype of a selected layer. For example, I select an object on an xref and that layer gets changed to color 85 and hidden. Well it works perfect except when it comes to blocks that are in the xref. When i select those blocks GetSubEntity goes too "far" and returns layer 0 instead of the layer the block is inserted on. I guess my question is, can you specify how far GetSubEntity digs into nested objects?