Value (UserDataBlob) *

Introduced

3.5

Description

Sets or returns binary user data on the UserDataBlob as a BSTR (String).

The data is copied internally and will be persisted as part of the scene. There are no limits to the size or structure of this data.

Because scripting languages do not support binary data directly, the contents are represented as a BSTR string. However the contents of this string are not necessarily unicode text, it can actually contain a true binary array of bytes.

From scripting it is certainly possible to store strings on a UserDataBlob using this property. This is similar to saving a string in a parameter on a CustomProperty object.

C# Syntax

    // get accessor
    String rtn = UserDataBlob.Value;

    // set accessor
    UserDataBlob.Value = String;

See Also

UserDataItem.Value | CustomProperty.BinaryData | CustomProperty.AddParameter

Autodesk Softimage v7.5