The NodeExposureInterface structure provides methods to create a INodeExposureR Interface for a given node and get an existing interface from a node.
The Node Exposure Interface can be used to define the exposure of a scene node to various areas of the 3ds Max User Interface. By default, all scene nodes are visible to all areas of the 3ds Max UI, but by creating a Node Exposure Interface and changing the exposure settings in it, a node could be excluded from sub-systems like the Select By Name dialog, the Schematic View and the Track View.
Available in 3ds Max 2008 and higher. Previously available in the Avguard Extensions.
Creates the node exposure interface if not already present, and returns the INodeExposureR Interface value.
Returns the node exposure interface if already created, otherwise returns 'undefined'
Both methods return a Function Published Interface value:
Returns true if the the node is exposed to the UI sub-system corresponding to the 0-based index.
0 - SelectObjects (Select By Name dialog)
2 - Maxscript -- currently unsupported
3 - Merge -- currently unsupported
4 - MergeAnimation -- currently unsupported
5 - Replace -- currently unsupported
As noted above, values 2 through 5 currently have no affect!
This method sets all node exposures to the given Boolean value.
If the argument is false, the node will be excluded from all UI areas of exposure.
If the argument is true, the node will be exposed to all UI sub-systems.
This method sets the node exposure for thespecific UI area defined by the second argument to the Boolean value defined by the first argument.
See 'Class INodeExposure' in the SDK help file for more information on this interface.