BlackBox 发表于 2012-6-22 14:50:26

Purge vs Wblock

To clean up a drawing Wblocking the entire drawing seems to clean it up better than all the purging I can do to it.
Things I find with using a database explorer that purge misses seem to usullay be taken care with wblock.

Has anyone had problems or 'gotchas' with Wblocking a entire drawing for cleaning it up?

dgorsman 发表于 2012-6-22 14:52:06

No issues at all; WBLOCK has greatly helped us simplify cleaning up problem drawings for the reasons you state (i.e., cleaning up better than purge, etc.).

Crank 发表于 2012-6-22 15:23:34

If thats WBLOCK with a manual selection of on-screen elements, no problems.WBLOCK -> ALL grabs things like blocks with only invisible attributes, attributes with no contents, isolated objects.
They don't get used a lot, but might want to check to see if GROUP'd objects stay grouped.

Cathy 发表于 2012-6-22 15:57:33

Would need to check if any layers are locked if you wanted entites on locked layers to be included.

dgorsman 发表于 2012-6-27 14:18:18

I'm using xdata that contain handles. The WBLOCK command would assign new handles to the objects, so my xdata would become useless.

Crank 发表于 2012-6-27 14:51:43

Crank, I'm pretty sure that if you have the XData labeled as a Handle that it will get updated automatically.That is, that the Xdata would be changed to contain the new handle.

M-dub 发表于 2012-6-27 15:11:31

But if you have a handle say '61D' stored in a database or wherever and now it gets changed to '683' that most definitely would cause some problems, but if Crank were ever to send me or someone drawings he would not have 3MB+ of useless crap that is copied and pasted from all over and never used, so would not be a problem.

Not familiar with Lisp but would store ObjectID's as hard pointers for objects in same drawing to reference each other so they would update to point to each other after clone operations.

Crank 发表于 2012-6-27 15:15:52


I think 1005-coded references get translated automatically, whereas other types such as a plain text would not be.Thats assuming the object references are referring to what got WBLOCK'd out.If the referenced objects were not in the WBLOCK selection I'm not sure what would happen to the references.

dgorsman 发表于 2012-6-27 15:50:01

Thanks Cathy,
After a small test I think you could be right about this.

Crank 发表于 2012-6-28 08:15:46

One other thing you might want to remember would be any variables set (and saved) in the original drawing.
I was trying to find a list of the variables which are saved in the drawing vs the variables saved in the registry.Didn't really find "IT" but this should be close, I think.
Unit format and precision
Title blocks and borders
Layer names
Snap and Grid spacing
Text styles
Dimension styles
Multileader styles
Table styles
Linetypes
Lineweights
Layouts
Page setups
页: [1]
查看完整版本: Purge vs Wblock