ScriptSpot home

CopyClick

Downloads

Release history (1)
  • Version 1.0Listed version

    Release notes

    V1.0

3ds Max compatibility
See original listing claims
Community reviewsNo reviews yet.

Listing details

Version
V1.0
From original requirements
2009
Original version requirement
3dsMax 2009
Legacy votes
12
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

agg3d

Credited author: Alvaro Guimaraes

-- Copy by Click
-- V1.0

-- How it works?
-- 1. Select objects
-- 2. Execute CopybyClick
-- 3. Click to make a instance of selection
-- 4. ESC or rightclick to cancel

------------------------ THE CODE ------------------------

macroScript CopybyClick
category:"AGGTools"
buttonText:"CopybyClick"
tooltip:"Copy by Click"

(

fn CopyClick =
try
(
maxOps.cloneNodes $ cloneType:#instance newNodes:&nnl
select nnl
Sel=selection
p = point pos:Sel.center
p.pos.z = 0
ClickPos = pickPoint snap:#2D ()
ArrayFiltroGroupHead = #()
for obj in Sel do
(
result = isGroupHead obj
result1 = isGroupMember obj

if result == true and result1 == false then
(
append ArrayFiltroGroupHead obj
obj.parent = p
)
if result1 == false then
(
obj.parent = p
)
)-- Fim Loop
p.pos = ClickPos
delete p
CopyClick()
)
catch
(
delete p
delete $
)--End Function

CopyClick()

)--End Script

-- Alvaro Gonçalves Guimarães
-- Made in Brazil
------------------------------------------------------------

Setup & notes

This is a old script but never works with groups inside groups. And i make some changes in the code and now it works. Tested in 3dsMax 2009.
Comments (0)