/* copy/paste v 1.1.0 Author: Georgy Chakarov Version: 3dsmax 9 or later new in ver 1.1: -copy saves selected object in the file "copy_paste_buffer.max" in default scenes directory and make a backup of old file /"copy_paste_buffer_backup.max"/ -paste merge "copy_paste_buffer.max" in the current scene my site: http://georgychakarov.hit.bg/ */ /****************************************************************************************************************************/ /* FUNCTIONS /****************************************************************************************************************************/ macroScript CopyPaste category:"Georgy Chakarov" tooltip:"Copy" icon:#("gch_icons",8) ( if $ != undefined then ( deleteFile (((GetDir #scene) as string ) + "\copy_paste_buffer_backup.max") renameFile (((GetDir #scene) as string ) + "\copy_paste_buffer.max") (((GetDir #scene) as string ) + "\copy_paste_buffer_backup.max") saveNodes $ (((GetDir #scene) as string ) + "\copy_paste_buffer.max") ) ) ------------------------------------- macroScript Paste category:"Georgy Chakarov" tooltip:"Paste" icon:#("gch_icons",7) ( mergeMAXFile (((GetDir #scene) as string ) + "\copy_paste_buffer.max") #mergeDups #select )