You can store constraints in an actionclip that will be stored in the
mixer of the model when it is put to disk then you apply the action and
everything is taken care of.
You can pretty easily write a script that traverses all of the
constrained transforms and determines if they are constained to
something outside of the model and automatically stores them away in an
action clip
so what Guillaume said apart form using ActionClip as the annotation
Sam
guillaume laforge wrote:
Hi David,
You're right, constraints seems to disappear when the model is
exported :-/
A workaround is to copy the commands logged when you constrain the
objects and re-use them when the model is imported.
I know, it's not very "user friendly" :-p. So a script who write all
the constraints in an annotation under the model
and an other script who read this annotation to re-apply
constrains would be a better workaround !
See you tomorrow to find a solution around a coffee ;-)
Cheers,
Guillaume Laforge
CG artist
www.vol2nuit.fr <http://www.vol2nuit.fr>
2005/7/3, David Saber <david.saber(at)club-internet.fr
<mailto:david.saber(at)club-internet.fr>>:
I just read this in the docs:
"The exported model contains only its internal relationships—the
export
process removes modeling relationships, expressions, linked
parameters,
and so on if they involve elements that are not children of the model.
One exception to this rule is constraints: XSI tries to re-establish
constraints to and from objects in the model if it finds appropriately
named objects when it the model is imported into another scene."
So I tried to check if that worked. I had a sphere under the scene
root
and a cone under a model-null. Pose-constrained the cone on the
sphere.
Exported the model, deleted the model from the scene, re-imported the
model, and the pose contraint was gone. What they say in the doc does
not work :(
Is there a way to get the constraint re-established after
importing the
model?
David
---
Unsubscribe? Mail Majordomo(at)Softimage.COM
<mailto:Majordomo(at)Softimage.COM> with the following text in body:
unsubscribe xsi
--
sam hodge
technical director - sam.hodge(at)rsp.com.au
----------------------------------------------------------------
rising sun pictures - www.rsp.com.au
redefining visual effects delivery
----------------------------------------------------------------
direct line +61 8 8400 6400
mobile ph +61 417 801 006
----------------------------------------------------------------
our adelaide phone number & address has
changed, please update your records..........
----------------------------------------------------------------
adl ph +61 8 8400 6400 - fx +61 8 8400 6401
level 1, 133 gouger street, adelaide, 5034
----------------------------------------------------------------
syd ph +61 2 9338 6400 - fx +61 2 9338 6401
15/16 charles street east redfern, sydney, 2016
----------------------------------------------------------------
rising sun research - http://research.rsp.com.au
----------------------------------------------------------------
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi