#include <cineware_messages.h>
◆ MAXON_INTERFACE_NONVIRTUAL()
◆ IsFromHost()
Check if the object has a AEC id defined by the host.
- Parameters
-
| [in] | object | The 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()
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] | object | The object where the ID should be retrieve. |
- Returns
- Hash code of the given object.
◆ GetScatterUniqueHashCode()
Generate hash including dirty data of the asset object.
◆ GetHostName()
◆ SetHostApplicationID()
◆ IsHostVectorworks()
◆ IsHostRevit()
◆ IsHostArchicad()
◆ IsHostLayer()
◆ IsHostClass()
◆ IsRedshiftLayer()
◆ IsRedshiftObjectClass()
◆ IsRedshiftScatterClass()
◆ ShowActiveLayerWarningIfNeeded()
Show a warning message if the user is trying to hide a layer that is the active layer in the host application.
- Parameters
-
| [in] | ml | The object to check. |
- Returns
- True if the warning message was shown, false if it was not needed.
◆ IsHostActiveLayer()
Checks if the object passed as parameter is the current active layer in the host application.
- Parameters
-
| [in] | obj | The object to check. |
- Returns
- True if the object is the active layer in the host application.
◆ SetActiveLayerID()
Define the ID of the active layer in the host application if the host application support the concept of active layer.
- Parameters
-
| [in] | AecEntityHash | The hash of the current active layer that is activated. |
◆ SendMxAnalyticsEvent()
Required to send MxAnalytics Events from plugin side.