Assembly: VM.API.Pre.Car.dll This class implements APIs for document.
Inheritance
object ← DocumentAPIImplExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
CreateNewPropertyDocumentImpl<T>(string, string, Unit, LengthUnitType, string, string)
Create PropertyDocumentBase.Parameters
newPropertyFilePath string
The file path of new property document.
documentName string
The name of document.
unit Unit
The unit information.
kernelLengthUnit LengthUnitType
The length unit of kernel.
extension string
The extension.
documentType string
The document type.
Returns
T The new PropertyDocumentBase object that is created by this API.Type Parameters
T
The document type
Exceptions
ArgumentNullException Will be thrown if ‘newPropertyFilePath’ argument is null.CreateNewSubsystemFromTemplateDocumentImpl<T>(string, string, MinorRole, string, string)
Create SubSystemDocument.Parameters
newSubsystemFromTemplateFilePath string
The file path of new subsystem from template file path.
existedSubsystemTemplateFilePath string
The file path of existed subsystem template file path.
minorRole MinorRole
The minor role type.
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