AddRelation (ClipContainer)
Introduced
4.0
Description
Adds a relation between two clip objects' TimeControls. The relation is by default between the StartOffset, ClipIn and ClipOut values of the master and slave clip.
Please take note that this method will fail if the addition of a new relation would create an evaluation cycle. For instance, let say that you have three clips A, B and C. If you already have ClipRelations between A-B and between B-C then attempting to add a ClipRelation between C-A will fail.
Scripting Syntax
ClipContainer.AddRelation( MasterClip, SlaveClip, [Name] )
C# Syntax
ClipRelation ClipContainer.AddRelation( Clip in_pMaster, Clip in_pSlave, String in_bstrName );Parameters
|
Parameter |
Type |
Description |
|
MasterClip |
The master clip object. |
|
|
SlaveClip |
The slave clip object. |
|
|
Name |
The name of the new clip relation |
Return Value
The newly created ClipRelation object.
Examples
JScript Example
/* See the example for the ClipContainer.NestedRelations property. */
See Also
|
|
|
Autodesk Softimage v7.5