inventor.Engine
class Engine(FieldContainer)
Base class for scene objects of type SoEngine.Method resolution order:
- Engine
- FieldContainer
- object
Methods defined here:
get_output(...)
Return the engine output by name or list of all outputs.Returns:
-
Engine output instance for provided name or list of all outputs if
no name is given.
Methods inherited from FieldContainer:
check_type(...)
Checks if a scene object is derived form a given type.Args:
-
Name of type to check for as string.
Returns:
-
True if the instance is derived from the given type.
enable_notify(...)
Enables or disables change notifications for a scene object.Args:
-
Boolean value indicating if notifications are enabled (True)
or not (False).
get(...)
Returns a field or part by name.Args:
- name: Field or part name to be returned.
- createIfNeeded: For node kit parts the second parameter controls if the named part should be created if is doesn't exist yet.
Returns:
-
Field or node kit part if name is given. If no name is passed all
field values are returned as string.
get_field(...)
Returns a field object by name or list of all fields.Returns:
-
Field matching the provided name or list of all fields if no name
was given.
get_name(...)
Returns the instance name of a scene object.Returns:
-
String containing scene object name.
get_type(...)
Return the type name of a scene object.Returns:
-
String containing scene object type.
internal_pointer(...)
Return the internal field container pointer.Returns:
-
Internal pointer to field container instance.
set(...)
Initializes fields or parts of a node kit.Args:
-
Initialization string containing field names and values.
set_name(...)
Sets the instance name of a scene object.Args:
-
Name for scene object instance.