sb.getGroupAttrs(groupName, tags ...)
Get properties for a group. Key name is the name of the group or a variable. Tags can be a list of the following values:
x
y
hidden
A JS object with the results is returned.
Parameters:
groupName The model full path of the control to get information about
tags One or more tags as strings
Returns:
A JS object containing the tags as keys with the associated table value being the Storyboard value associated with that tag.
Example:
function checkIfHidden() {
// check if my_group is currently hidden
var dk_data = sb.getGroupAttrs("my_layer.my_group", "hidden");
if (dk_data.hidden == 1) {
print("my_control is currently hidden");
} else {
print("my_control is currently visible");
}
}