Jump to content

Recommended Posts

Posted

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

Posted

Welcome to CADTutor .

 

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

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