AttributeCopy

Copies an attribute from location(s) in the copyFrom scene to location(s) in the input scene. Attribute data is shared between copies, so it's cheap to copy large attributes like geometry.point.P.

This node traverses the copyFrom scene at location fromRoot, and the input scene at location toRoot. From these locations on, it expects to find identical hierarchy and location names. For each location, if the copyFrom location has the attribute specified by fromAttr, for example, geometry.point.P, the attribute is copied to the location specified by toAttr, for example, geometry.point.Pref on the input location.

The optional toCEL parameter allows you to filter the evaluation of this node. Only locations in the destination scene that match toCEL are evaluated. If toCEL is empty, all locations in the destination scene are evaluated.

Connection Type

Connection Name

Function

Input

 

input

The scene locations to which the specified attributes are copied.

copyFrom

The scene location from which the specified attributes are copied.

 

Control (UI)

Default Value

Function

fromRoot

/root/world

Defines the copyFrom location. The fromRoot parameter options are available in either the scene graph widget or dropdown menu to the right of the parameter.

For more information, refer to the Scene Graph Location Widget Type in the Common Parameter Widgets.

fromAttr

N/A

Defines the attribute that is copied.

toRoot

/root/world

Defines the copyTo location. The toRoot parameter options are available in either the scene graph widget or dropdown menu to the right of the parameter.

For more information, refer to the Scene Graph Location Widget Type in the Common Parameter Widgets.

toAttr

N/A

Defines the location where the attribute is copied to.

toCEL

N/A

Allows you to filter the evaluation of this node. Only locations in the destination scene that match toCEL are evaluated. If toCEL is empty, all locations in the destination scene are evaluated.

The scene graph locations are specified using the Collection Expression Language (CEL). The toCEL parameter options are available by clicking Add Statements.

For more information, refer to the CEL Reference document found on the documentation HTML page (accessed through Help > Documentation) or the CEL Statement Widget Type in Common Parameter Widgets.