Skip to main content
Namespace: VM.API.Pre.EasyFlex
Assembly: VM.API.Pre.EasyFlex.dll
This class implements APIs for ConcentratedLoad and PressureLoad class.

Inheritance

object ← EFForceAPI

Extension Methods

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

Methods

CreateConcentratedLoadFaceWithColor(SubSystemDocument, Obj, IEnumerable<Color>, Vector?, string, string)

Create ConcentratedLoad with colors.

Parameters

subSystemDocument SubSystemDocument The SubSystemDocument to create the concentrated load. body Obj The body of the concentrated load colors IEnumerable<Color> The colors of the concentrated load. direction Vector? The direction of the concentrated load. force string The force of the concentrated load. name string The name of the concentrated load. If empty, default name starts with ‘CLOAD_’ will be generated and used.

Returns

Obj the new ConcentratedLoad object created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘body’, ‘colors’ argument is null. ArgumentException Will be thrown if the type of ‘body’ is not SolidBody. ArgumentException Will be thrown if the magnitude of ‘direction’ is 0.

CreateConcentratedLoadFaceWithFaces(SubSystemDocument, IEnumerable<Obj>, Vector?, string, string)

Create ConcentratedLoad with faces.

Parameters

subSystemDocument SubSystemDocument The SubSystemDocument to create the concentrated load. baseGeometry IEnumerable<Obj> The base geometry of the concentrated load direction Vector? The direction of the concentrated load. force string The force of the concentrated load. name string The name of the concentrated load. If empty, default name starts with ‘CLOAD_’ will be generated and used.

Returns

Obj the new ConcentratedLoad object created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘baseGeometry’ argument is null. ArgumentException Will be thrown if the type of ‘baseGeometry’ is not Face. ArgumentException Will be thrown if the magnitude of ‘direction’ is 0.

CreateConcentratedLoadFaceWithFaceset(SubSystemDocument, Obj, Vector?, string, string)

Create ConcentratedLoad with faceset.

Parameters

subSystemDocument SubSystemDocument The SubSystemDocument to create the concentrated load. baseGeometry Obj The base geometry of the concentrated load direction Vector? The direction of the concentrated load. force string The force of the concentrated load. name string The name of the concentrated load. If empty, default name starts with ‘CLOAD_’ will be generated and used.

Returns

Obj the new ConcentratedLoad object created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘baseGeometry’ argument is null. ArgumentException Will be thrown if the type of ‘baseGeometry’ is not IContactableRigid3D. ArgumentException Will be thrown if the magnitude of ‘direction’ is 0.

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

Create ConcentratedLoad with range.

Parameters

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

Returns

Obj the new ConcentratedLoad 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 Body and SolidBody. ArgumentException Will be thrown if the magnitude of ‘normalDirectionOfRange’ is 0. ArgumentOutOfRangeException Will be thrown if the magnitude of ‘direction’ is 0 or if the ‘radius’ value is equal to or less than 0.

CreatePressureLoadWithColor(SubSystemDocument, Obj, IEnumerable<Color>, bool, string, string)

Create PressureLoad with colors.

Parameters

subSystemDocument SubSystemDocument The SubSystemDocument to create the pressure load. body Obj The body of the pressure load colors IEnumerable<Color> The colors of the pressure load. isNormal bool The flag of normal of the pressure load. normal string The normal of the pressure load. name string The name of the pressure load. If empty, default name starts with ‘PLOAD_’ will be generated and used.

Returns

Obj the new PressureLoad object created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘body’, ‘colors’ argument is null. ArgumentException Will be thrown if the type of ‘body’ is not SolidBody. ArgumentException Will be thrown if the magnitude of ‘direction’ is 0.

CreatePressureLoadWithFaces(SubSystemDocument, IEnumerable<Obj>, bool, string, string)

Create PressureLoad with faces.

Parameters

subSystemDocument SubSystemDocument The SubSystemDocument to create the pressure load. baseGeometry IEnumerable<Obj> The base geometry of the pressure load isNormal bool The flag of normal of the pressure load. normal string The normal of the pressure load. name string The name of the pressure load. If empty, default name starts with ‘PLOAD_’ will be generated and used.

Returns

Obj the new PressureLoad object created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘baseGeometry’ argument is null. ArgumentException Will be thrown if the type of ‘baseGeometry’ is not Face.

CreatePressureLoadWithFaceset(SubSystemDocument, Obj, bool, string, string)

Create PressureLoad with faceset.

Parameters

subSystemDocument SubSystemDocument The SubSystemDocument to create the pressure load. baseGeometry Obj The base geometry of the pressure load isNormal bool The flag of normal of the pressure load. normal string The normal of the pressure load. name string The name of the pressure load. If empty, default name starts with ‘PLOAD_’ will be generated and used.

Returns

Obj the new PressureLoad object created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘subSystemDocument’, ‘baseGeometry’ argument is null. ArgumentException Will be thrown if the type of ‘baseGeometry’ is not IContactableRigid3D.