get_scope_topo_faces#

ControlData.get_scope_topo_faces(scope)#

Gets the topoface ids for the given scope.

Parameters:

scope (ScopeDefinition) – Scope definition to evaluate entities.

Return type:

Iterable[int]

Returns:

Returns the ids of topofaces.

Notes

This is a beta API. The behavior and implementation may change in future.

Examples

>>> topo_faces = model.control_data.get_scope_topo_faces(
>>>                 prime.ScopeDefinition(model = model,
>>>                 entity_type = prime.ScopeEntity.TOPOFACES,
>>>                 part_expression = "*"))