AddCustomProperty (SceneItem)

Description

Create and add an empty CustomProperty to a SceneItem object. This method is only suitable for building a new CustomProperty object from scratch. To create a CustomProperty that has already been defined in a Preset or PluginItem use SceneItem.AddProperty.

Scripting Syntax

SceneItem.AddCustomProperty( [Name], [BranchFlag] )

C# Syntax

CustomProperty SceneItem.AddCustomProperty( String in_name, Boolean in_Branch );

Parameters

Parameter

Type

Description

Name

String

Represents the name of the new custom property

BranchFlag

Boolean

Add property on branch or the node of object.

Default Value: false

Return Value

CustomProperty

Examples

• See SceneItem.AddCustomProperty.1.vbs



Autodesk Softimage 2011