Skip to main content
Namespace: VM.API.Pre.EasyFlex
Assembly: VM.API.Pre.EasyFlex.dll
This class implements APIs for BoundaryCondition, RigidBodyElementSingle, RigidBodyElementPair, Range class.

Inheritance

object ← EFConstraintAPI

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

CreateBoundaryConditionWithColor(SubSystemDocument, Obj, IEnumerable<Color>, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, Obj?, string)

Parameters

document SubSystemDocument body Obj colors IEnumerable<Color> pointX ExpressionValueVariable? pointY ExpressionValueVariable? pointZ ExpressionValueVariable? referenceFrame Obj? name string

Returns

Obj

CreateBoundaryConditionWithFaces(SubSystemDocument, IEnumerable<Obj>, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, Obj?, string)

Parameters

document SubSystemDocument baseGeometry IEnumerable<Obj> pointX ExpressionValueVariable? pointY ExpressionValueVariable? pointZ ExpressionValueVariable? referenceFrame Obj? name string

Returns

Obj

CreateBoundaryConditionWithFaceset(SubSystemDocument, Obj, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, Obj?, string)

Parameters

document SubSystemDocument baseGeometry Obj pointX ExpressionValueVariable? pointY ExpressionValueVariable? pointZ ExpressionValueVariable? referenceFrame Obj? name string

Returns

Obj

CreateRange(SubSystemDocument, Obj, Vector, Vector, ExpressionValueVariable?, string)

Create Range.

Parameters

subSystemDocument SubSystemDocument The SubSystemDocument to create the range. body Obj The body of the range. point Vector The point of the range. normalDirectionOfRange Vector The normal direction of the range. radius ExpressionValueVariable? The radius of the range. name string The name of the range. If empty, default name starts with ‘RANGE_’ will be generated and used.

Returns

Obj the new General object created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘body’ argument is null. ArgumentException Will be thrown if the type of ‘body’ is not SolidBody or if the magnitude of ‘normalDirectionOfRange’ is 0. ArgumentOutOfRangeException Will be thrown if the ‘radius’ value is equal to or less than 0.

CreateRigidBodyElementPairWithColor(SubSystemDocument, Obj, IEnumerable<Color>, Obj, IEnumerable<Color>, Vector, string)

Parameters

document SubSystemDocument baseBody Obj baseColors IEnumerable<Color> actionBody Obj actionColors IEnumerable<Color> point Vector name string

Returns

Obj

CreateRigidBodyElementPairWithColor(PartDocument, Obj, IEnumerable<Color>, Obj, IEnumerable<Color>, Vector, string)

Parameters

document PartDocument baseBody Obj baseColors IEnumerable<Color> actionBody Obj actionColors IEnumerable<Color> point Vector name string

Returns

Obj

CreateRigidBodyElementPairWithFaces(IDocument, IEnumerable<Obj>, IEnumerable<Obj>, Vector, string)

Parameters

document IDocument baseGeometry IEnumerable<Obj> actionGeometry IEnumerable<Obj> point Vector name string

Returns

Obj

CreateRigidBodyElementPairWithFaceset(IDocument, Obj, Obj, Vector, string)

Parameters

document IDocument baseGeometry Obj actionGeometry Obj point Vector name string

Returns

Obj

CreateRigidBodyElementWithColor(SubSystemDocument, Obj, IEnumerable<Color>, Vector, string)

Parameters

document SubSystemDocument body Obj colors IEnumerable<Color> point Vector name string

Returns

Obj

CreateRigidBodyElementWithColor(PartDocument, Obj, IEnumerable<Color>, Vector, string)

Parameters

document PartDocument body Obj colors IEnumerable<Color> point Vector name string

Returns

Obj

CreateRigidBodyElementWithFaces(IDocument, IEnumerable<Obj>, Vector, string)

Parameters

document IDocument baseGeometry IEnumerable<Obj> point Vector name string

Returns

Obj

CreateRigidBodyElementWithFaceset(IDocument, Obj, Vector, string)

Parameters

document IDocument baseGeometry Obj point Vector name string

Returns

Obj