BaseSourceAmbient#

class ansys.speos.core.source.BaseSourceAmbient(project, name, description='', metadata=None, source_instance=None)#

Bases: BaseSource

Super Class for ambient sources.

Parameters:
projectansys.speos.core.project.Project

Project in which source shall be created.

namestr

Name of the source.

descriptionstr

Description of the source. By default, "".

metadataOptional[Mapping[str, str]]

Metadata of the feature. By default, {}.

source_instanceansys.api.speos.scene.v2.scene_pb2.Scene.SourceInstance, optional

Source instance to provide if the feature does not have to be created from scratch By default, None, means that the feature is created from scratch by default.

Parameters:
  • project (BaseSourceAmbient.__init__.project)

  • name (str)

  • description (str)

  • metadata (Optional[Mapping[str, str]])

  • source_instance (Optional[ansys.speos.core.kernel.scene.ProtoScene.SourceInstance])

Notes

This is a Super class, Do not instantiate this class yourself

Import detail#

from ansys.speos.core.source import BaseSourceAmbient

Classes#

AutomaticSun

Sun type Automatic.

Manual

Sun type Manual>.