Assembly: VM.API.Pre.Car.dll This class implements APIs for car force.
Inheritance
object ← CarForceAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
CreateBumpStop(IPostTemplateBasedDocument, string, Obj, Obj, Vector, Vector, string, SymmetricType)
Create BumpstopParameters
document IPostTemplateBasedDocument
The IPostTemplateBasedDocument to create a bump stop.
propertyFilePath string
The bump stop property file path.
baseEntity Obj
The base entity of a bump stop.
actionEntity Obj
The action entity of a bump stop.
basePosition Vector
The base position of a bump stop.
actionPosition Vector
The action position of a bump stop.
name string
The name of a bump stop.
symmetricType SymmetricType
The symmetric type of the new Bumpstop.
Returns
Obj the new Bumpstop object created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’, ‘baseEntity’, ‘actionEntity’ argument is null. ArgumentException Will be thrown if the type of ‘baseEntity’, ‘actionEntity’ is not IConnectable. ArgumentException Will be thrown if extension of ‘propertyFilePath’ is not .cpfbsxml. FileNotFoundException Will be thrown if ‘propertyFilePath’ does not exist.CreateBush(IPostTemplateBasedDocument, string, Obj, Obj, Vector, OMatrix?, string, SymmetricType)
Create BushParameters
document IPostTemplateBasedDocument
The IPostTemplateBasedDocument to create a bush.
propertyFilePath string
The bush property file path.
baseEntity Obj
The base entity of a bush.
actionEntity Obj
The action entity of a bush.
basePosition Vector
The base position of a bush.
orientation OMatrix?
The orientation of a bush force. The default value is identity.
name string
The name of a bush.
symmetricType SymmetricType
The symmetric type of the new Bush.
Returns
Obj the new Bush object created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’, ‘baseEntity’, ‘actionEntity’ argument is null. ArgumentException Will be thrown if the type of ‘baseEntity’, ‘actionEntity’ is not IConnectable. ArgumentException Will be thrown if extension of ‘propertyFilePath’ is not .dfpfbxml. ArgumentException Will be thrown if the magnitude of ‘orientation’ is 0. FileNotFoundException Will be thrown if ‘propertyFilePath’ does not exist.CreateDamper(IPostTemplateBasedDocument, string, Obj, Obj, Vector, Vector, string, SymmetricType)
Create DamperParameters
document IPostTemplateBasedDocument
The IPostTemplateBasedDocument to create a damper.
propertyFilePath string
The damper property file path.
baseEntity Obj
The base entity of a damper.
actionEntity Obj
The action entity of a damper.
basePosition Vector
The base position of a damper.
actionPosition Vector
The action position of a damper.
name string
The name of a damper.
symmetricType SymmetricType
The symmetric type of the new Damper.
Returns
Obj the new Damper object created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’, ‘baseEntity’, ‘actionEntity’ argument is null. ArgumentException Will be thrown if the type of ‘baseEntity’, ‘actionEntity’ is not IConnectable. ArgumentException Will be thrown if extension of ‘propertyFilePath’ is not .cpfdxml. FileNotFoundException Will be thrown if ‘propertyFilePath’ does not exist.CreateReboundStop(IPostTemplateBasedDocument, string, Obj, Obj, Vector, Vector, string, SymmetricType)
Create ReboundstopParameters
document IPostTemplateBasedDocument
The IPostTemplateBasedDocument to create a rebound stop.
propertyFilePath string
The rebound stop property file path.
baseEntity Obj
The base entity of a rebound stop.
actionEntity Obj
The action entity of a rebound stop.
basePosition Vector
The base position of a rebound stop.
actionPosition Vector
The action position of a rebound stop.
name string
The name of a rebound stop.
symmetricType SymmetricType
The symmetric type of the new Reboundstop.
Returns
Obj the new Reboundstop object created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’, ‘baseEntity’, ‘actionEntity’ argument is null. ArgumentException Will be thrown if the type of ‘baseEntity’, ‘actionEntity’ is not IConnectable. ArgumentException Will be thrown if extension of ‘propertyFilePath’ is not .cpfrbsxml. FileNotFoundException Will be thrown if ‘propertyFilePath’ does not exist.CreateSpring(IPostTemplateBasedDocument, string, Obj, Obj, Vector, Vector, string, SymmetricType)
Create SpringParameters
document IPostTemplateBasedDocument
The IPostTemplateBasedDocument to create a spring.
propertyFilePath string
The spring property file path.
baseEntity Obj
The base entity of a spring.
actionEntity Obj
The action entity of a spring.
basePosition Vector
The base position of a spring.
actionPosition Vector
The action position of a spring.
name string
The name of a spring.
symmetricType SymmetricType
The symmetric type of the new Spring.
Returns
Obj the new Spring object created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’, ‘baseEntity’, ‘actionEntity’ argument is null. ArgumentException Will be thrown if the type of ‘baseEntity’, ‘actionEntity’ is not IConnectable. ArgumentException Will be thrown if extension of ‘propertyFilePath’ is not .cpfsxml. FileNotFoundException Will be thrown if ‘propertyFilePath’ does not exist.CreateTire(SubSystemDocument, string, TMatrix, SideType, string, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, ExpressionValueVariable?, Color?, SymmetricType, bool)
Create TireCarParameters
subSystemDocument SubSystemDocument
The SubSystemDocument to create 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.
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’.