v6.0
Toggles the render region's selection tracking state in the specified
viewport(s). When selection tracking is on, the render region will only
render the portion of the render region that contains the selected object(s)
total bounding box. When off, it renders any object that is render visible
within the render region.
Note: When toggling the selection tracking state for all regions at the same time,
if at least one region had selection tracking turned on, then the selection tracking
state of all regions will be turned off by this command. Otherwise it will be turned
on. Also note that changing the selection tracking state of all regions will also
change the global default and preferences.
This command replaces the obsolete command ToggleSelectionTracking.
RenderRegionToggleSelectionTracking( [Viewport] ); |
Parameter | Type | Description |
---|---|---|
Viewport | siViewport |
The viewport(s) containing the render region with the selection tracking to toggle. Default Value: siViewportCurrent (the viewport the cursor is currently hovering over) |
// Toggles the selection tracking status of render regions in all viewports. RenderRegionToggleSelectionTracking( siViewportAll ); |