SAC - Logical and Mathematical API Functions
SAC - Logical and Mathematical API Functions
EndPoint Returns the name of the end point of the line L100.EndPoint
1
SUBASSEMBLY COMPOSER COURSE
ING. RONALD BRAÑEZ SAAVEDRA
AUTODESK CERTIFIED PROFESSIONAL
(OffsetTarget)
Goals of Elevation Returns the elevation of the target ET1.Elevation
Elevation
(ElevationTarget)
Goals IsValid Evaluate the application of the True or False SurfaceTarget.IsValid
objective OffsetTarget.IsValid
ElevationTarget.IsValid
Subassembly IsLayout Evaluates whether the SA is in False or True SA.IsLayout
Layout mode
Enumeration value Converts the values of the enumerated list to MyList.Value
(Enumerate) Text (String)
Source : self made
Logical operators are Boolean functions (False/True); those that can be applied in SAC are:
Operator Function Example
Greater than > A>B
Smaller than < A<B
Equal = A=B
2
SUBASSEMBLY COMPOSER COURSE
Greater than or >= A >= B
Equal A <=B
<=
Less than or Equal
AND AND (A >= 0.5) AND (A <= 5)
Both comparisons must be met for it to be
true.
EITHER OR (A >= 0.5) OR (A <= 5)
HE has to achieve a of the
comparisons to make it true
Source : self made