Skip to main content
Namespace: VM.API.Pre.Links
Assembly: VM.API.Pre.Links.dll
This class implements APIs for chained system.

Inheritance

object ← TrackedSystemAPI

Extension Methods

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

Methods

Add path to active document.

Parameters

trackPlacing Obj The track placing to add object. paths IEnumerable<Obj> The paths. pathDocuments IEnumerable<Document3D> The path data documents.

Returns

IEnumerable<Obj> The new path list

Exceptions

ArgumentNullException Will be thrown if ‘trackPlacing’ arguments are empty. ArgumentException Will be thrown if type of ‘trackPlacing’ is not TrackPlacing. ArgumentException Will be thrown if ‘paths’, ‘pathDocuments’ arguments are empty. ArgumentException Will be thrown if length of ‘paths’ and length of ‘pathDocuments’ are not equal. Create double shoe SolidBodyShoe with BuilderShoeUserDefined builder.

Parameters

document DocumentChainedSegment The document to create the double shoe solid body. bodyName string The name of the SolidBodyShoe. If empty, default name starts with ‘BD_’ will be generated and used. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’ isInterface bool ‘true’ if it is interface body. Otherwise, ‘false’.

Returns

Obj The new SolidBodyShoe object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create double shoe BodyShoe with BuilderShoeUserDefined builder in part.

Parameters

document PartDocumentChainedSegment The document to create the double shoe body. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’

Returns

Obj The new BodyLink object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create simple link SolidBodyLink with BuilderLinkUserDefined builder.

Parameters

document DocumentChainedSegment The document to create the simple link solid body. bodyName string The name of the SolidBodyLink. If empty, default name starts with ‘BD_’ will be generated and used. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’ isInterface bool ‘true’ if it is interface body. Otherwise, ‘false’.

Returns

Obj The new SolidBodyLink object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create simple link BodyLink with BuilderLinkUserDefined builder in part.

Parameters

document PartDocumentChainedSegment The document to create the simple link body. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’

Returns

Obj The new BodyLink object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create single shoe SolidBodyShoe with BuilderShoeUserDefined builder.

Parameters

document DocumentChainedSegment The document to create the single shoe solid body. bodyName string The name of the SolidBodyShoe. If empty, default name starts with ‘BD_’ will be generated and used. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’ isInterface bool ‘true’ if it is interface body. Otherwise, ‘false’.

Returns

Obj The new SolidBodyShoe object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create single shoe BodyShoe with BuilderShoeUserDefined builder in part.

Parameters

document PartDocumentChainedSegment The document to create the single shoe body. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’

Returns

Obj The new BodyLink object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create tracked system TrackPlacing.

Parameters

document SubSystemDocument The document to create the tracked system. name string The name of the TrackPlacing. If empty, default name starts with ‘TPlacing_’ will be generated and used.

Returns

Obj The new TrackPlacing object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create triple shoe SolidBodyShoe with BuilderShoeUserDefined builder.

Parameters

document DocumentChainedSegment The document to create the triple shoe solid body. bodyName string The name of the SolidBodyShoe. If empty, default name starts with ‘BD_’ will be generated and used. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’ isInterface bool ‘true’ if it is interface body. Otherwise, ‘false’.

Returns

Obj The new SolidBodyShoe object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create triple shoe BodyShoe with BuilderShoeUserDefined builder in part.

Parameters

document PartDocumentChainedSegment The document to create the triple shoe body. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’

Returns

Obj The new BodyLink object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create user-defined shoe SolidBodyShoe with BuilderShoeUserDefined builder.

Parameters

document DocumentChainedSegment The document to create the user-defined shoe solid body. bodyName string The name of the SolidBodyShoe. If empty, default name starts with ‘BD_’ will be generated and used. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’ isInterface bool ‘true’ if it is interface body. Otherwise, ‘false’.

Returns

Obj The new SolidBodyShoe object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create user-defined shoe BodyShoe with BuilderShoeUserDefined builder in part.

Parameters

document PartDocumentChainedSegment The document to create the user-defined shoe body. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’

Returns

Obj The new BodyLink object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create V-type link SolidBodyLink with BuilderLinkUserDefined builder.

Parameters

document DocumentChainedSegment The document to create the V-type link solid body. bodyName string The name of the SolidBodyLink. If empty, default name starts with ‘BD_’ will be generated and used. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’ isInterface bool ‘true’ if it is interface body. Otherwise, ‘false’.

Returns

Obj The new SolidBodyLink object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Create V-type link BodyLink with BuilderLinkUserDefined builder in part.

Parameters

document PartDocumentChainedSegment The document to create the V-type link body. color Color? The color of the new flat roller geometry. The default value is ‘0xBFAAAA’

Returns

Obj The new BodyLink object that is created by this API.

Exceptions

ArgumentNullException Will be thrown if ‘document’ is null. Replace design position.

Parameters

segmentBody Obj The segment body. designPoint Obj The design point to be replaced. value ExpressionValueVariable The value to be replaced with axis. matT TMatrix The transformation to be replaced.

Exceptions

ArgumentNullException Will be thrown if ‘segmentBody’,‘designPoint’ arguments are empty. ArgumentException Will be thrown if type of ‘segmentBody’ is not BodyShoe or BodyLink or SolidBodyShoe or SolidBodyLink. ArgumentException Will be thrown if type of ‘designPoint’ is not DesignPoint.

Parameters

trackPlacing Obj paths IEnumerable<Obj> transforms IEnumerable<TMatrix>