EditModel3D.UpdateViews

This page contains reference documentation for the UpdateViews function. This function refreshes the display of all the rendered worksheet views.

Prototype

int UpdateViews()

Examples

Examples are as follows:

// Clear dependencies for the selected node. Use UpdateViews to ensure changes to the model 
// are passed to the worksheet.

int selectCount = Model.GetSelectCount();
for( int s = 0; s < selectCount; ++s )
{
   Node node = Model.GetSelectedNode( s ).GetNode();
   node = (Node)Model.EditNode( node );
   node.ClearDependencies();
}

Model.UpdateViews();

Working Sample Code

For sample code: