Author Topic: How to find nested non-graphical data associated with blocks  (Read 11536 times)

0 Members and 1 Guest are viewing this topic.

T.Willey

  • Needs a day job
  • Posts: 5251
Re: How to find nested non-graphical data associated with blocks
« Reply #30 on: July 20, 2007, 02:53:49 PM »
Michael,

  I see what you are doing in your last code.  I guess there is no way with lisp (or C# that I found) to see what layers are associated with proxy objects.



Thanks all.  It was a good learning experience for me.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: How to find nested non-graphical data associated with blocks
« Reply #31 on: July 20, 2007, 03:09:09 PM »
ahhhh, we had a toilet block that someone had embedded wierd layers and, actually, attributes to, that  kept doing strange things...it took weeks to figure out..we call it the exploding toilet...
Couldn't you just flush the layers?  :-P
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

CottageCGirl

  • Guest
Re: How to find nested non-graphical data associated with blocks
« Reply #32 on: July 23, 2007, 08:55:55 AM »
ahhhh, we had a toilet block that someone had embedded wierd layers and, actually, attributes to, that  kept doing strange things...it took weeks to figure out..we call it the exploding toilet...
Couldn't you just flush the layers?  :-P

ha....
thats punny....

T.Willey

  • Needs a day job
  • Posts: 5251
Re: How to find nested non-graphical data associated with blocks
« Reply #33 on: July 23, 2007, 02:43:31 PM »
Michael,

  I ran the program you gave me, and it found one item, a dictionary.  I erased the dictionary (entdel), but I still couldn't purge the layer.  I ran the command a second time and it doesn't find anything.

If I erase all objects in model space, then it can be purged.

The question:
Why?  Is there an item referencing the dictionary within model space?  If so, how can I find that item?

Thanks in advance.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

deegeecees

  • Guest
Re: How to find nested non-graphical data associated with blocks
« Reply #34 on: July 23, 2007, 02:46:35 PM »
If all you want to do is get rid of the Layer, then Express Tools has a Layer Delete function that will do this.

T.Willey

  • Needs a day job
  • Posts: 5251
Re: How to find nested non-graphical data associated with blocks
« Reply #35 on: July 23, 2007, 02:57:19 PM »
If all you want to do is get rid of the Layer, then Express Tools has a Layer Delete function that will do this.
I like to know why/how things work, or not work, so I wouldn't want to use something that just deletes the layer without me understanding why I can't purge it regularly.

I will keep that in mind, as I don't use express that much, and forget what they have.  Thanks.  :-)
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

deegeecees

  • Guest
Re: How to find nested non-graphical data associated with blocks
« Reply #36 on: July 23, 2007, 03:06:36 PM »
I like to know why/how things work, or not work, so I wouldn't want to use something that just deletes the layer without me understanding why I can't purge it regularly.
... Thanks.  :-)

 I hear ya loud n clear on that!

artisteroi

  • Guest
Re: How to find nested non-graphical data associated with blocks
« Reply #37 on: August 31, 2007, 11:22:55 AM »
1. Blocks can only contain graphical objects.

true only graphics but the graphics have properties and one of those properties is the host layer. Which means that the layer is occupied and un-purge-able. :mrgreen:

KewlToyZ

  • Guest
Re: How to find nested non-graphical data associated with blocks
« Reply #38 on: August 31, 2007, 02:13:06 PM »
AEC has so many bugs.... They have gotten really bad in 2008.

1.7 Billion objects in MEP and each discipline library is structured differently from the other.
Even 2 of the exact same ADT based AEC object types on the same layer in an XREF have given me separate bug effects with normal 2D block inserts to my own base drawing template. The complexity has exceeded the grasp of the interface. I hope that Autodesk starts to refine things without so many vertical developments for a few years.

From what is happening, my only guess is there could be custom tag/label text based objects containing data on those layers that cannot be viewed without their corresponding libraries. 9 out of 10 times I find the non graphical garbage hanging around is custom data.
« Last Edit: August 31, 2007, 04:20:04 PM by KewlToyZ »