View on GitHub

PyInventor

3D Graphics in Python with Open Inventor

inventor.Field

class Field(object)

Represents a field.

Field values can be accessed as attributes of a scene object. Use the field objects to create connections to other fields or engine outputs.

Methods defined here:

append_connection(...)

Connects this field as a slave to master while keeping existing connections in place.

Args:

connect_from(...)

Connects this field as a slave to master.

Args:

disconnect(...)

Disconnects connections from this field as a slave to master(s).

Args:

enable_connection(...)

Enables or disables the connections to this field.

Args:

get_connected_engine(...)

Returns engine output that this field is connected to.

Returns:

get_connected_field(...)

Returns master field that this field is connected to.

Returns:

get_connections(...)

Returns a list of field connections.

Returns:

get_container(...)

Returns the container object of this field.

Returns:

get_enums(...)

Returns the values that an enum or bitmask field understands.

Returns:

get_name(...)

Returns the field name.

Returns:

get_type(...)

Returns the type of the field.

Returns:

is_connected(...)

Returns true if the field is connected to a master.

Returns:

is_connection_enabled(...)

Returns if connections to this field is considered active.

Returns:

touch(...)

Notify the field as well as the field's owner that it has been changed.