CinewarePluginHelper Class Reference

#include <cineware_messages.h>

Static Public Member Functions

static MAXON_METHOD Bool IsFromHost (const cinema::BaseList2D *object)
 
static MAXON_METHOD UniqueHash GetHostID (const cinema::BaseList2D *object)
 
static MAXON_METHOD UniqueHash GetScatterUniqueHashCode (const ScatteredInstanceInfo &instanceInfo)
 
static MAXON_METHOD maxon::String GetHostName ()
 
static MAXON_METHOD void SetHostApplicationID (Int32 appID)
 
static MAXON_METHOD Bool IsHostVectorworks ()
 
static MAXON_METHOD Bool IsHostRevit ()
 
static MAXON_METHOD Bool IsHostArchicad ()
 
static MAXON_METHOD Bool IsHostLayer (const cinema::BaseObject *obj)
 
static MAXON_METHOD Bool IsHostClass (const cinema::BaseObject *obj)
 
static MAXON_METHOD Bool IsRedshiftLayer (const cinema::BaseObject *obj)
 
static MAXON_METHOD Bool IsRedshiftObjectClass (const cinema::BaseObject *obj)
 
static MAXON_METHOD Bool IsRedshiftScatterClass (const cinema::BaseObject *obj)
 

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (CinewarePluginHelper, MAXON_REFERENCE_STATIC, "net.maxon.interfaces.cinewarepluginhelper")
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( CinewarePluginHelper  ,
MAXON_REFERENCE_STATIC  ,
"net.maxon.interfaces.cinewarepluginhelper"   
)
private

◆ IsFromHost()

static MAXON_METHOD Bool IsFromHost ( const cinema::BaseList2D object)
static

Check if the object has a AEC id defined by the host.

Parameters
[in]objectThe object where the ID should be retrieve and compare to 0.
Returns
true if the ID is defined and different than 0. It means the object is coming from an AEC host.

◆ GetHostID()

static MAXON_METHOD UniqueHash GetHostID ( const cinema::BaseList2D object)
static

Retrieve the AEC Unique ID defined by the plugin host. If the ID cannot be retrieve using CINEWARE_GENERIC_APP_ID it will send a message to the plugin.

Parameters
[in]objectthe object where the ID should be retrieve.
Returns
Hash code of the given object.

◆ GetScatterUniqueHashCode()

static MAXON_METHOD UniqueHash GetScatterUniqueHashCode ( const ScatteredInstanceInfo instanceInfo)
static

Generate hash including dirty data of the asset object.

◆ GetHostName()

static MAXON_METHOD maxon::String GetHostName ( )
static

◆ SetHostApplicationID()

static MAXON_METHOD void SetHostApplicationID ( Int32  appID)
static

◆ IsHostVectorworks()

static MAXON_METHOD Bool IsHostVectorworks ( )
static

◆ IsHostRevit()

static MAXON_METHOD Bool IsHostRevit ( )
static

◆ IsHostArchicad()

static MAXON_METHOD Bool IsHostArchicad ( )
static

◆ IsHostLayer()

static MAXON_METHOD Bool IsHostLayer ( const cinema::BaseObject obj)
static

◆ IsHostClass()

static MAXON_METHOD Bool IsHostClass ( const cinema::BaseObject obj)
static

◆ IsRedshiftLayer()

static MAXON_METHOD Bool IsRedshiftLayer ( const cinema::BaseObject obj)
static

◆ IsRedshiftObjectClass()

static MAXON_METHOD Bool IsRedshiftObjectClass ( const cinema::BaseObject obj)
static

◆ IsRedshiftScatterClass()

static MAXON_METHOD Bool IsRedshiftScatterClass ( const cinema::BaseObject obj)
static