FusionUnitsManager.isValidExpression Method

Parent Object: FusionUnitsManager
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/FusionUnitsManager.h>

Description

Checks to see if the given expression is valid.

Syntax

"fusionUnitsManager_var" is a variable referencing a FusionUnitsManager object.
returnValue = fusionUnitsManager_var.isValidExpression(expression, units)
"fusionUnitsManager_var" is a variable referencing a FusionUnitsManager object.

#include <Fusion/Fusion/FusionUnitsManager.h>

returnValue = fusionUnitsManager_var->isValidExpression(expression, units);

Return Value

Type Description
boolean Returns True if it is a valid expression.

Parameters

Name Type Description
expression string The expression to validate.
units string The units to use when validating the expression.

Version

Introduced in version January 2015