IC8 Python API:RLPy RIAccessory

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

Description

Represents an accessory object in the scene. It provides controls for visibility and dummy state, pivot placement, skin-weight transfer, access to material and physics components, and conversion to hair or face-hair types.

Class Methods

RLPy.RIAccessory.TransferSkinWeight(self, strTemplateType )

Transfer skin weight.

Returns

RLPy.RStatus.Success - Succeed
RLPy.RStatus.Failure - Fail
1 # No example

Description

Represents an accessory object in the scene. It provides controls for visibility and dummy state, pivot placement, skin-weight transfer, access to material and physics components, and conversion to hair or face-hair types.

Constructor & Destructor

__init__ (self, *args, **kwargs)

Initializes a new ri accessory instance.

Parameters

  • args
  • kwargs

Member Functions

ConvertToFaceHair (self, eFaceHairType)

Converts to different facehair type.

Parameters

  • eFaceHairType

ConvertToHair (self, eHairType)

Converts to different hair type.

Parameters

  • eHairType

GetMaterialComponent (self)

Gets material component of the object.

GetPhysicsComponent (self)

Gets physics component of the object.

IsDummy (self)

Checks if prop state is dummy.

IsVisible (self, kTime)

Checks if prop is visible.

Parameters

  • kTime

SetDummy (self, bIsDummy)

Sets the prop state whether its dummy or not.

Parameters

  • bIsDummy

SetPivot (self, kPosition, kOrientation)

This function lets you re-position and re-orient the current object's pivot.

Parameters

  • kPosition
  • kOrientation

SetVisible (self, kTime, bVisible)

( Experimental Function ) Set visible status.

Parameters

  • kTime
  • bVisible

TransferSkinWeight (self, strTemplateType)

Transfer skin weight.

Parameters

  • strTemplateType

Properties

thisown

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