Calculates the minimum layout dimension required given the other dimension.
Void Group.Editor.CalculateLayoutDimension(Handle handle, Int32 inputDimension, String outputDimensionProperty, Boolean widthToHeight, Boolean selected, GroupLayoutMode mode)
http://[ip]:4430/titan/script/2/Group/Editor/CalculateLayoutDimension?handle={handle}&inputDimension={titanId}&outputDimensionProperty={string}&widthToHeight={bool}&selected={bool}&mode={}
Parameters
handle
(
Handle
)
:
The handle of the group.
handle_userNumber
HTTP Example:
http://localhost:4430/titan/script/2/Group/Editor/CalculateLayoutDimension?handle_userNumber=6&inputDimension={titanId}&outputDimensionProperty={string}&widthToHeight=true&selected=true&mode={}
handle_location
HTTP Example:
http://localhost:4430/titan/script/2/Group/Editor/CalculateLayoutDimension?handle_location=playback_2_1&inputDimension={titanId}&outputDimensionProperty={string}&widthToHeight=true&selected=true&mode={}
handle_titanId
HTTP Example:
http://localhost:4430/titan/script/2/Group/Editor/CalculateLayoutDimension?handle_titanId=1895&inputDimension={titanId}&outputDimensionProperty={string}&widthToHeight=true&selected=true&mode={}
inputDimension
(
Int32
)
:
The input dimension.
outputDimensionProperty
(
String
)
:
The property for the output dimension.
widthToHeight
(
Boolean
)
:
if set to true to convert from a width to a height; otherwise convert from a height to a width.
widthToHeight
HTTP Example:
http://localhost:4430/titan/script/2/Group/Editor/CalculateLayoutDimension?handle_titanId=1895&inputDimension={titanId}&outputDimensionProperty={string}&widthToHeight=true&selected=true&mode={}
selected
(
Boolean
)
:
if set to true use the selected fixtures.
selected
HTTP Example:
http://localhost:4430/titan/script/2/Group/Editor/CalculateLayoutDimension?handle_titanId=1895&inputDimension={titanId}&outputDimensionProperty={string}&widthToHeight=true&selected=true&mode={}
mode
(
GroupLayoutMode
)
:
The mode.