ScriptInterface:SetSelLayer(layer, multiSelect, allowDeselect)
Version added: before 9.5
Arguments:
Name | Type | Description | Default | Ver |
layer | MohoLayer | New selected layer | < 9.5 | |
multiSelect | bool | If false, all previously selected layers will be deselected. | false | < 9.5 |
allowDeselect | bool | true | < 9.5 |
Return value:
void none
You also have to call ScriptInterface:UpdateUI to update display of Layers window.
If the layer is in the closed group You can call ScriptInterface:ShowLayerInLayersPalette to open the group and show the layer. This action includes updating UI too.
If the layer is in the closed group You can call ScriptInterface:ShowLayerInLayersPalette to open the group and show the layer. This action includes updating UI too.
Search results
Usage of 'SetSelLayer' is found in the following scripts:
Multilayer magnet (Original Edition) by A.Evseeva
View Code
Merge skeletons (Original Edition) by A.Evseeva
View Code
AE Meshinstance (Original Edition) by A.Evseeva
View Code
Modified transform bone tool (Original Edition) by A.Evseeva
View Code
MR Guides (Original Edition) by eugenebabich
View Code
SS - Virtual Bones (Original Edition) by simplsam
View Code
MR Overlay (Moho 13.5 Edition) by eugenebabich
View Code
MR Overlay (Moho 14.1+ Edition) by eugenebabich
View Code