Ya, the live relationship might be nice to have since I need to put my effect back out in world space eventually. Thanks Peter!
On Fri, Jan 15, 2016 at 10:32 AM, <pete...@skynet.be> wrote: > > Sounds like it might work. > > Did you run the scripts? You will see what the curve does... If your > suggestion does exactly the same thing then you're correct. :) > > ran it now – looks the same to me. > since there’s no plotting involved it could be interesting in keeping the > relation live... > (but you would need to keep the copy of the curve and second null’s > animation identical then ) > > > here it is: > > Application.CreatePrim("Spiral", "NurbsCurve", "", "") > Application.SetValue("spiral.spiral.height", 10, "") > Application.GetPrim("Null", "", "", "") > Application.ApplyPath("null", "spiral", 1, 100, "", True, True) > Application.DeselectAll() > Application.SelectObj("spiral", "", True) > Application.Duplicate("spiral", "", 2, 1, 1, 0, 0, 1, 0, 1, "", "", "", > "", "", "", "", "", "", "", 0) > Application.GetPrim("Null", "", "", "") > Application.ApplyPath("null1", "spiral1", 1, 100, "", True, True) > Application.SelectObj("spiral", "", "") > Application.Translate("", 10, 0, 0, "siAbsolute", "siPivot", "siObj", > "siX", "", "", "", "", "", "", "", "", "", 0, "") > Application.Translate("", 0, 0, 10, "siAbsolute", "siPivot", "siObj", > "siZ", "", "", "", "", "", "", "", "", "", 0, "") > Application.Translate("", 0, 10, 0, "siAbsolute", "siPivot", "siObj", > "siY", "", "", "", "", "", "", "", "", "", 0, "") > Application.ActivateObjectSelTool("") > Application.SelectObj("spiral1", "", True) > Application.ActivateObjectSelTool("") > Application.ApplyOp("ICETree", "spiral1", "siNode", "", "", 0) > Application.AddICENode("$XSI_DSPRESETS\\ICENodes\\GetDataNode.Preset", > "spiral1.crvlist.ICETree") > Application.SetValue("spiral1.crvlist.ICETree.SceneReferenceNode.reference", > "null.kine.global.pos", "") > Application.AddICENode("$XSI_DSPRESETS\\ICENodes\\GetDataNode.Preset", > "spiral1.crvlist.ICETree") > Application.SetValue("spiral1.crvlist.ICETree.SceneReferenceNode[1].reference", > "spiral.kine.global.pos", "") > Application.AddICENode("$XSI_DSPRESETS\\ICENodes\\SubtractNode.Preset", > "spiral1.crvlist.ICETree") > Application.ConnectICENodes("spiral1.crvlist.ICETree.SubtractNode.first", > "spiral1.crvlist.ICETree.SceneReferenceNode.value") > Application.ConnectICENodes("spiral1.crvlist.ICETree.SubtractNode.second", > "spiral1.crvlist.ICETree.SceneReferenceNode[1].value") > Application.AddICENode("$XSI_DSPRESETS\\ICENodes\\MultiplyByScalarNode.Preset", > "spiral1.crvlist.ICETree") > Application.ConnectICENodes("spiral1.crvlist.ICETree.MultiplyByScalarNode.value", > "spiral1.crvlist.ICETree.SubtractNode.result") > Application.SetValue("spiral1.crvlist.ICETree.MultiplyByScalarNode.factor", > -1, "") > Application.AddICENode("$XSI_DSPRESETS\\ICENodes\\SRTToMatrixNode.Preset", > "spiral1.crvlist.ICETree") > Application.ConnectICENodes("spiral1.crvlist.ICETree.SRTToMatrixNode.translation", > "spiral1.crvlist.ICETree.MultiplyByScalarNode.result") > Application.AddICECompoundNode("Set Data", "spiral1.crvlist.ICETree") > Application.ConnectICENodes("spiral1.crvlist.ICETree.Set_Data.Value", > "spiral1.crvlist.ICETree.SRTToMatrixNode.matrix") > Application.ConnectICENodes("spiral1.crvlist.ICETree.port1", > "spiral1.crvlist.ICETree.Set_Data.Execute") > Application.SetValue("spiral1.crvlist.ICETree.Set_Data.Reference", > "spiral1.kine.global", "") > Application.SetValue("PlayControl.Key", 7, "") > Application.SetValue("PlayControl.Current", 7, "") > >