IC8 Python API:RLPy RAttribute

From Reallusion Wiki!
Jump to: navigation, search
Main article: iC8 Modules.
Last modified: 10/21/2026

Description

This class is used to store the attribute of a datablock.

Class Methods

RLPy.RAttribute.GetFlag(self)

Get attribute flag.

Returns

attribute flag - RLPy.EAttributeFlag

1 # No example

RLPy.RAttribute.GetName(self)

Get attribute name.

Returns

attribute name - string

1 # No example

RLPy.RAttribute.GetType(self)

Get attribute type.

Returns

attribute type - RLPy.EAttributeType

1 # No example

RLPy.RAttribute.SetFlag(self, eFlag )

Set attribute flag.

Parameters

eFlag[IN] attribute flag - RLPy.EAttributeFlag
1 # No example

RLPy.RAttribute.SetName(self, strName )

Set attribute name.

Parameters

strName[IN] attribute name - string
1 # No example

RLPy.RAttribute.SetType(self, eType )

Set attribute type.

Parameters

eType[IN] attribute type - RLPy.EAttributeType
1 # No example

Description

This class is used to store the attribute of a datablock.

Constructor & Destructor

__init__ (self, *args)

Initializes a new attribute instance.

Parameters

  • args

Member Functions

GetFlag (self)

Gets attribute flag.

GetName (self)

Gets attribute name.

GetType (self)

Gets attribute type.

SetFlag (self, eFlag)

Sets attribute flag.

Parameters

  • eFlag

SetName (self, strName)

Sets attribute name.

Parameters

  • strName

SetType (self, eType)

Sets attribute type.

Parameters

  • eType

Properties

thisown

Indicates whether this SWIG proxy owns the underlying C++ object.