Class TrackedSystemAPI
Last update: 16.07.2025Namespace: VM.API.Pre.Links
Assembly: VM.API.Pre.Links.dll
This class implements APIs for chained system.
public static class TrackedSystemAPI
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
AddPathObjectToDocument(Obj, IEnumerable<Obj>, IEnumerable<Document3D>)
Add path to active document.
[NotNullObj(new string[] { "trackPlacing" })]
[MatchTypeObj(new object[] { "trackPlacing", typeof(TrackPlacing) })]
[NotNull(new string[] { "paths", "pathDocuments" })]
public static IEnumerable<Obj> AddPathObjectToDocument(this Obj trackPlacing, IEnumerable<Obj> paths, IEnumerable<Document3D> pathDocuments)
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
Will be thrown if 'trackPlacing' arguments are empty.
Will be thrown if type of 'trackPlacing' is not
Will be thrown if 'paths', 'pathDocuments' arguments are empty.
Will be thrown if length of 'paths' and length of 'pathDocuments' are not equal.
CreateDouble(DocumentChainedSegment, string, Color?, bool)
Create double shoe
public static Obj CreateDouble(this DocumentChainedSegment document, string bodyName = "", Color? color = null, bool isInterface = false)
Parameters
document DocumentChainedSegment
The document to create the double shoe solid body.
bodyName string
The name of the
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
Exceptions
Will be thrown if 'document' is null.
CreateDouble(PartDocumentChainedSegment, Color?)
Create double shoe
public static Obj CreateDouble(this PartDocumentChainedSegment document, Color? color = null)
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
Exceptions
Will be thrown if 'document' is null.
CreateSimple(DocumentChainedSegment, string, Color?, bool)
Create simple link
public static Obj CreateSimple(this DocumentChainedSegment document, string bodyName = "", Color? color = null, bool isInterface = false)
Parameters
document DocumentChainedSegment
The document to create the simple link solid body.
bodyName string
The name of the
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
Exceptions
Will be thrown if 'document' is null.
CreateSimple(PartDocumentChainedSegment, Color?)
Create simple link
public static Obj CreateSimple(this PartDocumentChainedSegment document, Color? color = null)
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
Exceptions
Will be thrown if 'document' is null.
CreateSingle(DocumentChainedSegment, string, Color?, bool)
Create single shoe
public static Obj CreateSingle(this DocumentChainedSegment document, string bodyName = "", Color? color = null, bool isInterface = false)
Parameters
document DocumentChainedSegment
The document to create the single shoe solid body.
bodyName string
The name of the
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
Exceptions
Will be thrown if 'document' is null.
CreateSingle(PartDocumentChainedSegment, Color?)
Create single shoe
public static Obj CreateSingle(this PartDocumentChainedSegment document, Color? color = null)
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
Exceptions
Will be thrown if 'document' is null.
CreateTrackedSystem(SubSystemDocument, string)
Create tracked system
[NotNull(new string[] { "document" })]
public static Obj CreateTrackedSystem(this SubSystemDocument document, string name = "")
Parameters
document SubSystemDocument
The document to create the tracked system.
name string
The name of the
Returns
Obj
The new
Exceptions
Will be thrown if 'document' is null.
CreateTriple(DocumentChainedSegment, string, Color?, bool)
Create triple shoe
public static Obj CreateTriple(this DocumentChainedSegment document, string bodyName = "", Color? color = null, bool isInterface = false)
Parameters
document DocumentChainedSegment
The document to create the triple shoe solid body.
bodyName string
The name of the
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
Exceptions
Will be thrown if 'document' is null.
CreateTriple(PartDocumentChainedSegment, Color?)
Create triple shoe
public static Obj CreateTriple(this PartDocumentChainedSegment document, Color? color = null)
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
Exceptions
Will be thrown if 'document' is null.
CreateUserDefined(DocumentChainedSegment, string, Color?, bool)
Create user-defined shoe
public static Obj CreateUserDefined(this DocumentChainedSegment document, string bodyName = "", Color? color = null, bool isInterface = false)
Parameters
document DocumentChainedSegment
The document to create the user-defined shoe solid body.
bodyName string
The name of the
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
Exceptions
Will be thrown if 'document' is null.
CreateUserDefined(PartDocumentChainedSegment, Color?)
Create user-defined shoe
public static Obj CreateUserDefined(this PartDocumentChainedSegment document, Color? color = null)
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
Exceptions
Will be thrown if 'document' is null.
CreateVType(DocumentChainedSegment, string, Color?, bool)
Create V-type link
public static Obj CreateVType(this DocumentChainedSegment document, string bodyName = "", Color? color = null, bool isInterface = false)
Parameters
document DocumentChainedSegment
The document to create the V-type link solid body.
bodyName string
The name of the
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
Exceptions
Will be thrown if 'document' is null.
CreateVType(PartDocumentChainedSegment, Color?)
Create V-type link
public static Obj CreateVType(this PartDocumentChainedSegment document, Color? color = null)
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
Exceptions
Will be thrown if 'document' is null.
ReplaceDesignPosition(Obj, Obj, ExpressionValueVariable, TMatrix)
Replace design position.
[NotNullObj(new string[] { "segmentBody", "designPoint" })]
[MatchTypeObj(new object[] { "designPoint", typeof(DesignPoint) })]
public static void ReplaceDesignPosition(this Obj segmentBody, Obj designPoint, ExpressionValueVariable value, TMatrix matT)
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
Will be thrown if 'segmentBody','designPoint' arguments are empty.
Will be thrown if type of 'segmentBody' is not
Will be thrown if type of 'designPoint' is not
RestorePathToOriginPositionAndOrientation(Obj, IEnumerable<Obj>, IEnumerable<TMatrix>)
[NotNullObj(new string[] { "trackPlacing" })]
[MatchTypeObj(new object[] { "trackPlacing", typeof(TrackPlacing) })]
[NotNull(new string[] { "paths", "transforms" })]
public static void RestorePathToOriginPositionAndOrientation(this Obj trackPlacing, IEnumerable<Obj> paths, IEnumerable<TMatrix> transforms)
Parameters
trackPlacing Obj
paths IEnumerable<Obj>
transforms IEnumerable<TMatrix>