Skip to main content
Namespace: VM.API.Pre.FE
Assembly: VM.API.Pre.FE.dll
This class implements APIs for MeshDocument class.

Inheritance

object ← MeshDocumentAPI

Extension Methods

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

Methods

CreateNewMeshDocument(string, string, Unit, double)

Create MeshDocument.

Parameters

newMeshFilePath string The file path of new mesh. documentName string The name of document. unit Unit The unit information. iconSize double The size of icon.

Returns

MeshDocument The new SubSystemDocument object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘newMeshFilePath’ argument is empty.

ImportMesh(MeshDocument, string, string, Color?, bool, bool)

Import external mesh file such as bdf/dat into the MeshDocument

Parameters

doc MeshDocument The MeshDocument to import external mesh file. feDataFilePath string The path to the external mesh file. modalDataFileName string The path to the modal data file. meshColor Color? The Color of the new mesh, degenerateElement bool The flag for degenerate element. modalOnly bool The flag for modal only.

Returns

Obj The new Mesh object.

Exceptions

ArgumentNullException Will be thrown when doc or feDataFilePath is null, FileNotFoundException Will be thrown if feDataFilePath file is not exist.