Assembly: VM.API.Pre.EasyFlex.dll This class implements APIs for BoundaryCondition, RigidBodyElementSingle, RigidBodyElementPair, Range class.
Inheritance
object ← EFConstraintAPIExtension 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
ObjCreateBoundaryConditionWithFaces(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
ObjCreateBoundaryConditionWithFaceset(SubSystemDocument, Obj, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, Obj?, string)
Parameters
document SubSystemDocument
baseGeometry Obj
pointX ExpressionValueVariable?
pointY ExpressionValueVariable?
pointZ ExpressionValueVariable?
referenceFrame Obj?
name string
Returns
ObjCreateRange(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
ObjCreateRigidBodyElementPairWithColor(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
ObjCreateRigidBodyElementPairWithFaces(IDocument, IEnumerable<Obj>, IEnumerable<Obj>, Vector, string)
Parameters
document IDocument
baseGeometry IEnumerable<Obj>
actionGeometry IEnumerable<Obj>
point Vector
name string
Returns
ObjCreateRigidBodyElementPairWithFaceset(IDocument, Obj, Obj, Vector, string)
Parameters
document IDocument
baseGeometry Obj
actionGeometry Obj
point Vector
name string
Returns
ObjCreateRigidBodyElementWithColor(SubSystemDocument, Obj, IEnumerable<Color>, Vector, string)
Parameters
document SubSystemDocument
body Obj
colors IEnumerable<Color>
point Vector
name string
Returns
ObjCreateRigidBodyElementWithColor(PartDocument, Obj, IEnumerable<Color>, Vector, string)
Parameters
document PartDocument
body Obj
colors IEnumerable<Color>
point Vector
name string
Returns
ObjCreateRigidBodyElementWithFaces(IDocument, IEnumerable<Obj>, Vector, string)
Parameters
document IDocument
baseGeometry IEnumerable<Obj>
point Vector
name string
Returns
ObjCreateRigidBodyElementWithFaceset(IDocument, Obj, Vector, string)
Parameters
document IDocument
baseGeometry Obj
point Vector
name string