Batch edit visibility state of dynamic block

Batch edit visibility state of dynamic block

swankster
Enthusiast Enthusiast
847 Views
3 Replies
Message 1 of 4

Batch edit visibility state of dynamic block

swankster
Enthusiast
Enthusiast

Looking for an existing lisp or a way to batch edit a dynamic block in a set of drawings to different visibility states without opening them up manually.

 

Example: I have a dynamic block that has different visibilty states for "ISSUED FOR REVIEW", "ISSUED FOR FABRICATION" and "ISSUED FOR CONSTRUCTION". If I could open the first drawing and select the block then select the new visibilty state, then select the list of dwg files and push run and it would go through and change that blocks visibilty state in the selected drawings.

 

Anyone seen anything like this?

 

Thanks

848 Views
3 Replies
Replies (3)
Message 2 of 4

dbroad
Mentor
Mentor

I haven't seen one.  It sounds doable but is it advisable? The inherent check of opening, checking, and certifying are being eliminated unless they are being done by pdf checking. 

 

If the intent is to have a single check switch for the set rather than for each sheet, a dynamic block in an xattached titleblock common to the set would seem to fit your workflow better than custom programs.

 

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 3 of 4

swankster
Enthusiast
Enthusiast

DBroad,

 

That blocks position in our drawings varies so there is no way to do it through the xref border/titleblock.

 

As far as checking, it would leave more time for checking and less time going through each drawing changing a dynamic block.

 

There is a simular lisp out there that will do the same thing with attributed blocks called Batte.lsp, so there was that chance the lisp I am looking for has been made and is out there somewhere.

 

Thanks

0 Likes
Message 4 of 4

dbroad
Mentor
Mentor

Since lisp is a single document application, using it to batch process multiple drawings requires some awkward choices.  A program could use, for instance, dos_getfilem (from doslib by McNeel Assoc), to return multiple filespecs to process.  Then it could either: 1) Write and run a script to do what you want for each file.  This would preserve the thumbnails but works best in single document mode..; 2) open each file in objectDBX. It should be possible to access and change the dynamic block properties  either way.  ObjectDBX does not preserve the thumbnails. or 3)Use the AcCoreConsole via some batch process call.

 

I mention this in case the app doesn't already exist to inspire an enthusiast to program it.  

Architect, Registered NC, VA, SC, & GA.
0 Likes