EntList#

Usage:

EntList Class API Wrapper

class EntList[source]#

Bases: object

Wrapper for EntList class of Moldflow Synergy.

convert_to_string()[source]#

Convert a list of entities into a string.

Returns:

The string representation of the list.

Return type:

str

entity(index)[source]#

Get the entity at the specified index.

Parameters:

index (int) – The index of the entity to get.

Returns:

The entity at the specified index.

Return type:

EntList

select_from_predicate(predicate)[source]#

Converts a predicate into a list of entities

Parameters:

predicate (Predicate | None) – Predicate object that defines the criterion for inclusion of an entity.

Return type:

None

select_from_saved_list(list_name)[source]#

Selects entities from a saved list.

Parameters:

list_name (str) – The name of the saved list.

Return type:

None

select_from_string(entity_string)[source]#

Converts a string to a list of entities

Parameters:

entity_string (str) – string containing entity names.

Return type:

None

property size#

The number of entities in the list.

Getter:

Get the number of entities in the list.

Type:

int