Hey folks,
I want to mirror skinning from a portion of the mesh to the opposite side.
However, after the Create symmetry template dialog box (and prior creating the
symmetry map itself) the operation cancels saying that unspecified error
occurred...
This is the code part where it fails (enveloping.vbs)
function get_deformers (in_obj, out_deformers )
dim deformers, myenv, weights, i
set deformers = CreateObject("XSI.Collection")
set myenv =
in_obj.activeprimitive.constructionhistory.find("envelopop")
Weights = myenv.Weights.Array
weights = myenv.Weights.Array
For i = lbound(weights ,1) to ubound(weights ,1)
' 87892: The fact that we didn't mirror
effectors caused scenes that have envelope weighting on effectors not to
symmetrize correctly.
' Enabling
symmetry on effectors.
' if( myenv.deformers(i).type <> "eff" ) then
deformers.add
myenv.deformers(i)
ß------------------------------------------------------------------------ Line
of failure is this
' End if
next
set out_deformers = deformers
end function
At first glance what hit my eyes is that once deformers is a collection, and
then deformers is a property of the myenv object. Can it cause an issue? I
can't do any edit, since the folder is read only, and our admin doesn't let me
play with the rights in my Softimage folder...
Cheers
Szabolcs
___
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system. E-mail transmission cannot be guaranteed to be
secure or error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents of this
message, which arise as a result of e-mail transmission. If verification is
required please request a hard-copy version. Crytek GmbH -
http://www.crytek.com - Grüneburgweg 16-18, 60322 Frankfurt - HRB77322
Amtsgericht Frankfurt a. Main- UST IdentNr.: DE20432461 - Geschaeftsfuehrer:
Avni Yerli, Cevat Yerli, Faruk Yerli