create_asset_layers

create_asset_layers(asset, parent_layer=None, with_selection_set=True)

Create layers for an Asset. :param asset: The asset node :param parent_layer: The optional parent layer group where to create the new layer :param with_selection_set: If True, creates a sub layer per asset’s selection set, if False, creates a single layer for the asset. :return: Nothing returned