Sets up the source connection properties for the animation object. This method is used instead of directly setting the animation object's source property if additional properties have to be specified for the connection.
Syntax
object.SetSource bstrExpression, [bUseAnyway], [vaUpdateRate], [vaDeadband], [vaTolerance], [vaConnectionFlags]
Properties
The SetSource method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
bstrExpression |
String. The expression representing the source. |
bUseAnyway |
Boolean. (Optional) Specifies whether to use a connection if the source doesn't exist. Default = False. |
aUpdateRate |
Float. (Optional) The value at which to set the update rate for the connection. |
aDeadband |
Float. (Optional) The value at which to set the deadband for the connection. |
aTolerance |
Float. (Optional) The value at which to set the tolerance for the connection. |
aConnectionFlags |
Long. (Optional) Reserved Word. |
Remarks
The vaTolerance parameter only applies in expressions and exact match tables.