Provides math functions that are not found in the standard System.Math namespace.
Some of these are similar to the functions that are available for Inventor parameter expressions (e.g. in the Parameters dialog).
Inheritance Hierarchy
System.ObjectAutodesk.iLogic.Runtime.LmiMath
Namespace: Autodesk.iLogic.Runtime
Assembly: Autodesk.iLogic.Runtime (in Autodesk.iLogic.Runtime.dll) Version: 29.0
Syntax
VB
Public NotInheritable Class LmiMath
C#
public static class LmiMath
The LmiMath type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Ceil |
Returns the smallest integral value that is greater than or equal to the specified number.
(This uses the standard .NET Math.Ceiling method.)
| |
| EqualWithinTolerance(Double, Double) |
Returns true if the two numbers are equal within a tolerance of 1.0E-7.
| |
| EqualWithinTolerance(Double, Double, Double) |
Returns True if two numbers are equal within the specified tolerance (that is, almost equal).
| |
| Ln |
Returns the natural (base e) logarithm of a specified number.
(This uses the standard .NET Math.Log method.)
| |
| MakeList |
Creates an ArrayList from one or more values.
| |
| MakePath |
Defines the path to a component name in a subassembly.
To specify the path, list all subassembly levels in the order they appear in the assembly model browser tree.
This function is required if you want to specify a component name when the same name also exists elsewhere in the assembly.
| |
| MaxOfMany |
Returns the largest value from a list of two or more numbers.
Example:
min = MaxOfMany(x, y, 12)
| |
| MinOfMany |
Returns the smallest value from a list of two or more numbers.
Example:
min = MinOfMany(x, y, 12)
| |
| Sign0 |
Returns an integer that indicates the sign of a number.
|
