Assembly: VM.API.Pre.dll This class implements APIs for tire.
Inheritance
object ← TireAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
CreateTire(SubSystemDocument, string, string, TMatrix, SideType, string, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, Color?, SymmetricType, bool)
Create TireParameters
subSystemDocument SubSystemDocument
The SubSystemDocument to create a tire force.
roadFile string
The road file of a tire force.
tirePropertyFile string
The tire property file of a tire force.
transform TMatrix
The transform of a tire force.
side WheelBodyBase.SideType
The side of a tire force.
name string
The name of a leaf spring.
cmOffset ExpressionValueVariable?
The CM Offset of a tire force.
mass ExpressionValueVariable?
The mass of a tire force.
lxxlyy ExpressionValueVariable?
The lxxlyy of a tire force.
lzz ExpressionValueVariable?
The lzz of a tire force.
wheelCenterOffset ExpressionValueVariable?
The wheel center offset of a tire force.
longitudinalVelocity ExpressionValueVariable?
The longitudinal velocity of a tire force.
spinVelocity ExpressionValueVariable?
The spin velocity of a tire force.
color Color?
The color of a tire force.
symmetricType SymmetricType
The symmetric type of the new Tire.
isInterface bool
‘true’ if it is interface body. Otherwise, ‘false’.
Returns
Obj the new Tire object created by this API.Exceptions
ArgumentNullException Will be thrown if ‘subSystemDocument’ argument is null. FileNotFoundException Will be thrown if ‘roadFile’, ‘tirePropertyFile’ file does not exist. ArgumentException Will be thrown if the extension of ‘roadFile’ is not ‘rdf’ or if the extension of ‘tirePropertyFile’ is not ‘tir’. ArgumentException Will be thrown if the magnitude of ‘transform’ X, Y, Z is equal to 0.Reload(Obj, string)
Reload.Parameters
wheelBodyBase Obj
The WheelBodyBase to reload a wheel body info.
strBodyInfo string
The string body information of a wheel.