Pan/Tilt Shape Speed Change

This is a place for people to chare the custom macros they have written.

Moderator: Moderators

User avatar
kimwida
Posts: 250
Joined: 05 Aug 2016, 16:26
Location: Seoul

Pan/Tilt Shape Speed Change

Postby kimwida » 11 Mar 2018, 17:06

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!!
User avatar
jacklighting
Posts: 26
Joined: 27 May 2018, 12:41
Location: Thailand
Contact:

Re: Pan/Tilt Shape Speed Change

Postby jacklighting » 28 May 2018, 10:19

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
Best Regard , Sincerely :D

Who is online

Users browsing this forum: No registered users and 19 guests