Exported models and constraints 2005-07-03 - By Guillaume Laforge
Back 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@(protected)>: > > 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@(protected) with the following text in body: > unsubscribe xsi >
<div>Hi David,</div> <div> </div> <div>You're right, constraints seems to disappear when the model is exported :- /</div> <div>A workaround is to copy the commands logged when you constrain the objects and re-use them when the model is imported. </div> <div>I know, it's not very "user friendly" :-p. So a script who write all the constraints in an annotation under the model</div> <div>and an other script who read this annotation to re-apply constrains  ;would be a better workaround !</div> <div> </div> <div>See you tomorrow to find a solution around a coffee ;-)<br> </div> <div>Cheers,</div> <div> </div> <div>Guillaume Laforge</div> <div>CG artist</div> <div><a href="http://www.vol2nuit.fr">www.vol2nuit.fr</a></div> <div><br> </div> <div><span class="gmail_quote">2005/7/3, David Saber <<a href="mailto:david .saber@(protected)">david.saber@(protected)</a>>:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0 .8ex; BORDER-LEFT: #ccc 1px solid">I just read this in the docs:<br><br>" ;The exported model contains only its internal relationships?the export <br>process removes modeling relationships, expressions, linked parameters,<br >and so on if they involve elements that are not children of the model.<br><br >One exception to this rule is constraints: XSI tries to re-establish <br>constraints to and from objects in the model if it finds appropriately<br >named objects when it the model is imported into another scene."<br><br>So I tried to check if that worked. I had a sphere under the scene root <br>and a cone under a model-null. Pose-constrained the cone on the sphere.<br >Exported the model, deleted the model from the scene, re-imported the<br>model, and the pose contraint was gone. What they say in the doc does <br>not work :(<br><br>Is there a way to get the constraint re-established after importing the<br>model?<br><br>David<br><br>---<br>Unsubscribe? Mail <a href="mailto:Majordomo@(protected)">Majordomo@(protected)</a> with the following text in body: <br>unsubscribe xsi<br></blockquote></div><br>
|
|