Jump to content
Lee Mac

Steal from Drawing

Recommended Posts

Lee Mac

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

Share this post


Link to post
Share on other sites
lpseifert

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

How about Civil 3D styles next?

Share this post


Link to post
Share on other sites
Lee Mac
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 :)

Share this post


Link to post
Share on other sites
lpseifert
Ah.... Haven't had any experience with those... I'm a Vanilla guy

Yeah I know... I was just wishing out loud

Share this post


Link to post
Share on other sites
Lee Mac
... I was just wishing out loud

 

lol I do that sometimes... gets me into trouble :P

Share this post


Link to post
Share on other sites
Tharwat

Thank you Lee.

 

Your efforts are highly appreciated .

 

Tharwat

Share this post


Link to post
Share on other sites
Lee Mac
Thank you Lee.

 

Your efforts are highly appreciated .

 

You're very welcome Tharwat :)

Share this post


Link to post
Share on other sites
ReMark

I'd rename the program kleptomania. LOL

Share this post


Link to post
Share on other sites
Jack_O'neill

How about layouts and page setups, pen widths and colors and all that?

Share this post


Link to post
Share on other sites
Lee Mac
I'd rename the program kleptomania. LOL

 

:lol: :lol:

Share this post


Link to post
Share on other sites
Lee Mac
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

Share this post


Link to post
Share on other sites
Jack_O'neill

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

Share this post


Link to post
Share on other sites
Lee Mac

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

Share this post


Link to post
Share on other sites
Lee Mac
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 :)

Share this post


Link to post
Share on other sites
Jack_O'neill
I think you misunderstood my post -

 

 

 

 

Apparently so. Sorry.

Share this post


Link to post
Share on other sites
Lee Mac
Apparently so. Sorry.

 

No worries mate :)

Share this post


Link to post
Share on other sites
pBe

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 :)

Share this post


Link to post
Share on other sites
irneb

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.

Share this post


Link to post
Share on other sites
Tharwat

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

Share this post


Link to post
Share on other sites
Lee Mac
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

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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