LayerViewModel.getViewModels Method

Retrieve all the viewModels of this layer, or within the specific template cell of the layer.
 

Parameters

getHidden

Type: Boolean
True to show hidden design objects
templateCellId

Type: string
(Optional)The templateId of the template cell to search within.

Return Value


Type: Array
ElementType: DesignObjectViewModel
The view models.