Jump to content

Steal from Drawing


Lee Mac

Recommended Posts

Generalising on an idea I've had for a while, I offer this program to allow you to import (humourously: 'steal') items from another drawing into the current drawing.

 

Steal

 

Upon running the program the user is prompted for a selection of a drawing to steal from, and, upon selection, a dialog appears detailing items available for import. The user may choose multiple items from a list of...

 

  • Blocks
  • Layers
  • Linetypes
  • Dimension Styles
  • Text Styles
  • Table Styles
  • MLeader Styles
  • MLine Styles
  • Layouts
  • Page Setups
  • User Coordinate Systems
  • Views
  • Groups
  • Layer States
  • Scales
  • Materials
  • Viewports
  • Drawing Properties
  • Custom Properties

...should these collections contain any items which aren't already present in the current drawing.

 

Dialog Preview

 

StealV1-7.png

 

A full description of the program and the latest version can be found here.

 

Enjoy!

 

Lee

StealV1-8.lsp

Edited by Lee Mac
Link to comment
Share on other sites

  • Replies 46
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    25

  • Jack_O'neill

    3

  • Tharwat

    3

  • Lee Roy

    3

Thanks Lee, especially useful for Mleaders and Mlines since they aren't available through Design Center.

How about Civil 3D styles next?

Link to comment
Share on other sites

Thanks Lee, especially useful for Mleaders and Mlines since they aren't available through Design Center.

 

Thanks Larry - glad you could find it useful :thumbsup:

 

How about Civil 3D styles next?

 

Ah.... Haven't had any experience with those... I'm a Vanilla guy :)

Link to comment
Share on other sites

How about layouts and page setups' date=' pen widths and colors and all that?[/quote']

 

Easy on there Jack... I thought I might get a working program first :)

Edited by Lee Mac
Link to comment
Share on other sites

Should these collections contain any items which aren't already present in the current drawing

 

Easy on there Jack... I thought I might get a working program first :)

 

Ask and ye shall recieve...:D

Link to comment
Share on other sites

I have updated the first post to Version 1.1 - this changes the behaviour of the dialog, so that far more can be imported in a single run of the program. I've also added a couple of new collections to the list.

 

Enjoy!

 

Lee

Link to comment
Share on other sites

Ask and ye shall recieve...:D

 

I think you misunderstood my post -

 

Should these collections contain any items which aren't already present in the current drawing.

 

By this I mean that the collections listed in the first post (blocks/layers/linetypes etc) will only be displayed in the dialog if they contain items which aren't already present in the current drawing.

 

But yes, I do welcome ideas :)

Link to comment
Share on other sites

Where'd you come up with these ideas Lee Mac. :)

 

The routine is very useful.

Can you include a list of XREF as well. but generate a filter to exclude XREF style/layers/textstyle/blocks and the like.

 

Thanks Lee :)

Link to comment
Share on other sites

Actually I very often need to update some of these "settings" from a template file. Importing them is quite easy with a simple copy-n-paste / drag-n-drop from Design Centre. What I've always had difficulty with is "redefining" something like a dimstyle to match that inside another DWG. In that particular case I "love" BricsCAD's Drawing Explorer.

Link to comment
Share on other sites

Lee ,

 

The program is really great .

 

I started to get used to it almost daily , I do like it. :)

 

Is it possible to have a preview as well as the one which is included with the Block Insertion Message Box ?

 

Thank you.

 

Tharwat

Link to comment
Share on other sites

Where'd you come up with these ideas Lee Mac. :)

 

:)

 

The routine is very useful.

Can you include a list of XREF as well. but generate a filter to exclude XREF style/layers/textstyle/blocks and the like.

 

To be honest, I wanted to steer clear of XRefs at present as I believe they would require a different method to 'import' them else they would arrive in the drawing unreferenced. But your point has reminded me that I currently need to filter out any XRef items from the other collections.

 

I started to get used to it almost daily , I do like it. :)

 

Excellent to hear! :)

 

Is it possible to have a preview as well as the one which is included with the Block Insertion Message Box ?

 

Not impossible with LISP, but certainly very, very difficult. I have seen it done here, but its a pretty convoluted method.

 

Lee

Link to comment
Share on other sites

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...