Class DocumentAPIImpl
Last update: 16.07.2025Namespace: VM.API.Pre.FE
Assembly: VM.API.Pre.FE.dll
This class implements APIs for document.
public static class DocumentAPIImpl
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
CreateNewMeshDocumentImpl<T>(string, string, Unit, double, string, string)
Create
[NotNullOrEmpty(new string[] { "newMeshFilePath" })]
public static T CreateNewMeshDocumentImpl<T>(string newMeshFilePath, string documentName, Unit unit, double iconSize, string extension, string documentType) where T : 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.
extension string
The extension.
documentType string
The document type.
Returns
T
The new SubSystemDocument object that is created by this API.
Type Parameters
T
The document type
Exceptions
Will be thrown if 'newMeshFilePath' argument is empty.