Assembly: VM.API.Pre.Links.dll This class implements APIs for document.
Inheritance
object ← LinksDocumentAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
CreateNewPathMeshDocument(string, string, Unit, Plane, LengthUnitType)
Create MeshDocumentChainedPath.Parameters
newLinkPathFilePath string
The file path of new path mesh.
documentName string
The name of document. The default value is MeshChainPath.
unit Unit
The unit information.
workingPlane Plane
The working plane. The default value is XZ.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
MeshDocumentChainedPath The new MeshDocumentChainedPath object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newLinkPathFilePath’ argument is null.CreateNewPathPartDocument(string, string, Unit, Plane, LengthUnitType)
Create PartDocumentChainedPath.Parameters
newLinkPathFilePath string
The file path of new path part.
documentName string
The name of document. The default value is PartChainPath.
unit Unit
The unit information.
workingPlane Plane
The working plane. The default value is XZ.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
PartDocumentChainedPath The new PartDocumentChainedPath object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newLinkPathFilePath’ argument is null.CreateNewPathSubsystemDocument(string, string, Unit, Plane, LengthUnitType)
Create DocumentChainedPath.Parameters
newLinkPathFilePath string
The file path of new path subsystem.
documentName string
The name of document. The default value is SubsystemChainPath.
unit Unit
The unit information.
workingPlane Plane
The working plane. The default value is XZ.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
DocumentChainedPath The new DocumentChainedPath object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newLinkPathFilePath’ argument is null.CreateNewSegmentMeshDocument(string, string, Unit, Plane, LengthUnitType)
Create MeshDocumentChainedSegment.Parameters
newLinkSegmentFilePath string
The file path of new segment mesh.
documentName string
The name of document. The default value is MeshChainSegment.
unit Unit
The unit information.
workingPlane Plane
The working plane. The default value is XZ.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
MeshDocumentChainedSegment The new MeshDocumentChainedSegment object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newLinkSegmentFilePath’ argument is null.CreateNewSegmentPartDocument(string, string, Unit, Plane, LengthUnitType)
Create PartDocumentChainedSegment.Parameters
newLinkSegmentFilePath string
The file path of new segment part.
documentName string
The name of document. The default value is PartChainSegment.
unit Unit
The unit information.
workingPlane Plane
The working plane. The default value is XZ.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
PartDocumentChainedSegment The new PartDocumentChainedSegment object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newLinkSegmentFilePath’ argument is null.CreateNewSegmentSubsystemDocument(string, string, Unit, Plane, LengthUnitType)
Create DocumentChainedSegment.Parameters
newLinkSegmentFilePath string
The file path of new segment subsystem.
documentName string
The name of document. The default value is SubsystemChainSegment.
unit Unit
The unit information.
workingPlane Plane
The working plane. The default value is XZ.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.