This page contains reference documentation for the UpdateViews function. This function refreshes the display of all the rendered worksheet views.
int UpdateViews()
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();
For sample code: