How can I acces the parameters of a clip in mixer via object model??? 2004-03-17 - By Sebastian Faber
Back Maybe this is a stupid question: I want to access the "Hidden"-Parameter of a clip in the animation mixer via OBJECT-Mode. Accessing it via command model would be the following command:
SetValue "Mixer.SimpleAnim.Diagonal_Clip.actionclip.active", False
How can I access this parameter via object mode???
Thank you very much
Sebastian
The Hierarchie is: -- ---- ---- ------ Scene_Root -Mixer -Tracks -Animation -myClip Hidden Activ Start time Duration UI properties Mute solo
The Code should be like this: -- ---- ---- ---- ---- ------ set oRoot = ActiveSceneRoot set oObj = oRoot.FindChild("Scene_Root") set oModel = GetValue(oObj) set oSources = oModel.sources for each oSource in oSources count = count + 1 logmessage "Source# " & count & ", Name: " & oSource.name next ... ' generating a Clip set oClipAnim = AddClip( "Scene_Root", oSource, , oTrackAnim, 1 ) 'Access Hidden-Parameter LogMessage oClipAnim.Hidden ??????
or
LogMessage oClipAnim.actionclip.active.value ???
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|