<viz>.link

Link two objects

 

<viz>.link(
    src    
    dst    
    priority = 0    
    mask = None    # Keyword argument
    srcFlag = None    # Keyword argument
    dstFlag = None    # Keyword argument
    offset = None    # Keyword argument
    enabled = None    # Keyword argument

)

 

src

Source object


dst

Destination object


priority = 0

The priority of the link. Vizard updates links in order of their priority from lowest to highest.


mask = None

Initial link mask


srcFlag = None

Initial source flag


dstFlag = None

Initial destination flag


offset = None

Initial offset


enabled = None

Initial enabled mode


Remarks

This command will link the destination object to the source object. When two objects are linked, the position/rotation of the source object will automatically be applied to the destination object.

The returned link object allows you to specify how the objects are linked.

Currently the following objects are supported as source objects:

node
viewpoint
sensor
bone
animation path

Currently the following objects are supported as destination objects:

node
viewpoint
uniform

Return Value

Link object