Jump to content
envisionman

How do I grab items from one drawing but NOT all the styles?

Recommended Posts

envisionman

I want to copy/paste some items from one job into another job. I have reverted everything to layer 0 and there is no text at all in the items I am copying. When I bring it into the other drawing, all the text styles have come with it, which I do not want.

 

I have tried to run 'purge' to get rid of them, and it doesn't work. If I try to deleter any of the text styles, it says they are in use (which they are not, since the new drawing has no text in it yet.... I am creating a new template and it is 100% devoid of text so far).

 

What am I doing wrong?

Share this post


Link to post
Share on other sites
Dadgad

Welcome to CADTutor envisionman. :)

 

Despite the fact that there is no Text, nor Tables, nor entities, there are still designated settings in that DataBase, such as Current Text Style, Current DimStyle, current Table Style, etc. That is why those things (or rather styles) you don't want are coming along for the ride, because they are designated as being active/set current in the original drawing.

 

Those extra styles need to be purged out of the original drawing, if they are not in use.

Share this post


Link to post
Share on other sites
envisionman

The existing drawing has about 50 text styles (due to the fact that the previous design team imported tons of drawings and it absorbed every text style). No matter what I copy to the new drawing, all 50 styles go with it. How do I avoid this, so my new template is clean?

 

I tried purging the old drawing, but all styles are in use. It is a major mess.

Share this post


Link to post
Share on other sites
Dadgad

You might want to try the following lisp by Lee Mac.

 

http://www.lee-mac.com/steal.html

 

Thanks Lee! :beer:

 

It is one which I have never used, but as stellar as all of Lee's other lisps are, which I use religiously, it may help you deal with this issue.

Share this post


Link to post
Share on other sites
Dadgad

This is similar to DGN bloat, and I can sympathize, very annoying.

If you open the file in Autocad 2016 or 2017, and use the Purge command, there is a very high likelyhood that it may recognize all that as orphaned data, and delete it.

 

Oh wait a minute, Blackbox posted a lisp of his recently, which should be able to do this realtime.

I will look for a link, and add it to this post in a few minutes.

 

https://apps.autodesk.com/ACD/en/Det...en&os=Win32_64

 

Thanks Blackbox! :beer:

 

This is the previous thread, in which Blackbox posted that link http://www.cadtutor.net/forum/showthread.php?97622-2-identical-drawings-one-is-17-times-heavier-why&highlight=Blackbox , in post #13. You may find additional useful information by looking over the thread.

Share this post


Link to post
Share on other sites
Patrick Hughes

Open Design Center, navigate to the source drawing, drag and drop the content you need.

 

 

It's a little tedious if you've got a lot of content to copy.

Share this post


Link to post
Share on other sites
MillerMG
You might want to try the following lisp by Lee Mac.

 

http://www.lee-mac.com/steal.html

 

Thanks Lee! :beer:

 

It is one which I have never used, but as stellar as all of Lee's other lisps are, which I use religiously, it may help you deal with this issue.

 

I was going to reference the exact same LISP! Too funny

Share this post


Link to post
Share on other sites
RobDraw

How about this?

 

WBlock the necessary items and cleanup that file before inserting into template file.

Share this post


Link to post
Share on other sites
halam
You might want to try the following lisp by Lee Mac.

 

http://www.lee-mac.com/steal.html

 

Thanks Lee! :beer:

 

It is one which I have never used, but as stellar as all of Lee's other lisps are, which I use religiously, it may help you deal with this issue.

 

Basic daily use!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×