Scene.find_by_itemtype

Scene.find_by_itemtype(itemtype)[source]

Find the first scene object with a data item of the given type.

Parameters:
itemtypecompas.data.Data

The type of the data item associated with the scene object.

Returns:
SceneObject or None