Jump to content
jasonyctam

Copying all objects from Xref to Drawings

Recommended Posts

jasonyctam

Hi All,

 

As a newbie to AUTOLisp, I am trying to accomplish the following with a script/function, however I still haven't found much useful information

 

1. While looping through the files in the directory, check if each drawing has any xrefs attached.

2. If yes, then copy all objects from all attached xrefs to the current drawing, and detach them. If no, skip the the next drawing. (If there are xref objects that cannot be copied to the drawing (such as jpgs), then leave them as they are).

3. Save the drawing with the same file name in another folder.

 

I know this sounds like asking someone else to do the homework for me, but any kind of help is appreciated as a lot of time has been used already googling around without much progress.....

Cheers

Share this post


Link to post
Share on other sites
Tharwat

Welcome to CADTutor .

 

You must be not aware of the command -xref and bind option ? ;)

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