ScriptSpot

Script

Copy Paste DWG

By pixamoon · Credited author: Pixamoon · 2015-05-16

Version
v2.00.00
Date updated
2025-12-23
Votes
53
Download
Download
Description

.
 New - Crop option to crop unnessesary parts of imported blocks etc
.

                                             
.

This is another simple script to speed up some everyday modeling work....

Just to simply Copy Paste selected from AutoCAD or DraftSight to 3ds MAX 

It copy only selected, so its easy to split dwg to separate objects (elev from plans etc)

____________________________________________________________________________________________

How to do it:
 - select drawing in Autocad or DraftSight  (best if you clean it first of course :)
 - press Ctrl-C   (as always copy drawings in Autocad or DraftSight)
 - go to 3ds Max
 - run script  (drag and drop or choose from scripts menu)
 - done

How it works ?
It just reads AutoCAD or DraftSight clipboard and import it to MAX

To switch between AutoCAD and DraftSight press AutoCAD button

____________________________________________________________________________________________

Full version v1.30
 

  - New - "S" button - Import Settings anytime
  - New - Create Selection Set
  -
"A" button - Automatic Paste - on/off - all what is copied Ctrl+C in Cad will be paste automatically
     (no need to jump beetween Max and Cad)
  - move Pivot to front (buttom of flat elevation)
  - automatically switch between AutoCAD and DraftSight
  - new method to find latest DWG clipboard
  - new "u" check button - make group name unique + right click "u" -> make uniqe group names on paste
  - classic import options (scale etc)
  - remove materials from imported
  - remove ColorByLayers
  - white wirecolor to black
  - unlink blocks - unlink parent / children relationship
  - move all pasted objects to one layer
  - delete pasted empty layers
  - make all splines flat to Z = 0
  - move all to center X,Y = 0,0

  - group imported objects
  - zoom to pasted
  - select pasted objects

  - installation package with toolbar icon and shortcut
  - save default paste settings
  - save dialog position

  - press Enter for quick accept
  - press Esc to quit
 
  - on / off - close dialog on paste

Coming next :
  - 2 versions with and without dialog
  - wirecolor button - insted of color picker
  - copy paste from newer AutoCAD than 3ds Max

Full version available here:
http://www.pixamoon.com/shop/4587562584/copy-paste-dwg/9910941
or:
https://gumroad.com/l/copy-paste-dwg

____________________________________________________________________________________________

Lite version:
  - switch between AutoCAD and DraftSight
  - classic import options (scale etc)
  - remove materials from imported
  - remove ColorByLayers
  - white wirecolor to black
  - unlink blocks - unlink parent / children relationship
  - move all pasted objects to one layer
  - delete pasted empty layers
____________________________________________________________________________________________

To install Lite version:
use my other script - > Favorite Scripts:
  1. Install Favorite Scripts (drag and drop to max)
  2. place on toolbar (customize -> category Pixamoon)
  3. run Favorite Scripts
  4. settings
  5. choose your favorite scripts root folder
  6. create "IO" or "Edit folder"
  7. copy "CopyPasteDWG" script there

New version of Favorite Script available here:
http://www.scriptspot.com/3ds-max/scripts/favorite-scripts

____________________________________________________________________________________________

The best is to copy from same or older AutoCad version to newer 3ds Max - (max doesn't open newer dwg file formats)

But if you have installed only newer AutoCAD and you get this error.

 

Please follow this tutorial: http://www.pixamoon.com/blog
You can find there Auto Cad scripts: "Save to older" version and tutorial how to install them.

____________________________________________________________________________________________

Full changelog: 

v2.00
 - added a new Crop option to crop copy/pasted drawings
    (select items to crop, press the Crop button, and draw a cropping rectangle)
 - added support for 3ds Max 2026
 - fixed the function that retrieves DWG data from the clipboard in Method 2
 - fixed an activation issue that caused an Act# BStandard… exception

v1.30
 - added ComboBox to set Layer name for "All to one layer"
    - to add a name to the list - Press "+" button or hold Shift and press Enter
    - to delete from the list - hover over item and press Delete

 - removed '-' button - delete item from group list - works same way as Layers list now

 - added 2nd method to find AutoCad clipboard (for users who has windows temp in different location)
    - right-click on topbar and choose "Find DWG - method 2"

- added possibility to deactivate and move license to new workstation
     - right-click on topbar and choose "Deactivate"
- added possibility to automatically activate license on first start without user interaction
    - solution for offices with multiple licenses - specially when script started from network location
    - it require additional 'activation-data.ini' file to be placed in same folder as .mse script file
       [activation]
       email= purchase email
       hide_email=1
       auto_start=1
    - to request 'activation-data.ini' file or for more info - ask me by email

v1.29.01
  - fixed error on start - when Auto Paste enabled
v1.29
 - fixed paste from Draft Sight - issue with older clipboards
 - fixed Auto Paste
v1.28
  - Add & Del (+, -) buttons to customize default group names
  - Move pasted drawing to X,Y = 0,0
v1.27
  -  Dropdown list with default group names
v1.26
  - "S" button - Import Settings anytime
  - Create Selection Set
v1.25
 
- "A" button - Automatic Paste
  - Auto Paste on start - when cheked than saves "A" button to next start
  - new icon - works with light and dark scheme
v1.24
  - fixed bug - rermove only imported empty layers
v1.23
  - move Pivot to front (buttom of flat elevation)
  - fixed bug - make splines flat to Z=0
v1.22
  - fixed bug with "Close after save"
  - new - Make always uniqe group names - right click "U" check button
  - fixed activation window
v1.20
  - automatically switch between AutoCAD and DraftSight
  - fixed bug - old clipboard DWG imported
  - new "u" button - make group name unique
  - fixed bug - error when after typing group name pressed Paste button
  - press Enter for quick accept
v1.11
  - new checkbox: Close window after paste (on/off)
  - fixed: nothing pasted when - import as "one object"
v1.10
  - fixed to work in 3dsMax started as non-Admin
  - faster paste method

____________________________________________________________________________________________

Lite changelog:
v1.11
  - fixed: nothing pasted when - import as "one object"
v1.10
  - save dialog position
v0.28
  - fixed to work in 3dsMax started as non-Admin
  - faster paste method
v0.27
  - move all pasted objects to one layer
  - delete pasted empty layers
v0.26
  - unlink blocks - unlink parent / children relationship
  - all clean options are turn on as default
v0.25:
  - switch between AutoCAD and DraftSight
  - classic import options (scale etc)
  - remove materials from imported
  - wirecolor from ColorByLayers
  - white wirecolor to black

____________________________________________________________________________________________

Full version available here:
http://www.pixamoon.com/product-page/copy-paste-dwg

Lite free version available here:
http://www.turbosquid.com/FullPreview/Index.cfm/ID/927563?referral=pixam…
____________________________________________________________________________________________

Thanks for bug report by mynewcat
Script is tested now in 2009, 2014, 2015 and all works good :)
I think you may have newer version of AutoCAD than 3dsMax
If you got this error: "Unable to open:.... The error code reported is eNotImplementedYet" ??
 - it means AutoCAD version is newer then 3ds Max
____________________________________________________________________________________________

Note:
AutoCAD version has to be older or the same as 3ds MAX version, but please try Lite version and let me know
____________________________________________________________________________________________

Big thanks for testing, great suggestions and promo image to Mustafa Mamdouh !
____________________________________________________________________________________________

Enjoy !
Pixamoon

CGTrick about Copy Paste DWG:

Videos

Tags: copy paste dwg dfx autocad 3ds max drawing drawings draftsight clipboard

Comments (74)

Bricscad migration

wezzard · 2022-09-02

I just made the move to Bricscad and was able to set it up pretty much the same as Autocad put have some minor ajustement to deal with..CopyPaste is a very nice script and was very useful for me. I was wondering if it's a major change to be able to switch the app that we use to copy the dwg from?

re: Bricscad migration

pixamoon · 2022-09-04

Hi,

Do you use Copy Paste Free or Copy Paste DWG full version ?

Full version has an option to choose clipboard methods - please try to right-click on Taskbar and choose method 2. Let me know if that works with Bricscad

Best,
Pixamoon

The most useful script ever!

scripture · 2022-04-21

Absolutely reliable and fast! I love it and think it is the best tool to bring 2d dwg from AutoCAD to 3d MAx!

todor · 2021-06-15

Very nice script !

Nereu · 2021-03-02

The Best Plugin for Archviz. Many functions.
Thank You.

Very good script

crawlewis · 2020-01-09

Amazing script!

anasmeeth · 2017-08-05

Could this be made to work with Draftsight as well as AutoCad?

India Tour

Yes, it works with DraftSight

pixamoon · 2017-08-05

Hi,

Yes, it works with DraftSight already.

Full version detect last dwg clipboard automatically.
Lite version has a button on top to switch between AutoCad and DraftSight

Best,

Very useful script

stevekung · 2017-07-22

This script really make my work more convenient, and the update is very fast :D

titane357 · 2017-05-16

what about the option to move to 0,0,0 ?

pixamoon · 2017-05-18

thanks!

1. move to x,y = 0,0 - will add in few more days
2. imorting text - I have some ideas how to do do this(, but ist a bit of work. So all depends how many ppl needs it. Please let me know how important it is.

Also finishing Copy form newer versions of AutoCAD to older max - will publish it soon. For now rougth version only. Let me know if more ppl want to test it.

Best,
Pixamoon

titane357 · 2017-06-02

Thanks for support !
Text is very important when importing from archi docs : altimetry for example.
But it would be great to have just basic text, as light as possible, just for info.
cheers

titane357 · 2017-05-15

Very very (very) usefull script !!! Thanks a lot!
It would be very cool, if you can manage to import text !

good script with incredible support

Turnim · 2017-05-11

I bought the script and was running in some trouble, using AutoCAD 2018 and 3ds max 2016 and contacted pixamoon with the request to help me.
Within just a few hours i received an email back with some files and a VERY detailed description how to create a solution.
10 min later everything works as expected and i have to say that this is a a real time saver when working with CAD files

As a sidenote, i do owe several pixamoon plugins/scripts and they are all worth every cent. Functionality and support is top notch!!!!

Thanks pixamoon for your incredible hard work

edukillo · 2017-03-09

The script has worked for me for months but has been malfunctioning for some time now. No matter what you try to copy to 3dmax, always copy an old spline and do not copy anything new. Any solution?

re: wrong clipboard

pixamoon · 2017-03-11

It looks like old bug. It should be fixed in new versions: v1.20 and up. Which version do you use?

re: wrong clipboard

edukillo · 2017-03-12

Thanks for answering. I did not remember that there was a full version of the script. Now with version 1.27 everything works correctly

Great script
Cheers

gazarika · 2016-12-30

ok thanks I got it now how to make the auto paste on start work I want it to psate when I click the icon on the toolbar

re: auto paste

pixamoon · 2016-12-31

Hey,

Paste without UI is coming in next updates.

Please try "A" instead (left side from "Paste" button). When is checked script will paste automatically every Ctrl+C from Auto Cad

Cheers,
Pixamoon

Re:

pixamoon · 2016-12-29

Yes, there is an option to buy with debit/credit card next to paypal button.
Just make sure you typed your email correctly. Download link, updates will be automatically send there.

Best,
Pixamoon

gazarika · 2016-12-29

any way to buy it without having a paypal account?

cmjohncheng · 2016-09-22

hope can got a function "move to center", sometime imported cad file is very far from 0,0,0, if got a check box can choose will be much easier than move it manually.

`

pixamoon · 2016-09-23

Yes, that's good idea. Added on To-Do List.

Cheers,
Pixamoon

Does not work for me

mwaif · 2015-08-19

When I press paste I always get "Nothing to paste" message.

1. I have Autocad 2016 and 3ds max 2016 SP1
2. I tried toggling all the options, same result...
3. I tried copying different drawings, always getting "Nothing to paste" message.
4. Script version I have is 1.12

re: Nothing to paste

pixamoon · 2015-08-19

Hi,
Please try v1.11
Looks like new method in v1.12 doesn't work in max 2016.
If you got it from turbosquid. Just download v1.11. If you bought on my web please send me e-mail to pixamoon@gmail.com.
Best,
Pixamoon

mwaif · 2015-08-19

Yes. 1.11 worked. Thank you :)

Fixed

NiK684 · 2015-08-11

Yep, bug is gone. Script is perfect again :) Thx

MacroScript

NiK684 · 2015-08-12

I know that you have "Favorite Script" and maybe many people like it, but I'm sure that you should add optional MacroScript for people who don't want to install one script just to install another :)

I wrote macro for myself and added it here for people like me.
This macro ignores version numbers, so people can update script without butthurt.


MacroScript NS_PasteAutoCad category:"Pixamoon" tooltip:"Paste aCad" (
	local sFile = (getfiles ((GetDir #scripts) + "/pxm-Copy Paste DWG-v*.mse"))[1]	
	if (doesFileExist sFile) then (fileIn sFile)
	else (messageBox "Unable to locate the script.")
)

Little manual:
1) Main Script must be in Max-Scripts directory
2) Save the code as "pastecad.mcr" and drag this file to Max viewport
3) Look to Pixamoon category

`

pixamoon · 2015-08-12

thanks :)

but this is also script to install another script :p

main idea about "Favorite scripts" was to not have so many buttons on toolbar
+ to have the same scripts in all max versions (if you have older 2013, 2014 etc)
+ same scripts updated in office (all from on network location)
+ same scripts at home as in office (just place scripts on dropbox)

what you think ?

NiK684 · 2015-08-12

I think it's nice idea, but not for me :) I tried it, but I didn't find it useful. I like my own buttons and I like my own quads, nothing personal.

For freaks like me you better to add Macro. This simple step will add you more users. Maybe it is a second script to install first, but it's not similar to FavoriteScript install method, and this is how Autodesk understands usability :)

I'm just trying to tell you, that people have the right to choose how to install your scripts. For noobs there is no habitually way to use your script. You don't need to force people to install FavScr, I'm sure it will find its users anyway.

`

pixamoon · 2015-08-12

:) yes you right, and I added it in full version package too

very easy to install for anybody -> standard drag and drop to max

and there is toolbar button with an icon


Re: Lite version

pixamoon · 2015-07-30

Thanks for dwg sample, I've just tested and no problem to copy paste.

but I think I know the problem...
It start to happened after I changed import method for non admin users.

I'll try to fix that later today or tomorrow.

For now please use older version v0.26 or v0.27 (they have older paste method)

Let me know if those works fine...

Cheers,
Pixamoon

Nope

NiK684 · 2015-07-30

Still no luck. Tried 0.27, 0.26, 0.27.1 (for nonadmin). Tried starting Max with admin rights.

Oops! I found some sort of solution. Turn off Unlink blocks and it imports fine. But Lite version doesn't remember settings, so I can't tell that this is the best solution :)

almost found solution

pixamoon · 2015-07-30

oki, I'll look what can be a problem with unlink blocks, Thanks for info

......
I found this behavior only when Import options has "Derive AutoCAD Primitives by": "One Object"

can you try to change it to "Layer", "Color" or something different then "One Object"?

NiK684 · 2015-07-30

I have only Lite version. Right now is 0.28. I unchecked all checkboxes except Unlink blocks and error still here.

import options

pixamoon · 2015-07-30

try to check "Import options" and choose something different than "Derive AutoCAD Primitives by": "One Object"

Let me know if this works.

NiK684 · 2015-07-31

Yes, this works fine. But you'll try to fix the bug, right? :)

fix

pixamoon · 2015-07-31

hey, sweet, so I know where is the problem, Should be easy to fix it... I'll upload new version soon.
Thanks for help with finding the problem.

Cheers,
Pixamoon

re- fix

pixamoon · 2015-08-04

oki, should be fixed now,

Please try v1.11 and let me know if all is fine now.

Cheers,
Pixamoon

Lite version problem

NiK684 · 2015-07-30

Hello. I used this script from the very beginning and I was happy! Until some moment... I think this moment was when you create lite version, but I could be wrong.

Obviously you changed something and script became almost unusable, because when I copy piece of AutoCad drawing with some text inside then script can't import it in max. Not just text, but whole drawing! So if I select only drawing in Cad then all ok, but if I add some text to selection then script imports no drawing at all. This is really WRONG :) 3dsMax can't import Cad text, but it can somehow exclude it and import rest drawing.

Nobody doesn't want to delete all text objects or deselect them in Cad before copying.

Version 0.28

Re: Lite v problem

pixamoon · 2015-07-30

Thanks for this info. And sorry for that. This is very strange.

There is a new Lite version. I've just uploaded it - v1.10.
I hope this one works fine. Let me know.

new v1.10 saves also dialog position.

I just test it with text and it works fine here.
But I tested 0.28 here again and it works fine when you try to copy with text.
Did you try to save dwg with text (old way) and import it to max ?

Best,
Pixamoon

Doesn't help

NiK684 · 2015-07-30

Unfortunately it doesn't help me.

More info. AutoCad 2014, 3dsMax 2014. Here is link to simple dwg file. When I just drag it to 3dsMax viewport then it imports like this. All ok. But script still doesn't work that way.

New lite version 1.1 doesn't help. Still the same behavior

I think I found the problem! It's not a text object. Script ignores simple text objects and import drawing as it should.

The problem is in object that have text "test1" in my dwg file. It's some kind of annotation. Test it please.

units

popa_3d · 2015-07-07

Nice script and idea but what is missing is being able to change units (rescale option)
somethime autocad files are drawn in different units than the 3ds max scene...so the rescale option is important :)

re: units

pixamoon · 2015-07-08

hey, thanks

Did you check "Import options" ? Its just below AutoCAD button.

Let me know if this is what you looking for or you think about some custom rescaling opttion ?

not matter the text

curmeiste · 2015-06-28

hello

I just bought the full version and all is well except that I do not care the entities text

I experimented with various DWG drawings and everything good minus text

I use AutoCAD 2016 and 3ds Max 2016

thank you for this I magnify Scripts

re: paste text

pixamoon · 2015-07-01

Hi Curmeiste,

Right now script use standard import DWG function and as I know there is no simple way to import text from dwg. But I'll look on it closer and will try to find the way around to import text.

Thank you for that suggestion.

Hope you happy with other functions of full version.

Best,
Pixamoon

Michele71 · 2015-06-23

Nice job man :) +1

admin permission

mesca · 2015-06-22

Hi, it's work only if I run 3dsmax with administrator permissions.
Congratulations.It is a very useful script.

sorry for my bad english

Marco

re: admin permission

pixamoon · 2015-06-22

Hi Marco, Thanks for info. I'll try to fix that soon.

Could you send more info about Windows version and Max version you use.
Also, does it show any Error or just nothing is Pasted ?

I tried here with different user settings, also I tried with Standard user account and all works good here. (Win 7 Pro)

I'll upload one testing version with different paste method for non admin users.
Can you try that and let me know ?

Thanks

mesca · 2015-06-22

I'm using 3ds max 2014 and win 7 x64

Best regards

re: admin permition

pixamoon · 2015-06-23

oki, I'll fix that soon, Did you try v0.27.1 I uploaded yesterday ? It has method to load clipboard from Autocad.

Also does it create Error message or just paste nothing ?

For now please use 3ds Max as Administrator, or disable User Account Control (Control Panel -> User Accounts)

Please let me know if more ppl has this issue too. (+ which versions etc)

Thanks for reports and help with testing !
Cheers,

mesca · 2015-06-23

Great your ver. pxm-Copy Paste DWG-v0.27.1 - test for non admin users work perfectly for non admin user.

Previous ver. pxm-Copy Paste DWG-v0.27 gave no message just does not paste (for non admin user)

I use 3ds max 2104 x64 autocad 2014 x64 and win 7

Best regards
marco

pixamoon · 2015-06-24

Thanks :)

There is new lite version v0.28 with 2 automatic paste methods for Admin and non-Admin users.

Please let me know if new version works for everybody.

Cheers,

Very Cool

levi26 · 2015-06-17

Thanks, great script

thank you

alexnguyen · 2015-06-16

i like it , can you make one for sketchup ?

pixamoon · 2015-06-17

yes, this will be next :) thanks

And thanks all for comments and voting !

Notes

mustafa mamdouh · 2015-06-07

Thanks for the quick release, I have some notes ..
- The new features are great already but the pop-up dialog is really annoying and I'm sure you will fix it at the final release ..
- Everything is working fine with me at 3ds Max 2014 and AutoCAD 2016 So if anyone has problem with newer release of AutoCAD you just need to change "File Save" option at AutoCAD to lower version ..
- Regarding to the next new feature "make blocks unique", I'm a little confused if the blocks are NOT going to be instances anymore? I need them to be instances but without any parent child relationship exactly like this script http://www.scriptspot.com/3ds-max/scripts/dwg-cleanup

Regards,

re: Notes

pixamoon · 2015-06-07

hey there,

- dialog - yes there will be two scripts, one with dialog (to change defaults), second without dialog - (but will load recently used settings)
or... do you mean to remove it totally ?
- thanks for news about AutoCad 2016 and max 2014 - Did you just use standard save settings in AutoCad options dialog ?
- blocks - you right, I'll do 2 options for blocks:
1. remove child/parent relationship for blocks
2. make all unique

Thanks for testing and reports !
Best,

re: Notes

mustafa mamdouh · 2015-06-09

# for dialog: I wish if your settings (remove materials - group layers - .. etc) to pop up just once (at the first time launch ) then I don't want to see it again when pasting (Settings will be saved to .ini file) ..
for example: "ActiveType"  script has the exact behavior and I can change the settings later
link: http://www.scriptspot.com/3ds-max/scripts/activetype
# for AutoCAD: .. Yes I changed that at options dialog (may be I changed something else beside it so tell me if it's not working with anyone)
# for blocks: I don't see a benfits for converting blocks to be unique because I'm willing to replace them later with 3D Model and I need them to be instances but as you know blocks come with child\parent relationships which are very annoying and useless ..

Regards,
Mustafa
 

re: Notes

pixamoon · 2015-06-10

yes :) I'll do those in next versions,

Remove parents/children I'll try to add tomorrow or friday. But save/load from .ini bit later. It will be part of full version.

Can you send me your e-mail. I'll send you full version to test. (1st test should be ready in few days)
Thanks again for your help :)

Best,
Pixamoon

Thanks :)

pixamoon · 2015-05-26

Will try to finish it soon

Thanks!

More wishlist

mustafa mamdouh · 2015-05-19

I see great potential within this script and I hope you continue developing it for free ..
I read the planned features and it's looking very useful and I hope you add one more feature to cleanup the relationship between blocks exactly like this script http://www.scriptspot.com/3ds-max/scripts/dwg-cleanup ..
One more thing to keep the script running without any dialog and make .ini file for the options ..
Thanks again ..You're Brilliant!

`

pixamoon · 2015-05-20

thanks again for suggestions.

I think there will be Lite and Full versions. Lite version will have most of features (copy/paste/clean etc). If anybody want to support me -> Full version will cost $4,50 I hope is reasonable price. What you think about it ?

New version is coming with extra dialog to choose paste settings. It will load and save last settings (ini file).
So if you always use the same you can just press "Paste"

Making blocks unique... of course, it's one of simple tasks in Free version, but there will be much nicer new features too :p soon...

Cheers,
Pixamoon

mustafa mamdouh · 2015-05-24

Actually I don't mind and I will activate my VISA to buy it .. you deserve money for your hard work however Consider what you do is really great value and Priceless to 3d community ..
Waiting your great release and wish you best luck :)

Thanks.

TSchmiesing · 2015-05-19

Thanks for the Draftsight update. Much appreciated!

works like magic!

finalmethod · 2015-05-19

Now I use this script all the time, saves alot of time again like with other pixamoon scripts! Amazing!!

Thanks,

pixamoon · 2015-05-19

Many thanks man :)

oncire · 2015-05-19

very useful script.. thanks man...

Brilliant!

mustafa mamdouh · 2015-05-19

Thank you so much .. Your script is really time saver :)
I wish if you add feature to remove imported material from AutoCAD

re: remove imported material

pixamoon · 2015-05-19

hey, many thanks

I'll add that in next versions + much more options coming soon too :)

Cheers,
Pixamoon

Request for Draftsight version

TSchmiesing · 2015-05-18

Could this be made to work with Draftsight as well as AutoCad?

`

pixamoon · 2015-05-18

Yes, this is coming in next version :)

Thanks,

Brillant Idea

levi26 · 2015-05-18

Love the script but just wondering is there a way to paste with a dialog box to scale to a particular unit size?

Hope that make sense.

pixamoon · 2015-05-18

Thanks :)
Good suggestion. I've just added it as extra second version.

Now there are two versions available:
-with scale dialog - standard import dwg dialog
-without scale dialog - to skip dialog if scale is chosen already

Best,
Pixamoon