Instance Object

About

  • Header File: objects/description/oinstance.h

  • Description Category: Scene Objects. A c4d.BaseObject.

  • Included Description:

Parameters

Parameters are accessed with C4DAtom.GetParameter()/C4DAtom.SetParameter().


Parameter: Reference Object

  • Parameter ID: c4d.INSTANCEOBJECT_LINK

  • Parameter Type: c4d.BaseList2D


Parameter: Instance Mode

  • Parameter ID: c4d.INSTANCEOBJECT_RENDERINSTANCE_MODE

  • Parameter Type: int

  • Cycle Values:
    • Instance (c4d.INSTANCEOBJECT_RENDERINSTANCE_MODE_NONE)

    • Render Instance (c4d.INSTANCEOBJECT_RENDERINSTANCE_MODE_SINGLEINSTANCE)

    • Multi-Instance (c4d.INSTANCEOBJECT_RENDERINSTANCE_MODE_MULTIINSTANCE)


Parameter: Positions Source

  • Parameter ID: c4d.INSTANCEOBJECT_MULTIPOSITIONINPUT

  • Parameter Type: c4d.BaseList2D


Parameter: Viewport Mode

  • Parameter ID: c4d.INSTANCEOBJECT_DRAW_MODE

  • Parameter Type: int

  • Cycle Values:
    • Off (c4d.INSTANCEOBJECT_DRAW_MODE_NONE)

    • Points (c4d.INSTANCEOBJECT_DRAW_MODE_POINTS)

    • Matrix (c4d.INSTANCEOBJECT_DRAW_MODE_CUBE)

    • Bounding Box (c4d.INSTANCEOBJECT_DRAW_MODE_BBOX)

    • Object (c4d.INSTANCEOBJECT_DRAW_MODE_FULL)


Parameter: Swap with Reference

  • Parameter ID: c4d.INSTANCEOBJECT_SWAP

  • Parameter Type: A button.