Copy then Past with Base Point Over Multiple Files

Copy then Past with Base Point Over Multiple Files

ensomoran
Contributor Contributor
1,468 Views
6 Replies
Message 1 of 7

Copy then Past with Base Point Over Multiple Files

ensomoran
Contributor
Contributor

I'm a little inexperienced when it comes to the power and limits of using LISP/VBA code to automate certain tasks, but I want to take a stab at it.

 

I would like to have ACAD Copy with Base point at (0,0,0) everything within model space and paste it into another file at (0,0,0).  

 

Ideally I would like to have the program Copy everything from say 4 or 5 files and paste it into one single file. 

 

For example:  If we have (3) files: A,B,&C.  I would like to copy with base point at (0,0,0) everting in file A,B,&C and paste them into a new file D at (0,0,0).

 

I am not looking for a full solution, rather I'm asking for advise on which programming language/tools I could use to achieve the above mentioned sequence.

 

If anyone could give me any good recommendations that would be great!  

 

Thanks in advance.

0 Likes
Accepted solutions (1)
1,469 Views
6 Replies
Replies (6)
Message 2 of 7

pendean
Community Legend
Community Legend
You want to use COPYBASE command with 0,0,0 in the source files (ABC), then PASTECLIP command with 0,0,0 in the destination file (D).

Look up both commands in HELP then try them out to understand what they do.
0 Likes
Message 3 of 7

maratovich
Advisor
Advisor

 

Use this : AutoImportCAD 

 

 

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 4 of 7

pbejse
Mentor
Mentor
Accepted solution

@ensomoran wrote:

If we have (3) files: A,B,&C.  I would like to copy with base point at (0,0,0) everting in file A,B,&C and paste them into a new file D at (0,0,0).


 

Files A,B and C are opened files and create a new file D correct?

CopyObjects Method 

Or 

InsertBlock Method 

Or even

Xref all three files in file D, Bind / Insert

 

At least thats how i'll do it

 

0 Likes
Message 5 of 7

Sea-Haven
Mentor
Mentor

Like pbe if the files are not open can use -INSERT or plain insert and dialouge 

0 Likes
Message 6 of 7

ensomoran
Contributor
Contributor

Okay I see what you mean, I think should work. I think I will do this in VBA.

 

The reason I want to do this is because when I extract a bunch of views from Revit we want to lay them on top of each other.  This happens because sometimes we don't always propose to do projects in Revit.

 

Thanks for the idea!

0 Likes
Message 7 of 7

pbejse
Mentor
Mentor

@ensomoran wrote:

Okay I see what you mean, I think should work. I think I will do this in VBA.

Thanks for the idea!


I did not do much really 🙂  @ensomoran , Give us a shout if you need help with this. 

Keep us posted.

 

There is this recent thread almost similar to your request. Maybe we can develop that to suit your requirement. Especially if this is going to be a regular thing for you.

Let us know.

 

 

 

0 Likes