SourceGroup#

class ansys.speos.core.simulation.BaseSimulation.SourceGroup(simulation, source_group, stable_ctr=False)#

Source group for simulation source layering.

Parameters:
simulationBaseSimulation

Simulation owning the source group.

source_groupmessages.Scene.SimulationInstance.SourceGroup

Source group message to wrap.

stable_ctrbool

Variable to indicate if usage is inside class scope.

Parameters:
  • simulation (BaseSimulation)

  • source_group (ansys.api.speos.scene.v2.scene_pb2.Scene.SimulationInstance.SourceGroup)

  • stable_ctr (bool)

Notes

Do not instantiate this class yourself, use add_source_group() or source_groups on simulation classes.

Overview#

name

Name of the source group.

source_paths

Source paths assigned to the group.

Import detail#

from ansys.speos.core.simulation.BaseSimulation import SourceGroup

Property detail#

property SourceGroup.name: str#

Name of the source group.

Returns:
str

Group name.

property SourceGroup.source_paths: List[str]#

Source paths assigned to the group.

Returns:
List[str]

Grouped source paths.