OperationManager::SetAutoUpdate

Description

Set the status of the recalculate to be enable or disable.

Syntax

void        SetAutoUpdate(BOOL bOn = TRUE);

Parameters

bOn
[input] Whether to set the status of the recalculate to be enable (TRUE) or not (FALSE);default value is TRUE.

Return

Examples

//After run the function below, do some analysis operation, can see the recalculate button is gray.
void OperationManager_SetAutoUpdate_Ex1()
{
        OperationManager opManager;
    opManager = Project.Operations;
    bool bRet;   
    opManager.SetAutoUpdate(FALSE);
}

Header to Include

origin.h

See Also

OperationManager::IsAutoUpdate