--- 收集场景中同名的结点
fn getSelEqualNme sel =
(
zong =#()
for i in sel do
(
append zong i.name
)
equalname =#()
namep =#()
for i in zong do
(
if findItem equalname i ==0 then
(
append equalname i
)else
(
append namep i
)
)
onlyname =#()
if namep .count>0 then
(
for i in namep do
(
if findItem onlyname i ==0 then
(
append onlyname i
)
)
)
engarraynode =#()
for i in 1 to onlyname.count do
(
ccname = (execute("$"+"'"+onlyname+"'"+"*")) as Array