3ds Max C++ API Reference
MaxSDK::NotificationAPIUtils Namespace Reference

This namespace exposes 4 private internal calls to the 3dsmax application. More...

Functions

NotificationAPIUtilsExport ViewExpGetActiveViewExpIncludingExtendedViews (bool &outIsAnExtendedView)
 Gets Active ViewExp considering extended and non extended views. More...
 
NotificationAPIUtilsExport ViewExpGetViewExpFromUndoIDIncludingExtendedViews (int viewUndoID, bool &outIsAnExtendedView)
 Gets the ViewExp from its view undoID considering extended views and all tab panels not only the active tab panel. More...
 
NotificationAPIUtilsExport void GetViewportLabelFromUndoIDIncludingExtendedViews (int viewUndoID, MSTR &outViewportLabel)
 Gets the viewport label from its view undoID considering extended views and all tab panels not only the active tab panel. More...
 
NotificationAPIUtilsExport bool IsUsingActiveView (RenderSettingID renderSettingID)
 To know if the renderer is locked. More...
 

Detailed Description

This namespace exposes 4 private internal calls to the 3dsmax application.

Useful for Active Shade renderers to keep track of the active view.

Function Documentation

◆ GetActiveViewExpIncludingExtendedViews()

NotificationAPIUtilsExport ViewExp* MaxSDK::NotificationAPIUtils::GetActiveViewExpIncludingExtendedViews ( bool &  outIsAnExtendedView)

Gets Active ViewExp considering extended and non extended views.

Parameters
outIsAnExtendedViewwill be true if the view is an extended view.
Returns
the ViewExp* for the active viewport

◆ GetViewExpFromUndoIDIncludingExtendedViews()

NotificationAPIUtilsExport ViewExp* MaxSDK::NotificationAPIUtils::GetViewExpFromUndoIDIncludingExtendedViews ( int  viewUndoID,
bool &  outIsAnExtendedView 
)

Gets the ViewExp from its view undoID considering extended views and all tab panels not only the active tab panel.

Parameters
viewUndoIDthe view undo ID
outIsAnExtendedViewwill be true if the view is an extended view.
Returns
the ViewExp* for the viewport whose undoId is viewUndoID

◆ GetViewportLabelFromUndoIDIncludingExtendedViews()

NotificationAPIUtilsExport void MaxSDK::NotificationAPIUtils::GetViewportLabelFromUndoIDIncludingExtendedViews ( int  viewUndoID,
MSTR outViewportLabel 
)

Gets the viewport label from its view undoID considering extended views and all tab panels not only the active tab panel.

Parameters
viewUndoIDthe view undo ID
outViewportLabelthe viewport label.

◆ IsUsingActiveView()

NotificationAPIUtilsExport bool MaxSDK::NotificationAPIUtils::IsUsingActiveView ( RenderSettingID  renderSettingID)

To know if the renderer is locked.

Parameters
renderSettingIDthe render setting ID
Returns
true if it is locked to a given viewport