sebenarnya trik ini sangat sederhana dengan memanfaatkan save as selection,tapi kita code ke dalam maxScript dan kita beri shortcut misal ctrl+Alt+c (copy) dan ctrl+Alt+v (paste) pada customize user interface pada kategori Atools.
Atools ini sendiri adalah buatan kita, anda sembarang merubah ubah namanya.
macroscript copyObj Category: "Atools" toolTip: "copy object" (
thecopypastedir = getdir #autoback
thecopypastefile = "\pastefile.max"
thecopypastestring = thecopypastedir + thecopypastefile
if $ != undefined do
saveNodes $ thecopypastestring
)
macroscript pasteObj Category: "Atools" toolTip: "paste object" (
thecopypastedir = getdir #autoback
thecopypastefile = "\pastefile.max"
thecopypastestring = thecopypastedir + thecopypastefile
mergemaxfile (thecopypastedir + thecopypastefile) #select
)
No comments:
Post a Comment