Jump to content

LISP Routine to Copy all Entities


Recommended Posts

Posted

So, given that, the OP should have everything he needs to know to get the result he is looking for. Yes?

  • Replies 40
  • Created
  • Last Reply

Top Posters In This Topic

  • Filribeiro

    15

  • ReMark

    9

  • nestly

    8

  • RobDraw

    7

Top Posters In This Topic

Posted

Could it have anything to do with 1) the scale the block was created at or 2) the scale of the drawing it has been inserted in?

Posted

I don't know.

 

I just want a drawing just like the original one. Not like the exploded one.

 

The final result should be a perfect copy of the original drawing but without the dynamic block part, i.e., a group of lines/circles/polylines :)

Posted

I don't believe that's a dynamic block. I have serious doubts that it's possible to crop a block to an xclip boundary automatically.

Posted

But there is any way to reproduce the "thing" that i have sent here with simple entities?

Posted

Why do you need to have a perfect copy of the drawing (WBlock is the best/easiest way) without the dynamic block part? What difference does it make? What are you going to do with this perfect copy after you have created it? Are you sending it to someone but you do not want to include the dynamic blocks because you don't want this person/company to have access to them?

Posted

Because i need to clean very heavy drawings with tons of blocks and dynamic blocks and i want a final result without them.

Posted

I think the blocks using XCLIP are the major issue. I cannot think of a way to explode them and automatically erase/trim entities beyond the XCLIP.

Posted

Purge and Audit doesn't solve anything. It doesn't change the blocks...

Posted

Do a large number of your blocks have XCLIPS, as the block you posted?

 

If not, you could export the majority of your drawing and explode all the non-xclipped blocks in one operation, then manually trim all blocks that are xclipped as a separate operation.

 

If you have a lot of blocks that have customized xclip boundaries..... I'm not sure you're going to find a solution that doesn't involve a lot of manual editing.

Posted

:(

 

There must be a solution to "paint" all the drawing (Lisp routine) and forget the original one. RESULT: a clean drawing with just 1 layer!............ahhh so gooooooood :D

Posted

Your goal is a clean drawing with everything exploded and all on one layer. Sounds like you need a custom lisp routine that can be called via a script so you can batch process a folder full of drawings.

Posted

YES! ..... 25$ :S

 

But seems to be the solution :D

Posted

Have you tried plotting to a DXB file? Then you can use DXBIN to import just lines into one single layer.

 

You may need to setup a plotter in ACad using the DXB driver.

Posted

Hello!

 

Very very close to the final solution :D

 

Just one detail: When i do the dxbin, the input is totally out of scale comparing with the original drawing.

 

How can i import it with same size of the original one?

 

Cheers and THANK YOU!!!

Posted

Once it is in why not just rescale it? You must have already calculated the scale factor right?

Posted

WMFOUT and WMFIN will get rid of the XCLIP also, might still need rescaled, though.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...