• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
111Admin Test
#1
Big Grin 

try destroydialog L_detach catch()
--Functions
FN DetachPolyElements_fn SourceOBJ =
(--start function for detaching elements from an editable poly object
MasterObj = SourceOBJ 
faceCount = MasterObj.getnumfaces()
FaceTest = ((MasterObj.getnumfaces()) != 0)
for ii in 1 to faceCount while FaceTest do --ends loop when there are no faces left to select
(--start element detach loop
newName = (uniquename (MasterObj.name as string+"_"))
MasterObj.EditablePoly.SetSelection #Face #{1}
MasterObj.selectElement()
TargetElement = polyop.getFaceSelection MasterObj
polyop.detachFaces MasterObj TargetElement asNode:true name:newName
NewObj = getnodebyname newName
try destroydialog L_detach catch()
--Functions
FN DetachPolyElements_fn SourceOBJ =
(--start function for detaching elements from an editable poly object
MasterObj = SourceOBJ 
faceCount = MasterObj.getnumfaces()
FaceTest = ((MasterObj.getnumfaces()) != 0)
for ii in 1 to faceCount while FaceTest do --ends loop when there are no faces left to select
(--start element detach loop
newName = (uniquename (MasterObj.name as string+"_"))
MasterObj.EditablePoly.SetSelection #Face #{1}
MasterObj.selectElement()
TargetElement = polyop.getFaceSelection MasterObj
polyop.detachFaces MasterObj TargetElement asNode:true name:newName
NewObj = getnodebyname newName
try destroydialog L_detach catch()
--Functions
FN DetachPolyElements_fn SourceOBJ =
(--start function for detaching elements from an editable poly object
MasterObj = SourceOBJ 
faceCount = MasterObj.getnumfaces()
FaceTest = ((MasterObj.getnumfaces()) != 0)
for ii in 1 to faceCount while FaceTest do --ends loop when there are no faces left to select
(--start element detach loop
newName = (uniquename (MasterObj.name as string+"_"))
MasterObj.EditablePoly.SetSelection #Face #{1}
MasterObj.selectElement()
TargetElement = polyop.getFaceSelection MasterObj
polyop.detachFaces MasterObj TargetElement asNode:true name:newName
NewObj = getnodebyname newName
try destroydialog L_detach catch()
--Functions
FN DetachPolyElements_fn SourceOBJ =
(--start function for detaching elements from an editable poly object
MasterObj = SourceOBJ 
faceCount = MasterObj.getnumfaces()
FaceTest = ((MasterObj.getnumfaces()) != 0)
for ii in 1 to faceCount while FaceTest do --ends loop when there are no faces left to select
(--start element detach loop
newName = (uniquename (MasterObj.name as string+"_"))
MasterObj.EditablePoly.SetSelection #Face #{1}
MasterObj.selectElement()
TargetElement = polyop.getFaceSelection MasterObj
polyop.detachFaces MasterObj TargetElement asNode:true name:newName
NewObj = getnodebyname newName
try destroydialog L_detach catch()
--Functions
FN DetachPolyElements_fn SourceOBJ =
(--start function for detaching elements from an editable poly object
MasterObj = SourceOBJ 
faceCount = MasterObj.getnumfaces()
FaceTest = ((MasterObj.getnumfaces()) != 0)
for ii in 1 to faceCount while FaceTest do --ends loop when there are no faces left to select
(--start element detach loop
newName = (uniquename (MasterObj.name as string+"_"))
MasterObj.EditablePoly.SetSelection #Face #{1}
MasterObj.selectElement()
TargetElement = polyop.getFaceSelection MasterObj
polyop.detachFaces MasterObj TargetElement asNode:true name:newName
NewObj = getnodebyname newName
try destroydialog L_detach catch()
--Functions
FN DetachPolyElements_fn SourceOBJ =
(--start function for detaching elements from an editable poly object
MasterObj = SourceOBJ 
faceCount = MasterObj.getnumfaces()
FaceTest = ((MasterObj.getnumfaces()) != 0)
for ii in 1 to faceCount while FaceTest do --ends loop when there are no faces left to select
(--start element detach loop
newName = (uniquename (MasterObj.name as string+"_"))
MasterObj.EditablePoly.SetSelection #Face #{1}
MasterObj.selectElement()
TargetElement = polyop.getFaceSelection MasterObj
polyop.detachFaces MasterObj TargetElement asNode:true name:newName
NewObj = getnodebyname newName
try destroydialog L_detach catch()
--Functions
FN DetachPolyElements_fn SourceOBJ =
(--start function for detaching elements from an editable poly object
MasterObj = SourceOBJ 
faceCount = MasterObj.getnumfaces()
FaceTest = ((MasterObj.getnumfaces()) != 0)
for ii in 1 to faceCount while FaceTest do --ends loop when there are no faces left to select
(--start element detach loop
newName = (uniquename (MasterObj.name as string+"_"))
MasterObj.EditablePoly.SetSelection #Face #{1}
MasterObj.selectElement()
TargetElement = polyop.getFaceSelection MasterObj
polyop.detachFaces MasterObj TargetElement asNode:true name:newName
NewObj = getnodebyname newName
  Reply


Forum Jump:


Users browsing this thread: AEI, qqqaaa, 1 Guest(s)