Page 1 of 1

Pan/Tilt Shape Speed Change

Posted: 11 Mar 2018, 17:06
by kimwida
Hi.
I want to change Pan/Tilt shape(or any shape) speed by a macro.
I tried this. But no luck.

Code: Select all

   <step pause="0.01">Include.SelectPlaybackHandle("playbackHandleUN=1802")</step>   
   <step pause="0.01">ActionScript.SetProperty("Editor.Shapes.Speed", 0.1)</step>
   <step pause="0.01">Handles.ClearSelection()</step>


So, I thnk I should use this one...

Code: Select all

   Void Editor.Shapes.SetShapeSpeed(Int32 shapeId, Double speedValueToSet, IEnumerable`1 fixtureIds)


To see Pan/Tilt shaped id, I include a playback having Pan/Tilt shape. And fire this code. But it doesn't show the id.

Code: Select all

   <step pause="0.01">Handles.SetSourceHandleFromHandle("playbackHandleUN=1049")</step>
   <step pause="0.01">ActionScript.SetProperty("Handles.PendingLegend", Math.ToString(Editor.Shapes.SelectedViewShapeId))</step>
   <step pause="0.01">Handles.SetLegend()</step>
   <step pause="0.01">Handles.ClearSelection()</step>


Second parameter might be the speed that I want to change.
And I don't have any clue about the third parameter.

Thanks for any advice!!

Re: Pan/Tilt Shape Speed Change

Posted: 28 May 2018, 10:19
by jacklighting

Code: Select all

(Int32 shapeId, Double speedValueToSet, IEnumerable`1 fixtureIds)


want Example for this , shapeid where can i look ?
i Wait for the experts to answer. :D