Clip.AddProperty2

Introduced

v11.0 (2013)

Description

Creates and adds a UserDataBlob or CustomProperty to a Clip object. This method is similar to Clip.AddProperty but specific to the python language.

C# Syntax

Object Clip.AddProperty2( Object in_Preset, Boolean in_Branch, String in_name );

Scripting Syntax

oReturn = Clip.AddProperty2( Preset, [BranchFlag], [Name] );

Return Value

CustomProperty, UserDataBlob or UserDataMap, depending on the preset that was used.

Parameters

Parameter Type Description
Preset String This argument contains either the name of a Property Preset or a string with the filename or full path to a Preset file.

Note: Only CustomProperty Presets, UserDataBlob Presets, and UserDataMap Presets are valid for clips.

The type of property that is created is determined by this argument. For example, "CustomProperty" creates an empty CustomProperty and "UserDataBlob" creates a UserDataBlob.
BranchFlag Boolean False is the only supported value.

Default Value: false

Name String Represents the name of the new property (see SIObject.Name). If not specified the object is named based on the Preset argument.

See Also

SceneItem.AddProperty Clip.Properties