/
getSubjectSolvingConstraintError

getSubjectSolvingConstraintError

Description

Gets the solving error for the subject(s).

The Issues map displays the solve error (the percentage of markers whose solving constraint error is considered too large) for the subject(s) (see Get an overview with the time bar Issues map ). This command enables access to this information.

Functional area

Data Retrieval

Command syntax

Syntax

getSubjectSolvingConstraintError 'subjectName or all'

Arguments

Name Type Required Comments
subjectName string yes The name of the subject or all.

Flags

None

Return value

float, with range 0.0 to 100.0

Examples

// Get solve error of current subject at current frame

string $cs = `getCurrentSubject`;
float $pl = `getSubjectSolvingConstraintError $cs`;
print $pl;

// Get solve error of all subjects at current frame

float $pl = `getSubjectSolvingConstraintError "all"`;
print $pl;

// Get solve error of paul at current frame
float $pl = `getSubjectSolvingConstraintError "paul"`;
print $pl;