Jump to content

Steal from Drawing


Lee Mac
 Share

Recommended Posts

  • Replies 46
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    25

  • Jack_O'neill

    3

  • Tharwat

    3

  • Ahankhah

    3

  • 7 months later...

I have updated this program to Version 1.5

 

This version implements a number of changes to improve the program:

 

  • Added the ability to use Wildcard Patterns in the 'ItemList' parameter to allow all items in a collection which match the supplied wildcard pattern to be imported.

 

  • Added Materials and Named Viewports to the list of collections.

 

  • Added 'StealAll' command to allow the user to automatically steal everything from a selected drawing file.

 

  • Added 'StealTemplate' command to enable the user to quickly steal items from the QNew template file (or other template file, if the QNew template file is not set).

 

The latest version can be found here.

Link to comment
Share on other sites

AutoCAD MEP 2012

 

Did I miss somewhere that says it won't work? If I did, my bad. :facepalm:

 

-Edit- I see where you said you're a vanilla guy. I'll try it on vanilla.

 

-Edit- Same response/error in vanilla AutoCAD 2012.

Edited by Lee Roy
Link to comment
Share on other sites

-Edit- Same response/error in vanilla AutoCAD 2012.

 

That's weird since this is the first I've heard of an error report of this nature (for any version in fact). From the error message you posted I'm guessing the program cannot load the ObjectDBX Document.

 

Does this return a non-nil value:

 

(vl-registry-read (strcat "HKEY_CLASSES_ROOT\\ObjectDBX.AxDbDocument." (itoa (atoi (getvar 'ACADVER))) "\\CLSID"))

Is anyone else having this problem?

Link to comment
Share on other sites

Does this return a non-nil value:

 

It returns "nil".

 

Anxious to get this working, as I'd like to use it. I'll bet it's something on my end. :glare:

 

-Edit- I see what you're looking for. For some reason, a while back, I had pulled the registry value trying to accomplish something I don't remember what now. I had the registry value backed up on my desktop. I just now merged it back in and the command works great.

 

Thanks Lee!

 

Sorry for the waste of time. :facepalm:

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

Lee, I enthusiastically love your language and grammar in writing codes.

 

I appreciate as always your efforts resulting very useful "Steal" ...

 

...For now I have a question:

 

Is it possible to have a function to do "Steal" silently and without dialogs?

Link to comment
Share on other sites

Lee, I enthusiastically love your language and grammar in writing codes.

 

I appreciate as always your efforts resulting very useful "Steal" ...

 

Thank you Ahankhah :)

 

...For now I have a question:

 

Is it possible to have a function to do "Steal" silently and without dialogs?

 

Certainly, have a read of the description on my website, I also include examples to demonstrate :)

Link to comment
Share on other sites

Lee,

Thank you for your reply.

 

I tried it with "*" wildcards with no success. It seems I must study deeply in your code.

 

I am going to read your nice code more carefully.

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

 Share


×
×
  • Create New...