Bind XREFS and extrim xclip boundaries
Hi!
I am working a lot of clipped xrefs and now want to send a binded version to other planners.
When i bind the xref the xclip is gone, which is normal like in autocad.
Now in Autocad there exists this little neat thing called explodeall: https://sites.google.com/site/cadkits/home/explodeall
It basically binds all the xrefs and deletes everything outside the xclip-boundaries. But since its a .vlx i cant use it in bricscad.
Is there something similiar in existence for bricscad?
cheers
I am working a lot of clipped xrefs and now want to send a binded version to other planners.
When i bind the xref the xclip is gone, which is normal like in autocad.
Now in Autocad there exists this little neat thing called explodeall: https://sites.google.com/site/cadkits/home/explodeall
It basically binds all the xrefs and deletes everything outside the xclip-boundaries. But since its a .vlx i cant use it in bricscad.
Is there something similiar in existence for bricscad?
cheers
0
Comments
-
Ok, i answered the first part myself. when i bind an xref it retains the clipped areas.
But i would like to still clean out all the unnecessary stuff that is clipped.
I could do it manually with drawing a rectangle, explode the block and all nested blocks and then extrim around the rectangle.
BUT i want to maintain my nested blocks!
There should be some lisps around somewhere or a solution, i just cant find it.
Any ideas?0 -
Hello.
If it is only about sending the drawing to a third party without loosing the clips you could use e-transmit-command.
Greetings,
Sascha0 -
Yes, thank you.
But no, its not about that. Its especially to reduce file sizes and not just hide the unused stuff behind a clip.0 -
if you like, you can try the attached lisp. Maybee it helps
Martin0 -
Thanks.
Not pretty sure what it should do since no documentation, but anyways it throughs me an error:
(SSLENGTH ABZLI)
;
"bad argument type ; expected SELECTIONSET at [sslength]"
cheers0 -
this tool is deleting objects in or arround the Rectangle, you create at start of the tool. Objects, exepted Blocks will be cutted or deleted.
I correct the error message- maybe its working now at your file?0 -
Yes, now its working. Thanks.
Unfortunately i need this tool to also go automatically into the nested blocks and do the trimming without exploding anything. Is there a way to do this?
Cheers0 -
Trimming a block reference without exploding would mean creating a new separate block definition. This process may lead to an increased file size.0
-
Isnt there a LISP Possibility to _refedit the block (foreaching down to the bottom), and in each block paste rectangle, extrim, delete rectangle, open next block ?
0 -
@Benjamin:
Using the _Refedit command in the context of a Lisp program is problematic. But maybe an alternative solution is possible (explode > extrim > recreate block?). However you do it, it will be quite a challenge. But don't let that stop you from trying to create code for this.0
This discussion has been closed.