Change handle userNumber using WebAPI not working
Posted: 27 Feb 2024, 14:07
Hello There, I found out few weird behaviour in webAPI
in Macro it works,
It successfully change the userNumber from 1 to 2
but when it comes to webAPI
SetSourceHandleFromHandle only works in titanId, handle_userNumber is not working and when i proceed to setUserNumber , it says "Error: User number already in use" but userNumber 2 does not exist before hand at all
need help here thanks.
in Macro it works,
Code: Select all
<step>Handles.SetSourceHandleFromHandle("cueHandleUN=1")</step>
<step>ActionScript.SetProperty("Handles.CurrentUserNumber", userNumber:2)</step>
<step>Handles.SetUserNumber()</step>
<step>Handles.ClearSelection()</step>
It successfully change the userNumber from 1 to 2
but when it comes to webAPI
SetSourceHandleFromHandle only works in titanId, handle_userNumber is not working and when i proceed to setUserNumber , it says "Error: User number already in use" but userNumber 2 does not exist before hand at all
Code: Select all
http://localhost:4430/titan/script/2/Handles/SetSourceHandleFromHandle?handle_titanId=1869 //only working with handle_titanId
http://localhost:4430/titan/script/2/ActionScript/SetProperty?id=Handles.CurrentUserNumber&value=userNumber:2 //not sure is this correctly written
http://localhost:4430/titan/script/2/Handles/SetUserNumber //error here saying ""Error: User number already in use"" note: I''ve already change backe userNUmber 2 cueHandle to 1
http://localhost:4430/titan/script/2/Handles/ClearSelection //working
need help here thanks.