Assembly: VM.API.Pre.Car.dll This class implements APIs for document.
Inheritance
object ← CarDocumentAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
ChangeGroupDriveline(TestRigDocumentBase, bool, bool)
Change group driveline.Parameters
document TestRigDocumentBase
The document to be changed group.
activeFront bool
The flag for active front.
activeRear bool
The flag for active rear.
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.ChangeGroupKinematicAndCompliance(TestRigDocumentBase, bool)
Change group kinematic and compliance.Parameters
document TestRigDocumentBase
The document to be changed group.
kinematic bool
The flag for using kinematic.
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.CreateNewAntiRollBarFromTemplateDocument(string, string, MinorRole)
Create AntiRollBarDocument.Parameters
newAntiRollBarFromTemplateFilePath string
The file path of new anti-roll bar from template file path.
existedAntiRollBarTemplateFilePath string
The file path of existed anti-roll bar template file path.
minorRole MinorRole
The minor role type. The default value is Any.
Returns
AntiRollBarDocument The new AntiRollBarDocument object that is created by this API.CreateNewAntiRollBarTemplateDocument(string, string, Unit, double, LengthUnitType)
Create AntiRollBarDocument.Parameters
newAntiRollBarFilePath string
The file path of new anti-roll bar.
documentName string
The name of document. The default value is AntiRollBar.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
AntiRollBarDocument The new AntiRollBarDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newAntiRollBarFilePath’ argument is null.CreateNewBodyFromTemplateDocument(string, string, MinorRole)
Create BodyDocument.Parameters
newBodyFromTemplateFilePath string
The file path of new body from template file path.
existedBodyTemplateFilePath string
The file path of existed body template file path.
minorRole MinorRole
The minor role type. The default value is Any.
Returns
BodyDocument The new BodyDocument object that is created by this API.CreateNewBodyTemplateDocument(string, string, Unit, double, LengthUnitType)
Create BodyDocument.Parameters
newBodyFilePath string
The file path of new body.
documentName string
The name of document. The default value is Body.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
BodyDocument The new BodyDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newBodyFilePath’ argument is null.CreateNewBrakeSystemFromTemplateDocument(string, string, MinorRole)
Create BrakeSystemDocument.Parameters
newBrakeSystemFromTemplateFilePath string
The file path of new brake system from template file path.
existedBrakeSystemTemplateFilePath string
The file path of existed brake system template file path.
minorRole MinorRole
The minor role type. The default value is Any.
Returns
BrakeSystemDocument The new BrakeSystemDocument object that is created by this API.CreateNewBrakeSystemTemplateDocument(string, string, Unit, double, LengthUnitType)
Create BrakeSystemDocument.Parameters
newBrakeSystemFilePath string
The file path of new brake system.
documentName string
The name of document. The default value is BrakeSystem.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
BrakeSystemDocument The new BrakeSystemDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newBrakeSystemFilePath’ argument is null.CreateNewBumpStopPropertyDocument(string, string, Unit, LengthUnitType)
Create PropertyBumpstopDocument.Parameters
newBumpStopPropertyFilePath string
The file path of new bump stop property file path.
documentName string
The name of document. The default value is Bumpstop.
unit Unit
The unit information.
kernelLengthUnit LengthUnitType
The length unit of kernel.
Returns
PropertyBumpstopDocument The new PropertyBumpstopDocument object that is created by this API.CreateNewBushPropertyDocument(string, string, Unit, LengthUnitType)
Create PropertyBushDocument.Parameters
newBushPropertyFilePath string
The file path of new bump stop property file path.
documentName string
The name of document. The default value is Bush.
unit Unit
The unit information.
kernelLengthUnit LengthUnitType
The length unit of kernel.
Returns
PropertyBushDocument The new PropertyBushDocument object that is created by this API.CreateNewDamperPropertyDocument(string, string, Unit, LengthUnitType)
Create PropertyDamperDocument.Parameters
newDamperPropertyFilePath string
The file path of new bump stop property file path.
documentName string
The name of document. The default value is Damper.
unit Unit
The unit information.
kernelLengthUnit LengthUnitType
The length unit of kernel.
Returns
PropertyDamperDocument The new PropertyDamperDocument object that is created by this API.CreateNewDriveLineFromTemplateDocument(string, string, MinorRole)
Create DriveLineDocument.Parameters
newDriveLineFromTemplateFilePath string
The file path of new drive line from template file path.
existedDriveLineTemplateFilePath string
The file path of existed drive line template file path.
minorRole MinorRole
The minor role type. The default value is Any.
Returns
DriveLineDocument The new DriveLineDocument object that is created by this API.CreateNewDriveLineTemplateDocument(string, string, Unit, double, LengthUnitType)
Create DriveLineDocument.Parameters
newDriveLineFilePath string
The file path of new drive line.
documentName string
The name of document. The default value is DriveLine.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
DriveLineDocument The new DriveLineDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newDriveLineFilePath’ argument is null.CreateNewFourPostTestRigFromTemplateDocument(string, string, string, string, string, string, string, string, string, string, string[], Vector, Unit, double, LengthUnitType)
Create FourPostTestRigDocument.Parameters
newTestRigFromTemplateFilePath string
The file path of new 4-post test-rig from template file path.
testRigTemplateFilePath string
The file path of test-rig template file path.
frontSuspensionFromTemplateFilePath string
The file path of front suspension template file path.
rearSuspensionFromTemplateFilePath string
The file path of rear suspension template file path.
steeringFromTemplateFilePath string
The file path of steering template file path.
frontWheelFromTemplateFilePath string
The file path of front wheel template file path.
rearWheelFromTemplateFilePath string
The file path of rear wheel template file path.
bodyFromTemplateFilePath string
The file path of body template file path.
breakFromTemplateFilePath string
The file path of break template file path.
powerTrainFromTemplateFilePath string
The file path of power train template file path.
otherFromTemplateFilePath string[]
The file path of other template file path. The default value is null.
gravity Vector
The gravity value.
unit Unit
The unit information.
iconSize double
The size of icon.
kernelLengthUnit LengthUnitType
The length unit of kernel.
Returns
FourPostTestRigDocument The new FourPostTestRigDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newTestRigFromTemplateFilePath’ argument is null. FileNotFoundException Will be thrown if ‘testRigTemplateFilePath’, ‘frontSuspensionFromTemplateFilePath’, ‘rearSuspensionFromTemplateFilePath’, ‘steeringFromTemplateFilePath’, ‘frontWheelFromTemplateFilePath’, ‘rearWheelFromTemplateFilePath’, ‘bodyFromTemplateFilePath’ files are not exist.CreateNewFourPostTestRigTemplateDocument(string, string, Unit, double, LengthUnitType)
Create FourPostTestRigDocument.Parameters
newTestRigFilePath string
The file path of new 4 post test-rig.
documentName string
The name of document. The default value is test rig.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
FourPostTestRigDocument The new FourPostTestRigDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newTestRigFilePath’ argument is null.CreateNewFullCarTestRigFromTemplateDocument(string, string, string, string, string, string, string, string, string, string, string[], Vector, Unit, double, LengthUnitType)
Create VehicleTestRigDocument.Parameters
newTestRigFromTemplateFilePath string
The file path of new full test-rig from template file path.
testRigTemplateFilePath string
The file path of test-rig template file path.
frontSuspensionFromTemplateFilePath string
The file path of front suspension template file path.
rearSuspensionFromTemplateFilePath string
The file path of rear suspension template file path.
steeringFromTemplateFilePath string
The file path of steering template file path.
frontWheelFromTemplateFilePath string
The file path of front wheel template file path.
rearWheelFromTemplateFilePath string
The file path of rear wheel template file path.
bodyFromTemplateFilePath string
The file path of body template file path.
breakFromTemplateFilePath string
The file path of break template file path.
powerTrainFromTemplateFilePath string
The file path of power train template file path.
otherFromTemplateFilePath string[]
The file path of other template file path. The default value is null.
gravity Vector
The gravity value.
unit Unit
The unit information.
iconSize double
The size of icon.
kernelLengthUnit LengthUnitType
The length unit of kernel.
Returns
VehicleTestRigDocument The new VehicleTestRigDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newTestRigFromTemplateFilePath’ argument is null. FileNotFoundException Will be thrown if ‘testRigTemplateFilePath’, ‘frontSuspensionFromTemplateFilePath’, ‘rearSuspensionFromTemplateFilePath’, ‘steeringFromTemplateFilePath’, ‘frontWheelFromTemplateFilePath’, ‘rearWheelFromTemplateFilePath’, ‘bodyFromTemplateFilePath’ files are not exist.CreateNewFullCarTestRigTemplateDocument(string, string, Unit, double, LengthUnitType)
Create VehicleTestRigDocument.Parameters
newTestRigFilePath string
The file path of new full test-rig.
documentName string
The name of document. The default value is test rig.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
VehicleTestRigDocument The new VehicleTestRigDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newTestRigFilePath’ argument is null.CreateNewHalfCarTestRigFromTemplateDocument(string, string, string, string, string[], Vector, Unit, double, LengthUnitType)
Create TestRigDocument.Parameters
newTestRigFromTemplateFilePath string
The file path of new half test-rig from template file path.
testRigTemplateFilePath string
The file path of half test-rig template file path.
suspensionFromTemplateFilePath string
The file path of suspension template file path.
steeringFromTemplateFilePath string
The file path of steering template file path. The default value is null.
otherFromTemplateFilePath string[]
The file path of other template file path. The default value is null.
gravity Vector
The gravity value.
unit Unit
The unit information.
iconSize double
The size of icon.
kernelLengthUnit LengthUnitType
The length unit of kernel.
Returns
TestRigDocument The new TestRigDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newTestRigFromTemplateFilePath’ argument is null. FileNotFoundException Will be thrown if ‘testRigTemplateFilePath’, ‘suspensionFromTemplateFilePath’ files are not exist.CreateNewHalfCarTestRigTemplateDocument(string, string, Unit, double, LengthUnitType)
Create TestRigDocument.Parameters
newTestRigFilePath string
The file path of new half test-rig.
documentName string
The name of document. The default value is test rig.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
TestRigDocument The new TestRigDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newTestRigFilePath’ argument is null.CreateNewPowerTrainFromTemplateDocument(string, string, MinorRole)
Create PowerTrainDocument.Parameters
newPowerTrainFromTemplateFilePath string
The file path of new power train from template file path.
existedPowerTrainTemplateFilePath string
The file path of existed power train template file path.
minorRole MinorRole
The minor role type. The default value is Any.
Returns
PowerTrainDocument The new PowerTrainDocument object that is created by this API.CreateNewPowerTrainTemplateDocument(string, string, Unit, double, LengthUnitType)
Create PowerTrainDocument.Parameters
newPowerTrainFilePath string
The file path of new power train.
documentName string
The name of document. The default value is PowerTrain.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
PowerTrainDocument The new PowerTrainDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newPowerTrainFilePath’ argument is null.CreateNewReboundStopPropertyDocument(string, string, Unit, LengthUnitType)
Create PropertyReboundstopDocument.Parameters
newReboundStopPropertyFilePath string
The file path of new bump stop property file path.
documentName string
The name of document. The default value is ReboundStop.
unit Unit
The unit information.
kernelLengthUnit LengthUnitType
The length unit of kernel.
Returns
PropertyReboundstopDocument The new PropertyReboundstopDocument object that is created by this API.CreateNewShimmyAndJudderTestRigFromTemplateDocument(string, string, string, string, string, string, string, string, string[], Vector, Unit, double, LengthUnitType)
Create ShimmyJudderTestRigDocument.Parameters
newTestRigFromTemplateFilePath string
The file path of new shimmy and judder test-rig from template file path.
testRigTemplateFilePath string
The file path of test-rig template file path.
frontSuspensionFromTemplateFilePath string
The file path of front suspension template file path.
rearSuspensionFromTemplateFilePath string
The file path of rear suspension template file path.
steeringFromTemplateFilePath string
The file path of steering template file path.
bodyFromTemplateFilePath string
The file path of body template file path.
breakFromTemplateFilePath string
The file path of break template file path.
powerTrainFromTemplateFilePath string
The file path of power train template file path.
otherFromTemplateFilePath string[]
The file path of other template file path. The default value is null.
gravity Vector
The gravity value.
unit Unit
The unit information.
iconSize double
The size of icon.
kernelLengthUnit LengthUnitType
The length unit of kernel.
Returns
ShimmyJudderTestRigDocument The new ShimmyJudderTestRigDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newTestRigFromTemplateFilePath’ argument is null. FileNotFoundException Will be thrown if ‘testRigTemplateFilePath’, ‘frontSuspensionFromTemplateFilePath’, ‘rearSuspensionFromTemplateFilePath’, ‘steeringFromTemplateFilePath’, ‘bodyFromTemplateFilePath’ files are not exist.CreateNewShimmyAndJudderTestRigTemplateDocument(string, string, Unit, double, LengthUnitType)
Create ShimmyJudderTestRigDocument.Parameters
newTestRigFilePath string
The file path of new shimmy and judder test-rig.
documentName string
The name of document. The default value is test rig.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
ShimmyJudderTestRigDocument The new ShimmyJudderTestRigDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newTestRigFilePath’ argument is null.CreateNewSpringPropertyDocument(string, string, Unit, LengthUnitType)
Create PropertySpringDocument.Parameters
newSpringPropertyFilePath string
The file path of new bump stop property file path.
documentName string
The name of document. The default value is Spring.
unit Unit
The unit information.
kernelLengthUnit LengthUnitType
The length unit of kernel.
Returns
PropertySpringDocument The new PropertySpringDocument object that is created by this API.CreateNewSteeringFromTemplateDocument(string, string, MinorRole)
Create SteeringDocument.Parameters
newSteeringFromTemplateFilePath string
The file path of new steering from template file path.
existedSteeringTemplateFilePath string
The file path of existed steering template file path.
minorRole MinorRole
The minor role type. The default value is Front.
Returns
SteeringDocument The new SteeringDocument object that is created by this API.CreateNewSteeringTemplateDocument(string, string, Unit, double, LengthUnitType)
Create SteeringDocument.Parameters
newSteeringFilePath string
The file path of new steering.
documentName string
The name of document. The default value is Steering.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
SteeringDocument The new SteeringDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newSteeringFilePath’ argument is null.CreateNewSuspensionFromTemplateDocument(string, string, MinorRole)
Create SuspensionDocument.Parameters
newSuspensionFromTemplateFilePath string
The file path of new suspension from template file path.
existedSuspensionTemplateFilePath string
The file path of existed suspension template file path.
minorRole MinorRole
The minor role type. The default value is Front.
Returns
SuspensionDocument The new SuspensionDocument object that is created by this API.CreateNewSuspensionTemplateDocument(string, string, Unit, double, LengthUnitType)
Create SuspensionDocument.Parameters
newSuspensionFilePath string
The file path of new suspension.
documentName string
The name of document. The default value is suspension.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
SuspensionDocument The new SuspensionDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newSuspensionFilePath’ argument is null.CreateNewTireTestRigFromTemplateDocument(string, string, string, Vector, Unit, double, LengthUnitType)
Create TireTestRigDocument.Parameters
newTestRigFromTemplateFilePath string
The file path of new tire test-rig from template file path.
testRigTemplateFilePath string
The file path of test-rig template file path.
wheelFromTemplateFilePath string
The file path of wheel template file path.
gravity Vector
The gravity value.
unit Unit
The unit information.
iconSize double
The size of icon.
kernelLengthUnit LengthUnitType
The length unit of kernel.
Returns
TireTestRigDocument The new TireTestRigDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newTestRigFromTemplateFilePath’ argument is null. FileNotFoundException Will be thrown if ‘testRigTemplateFilePath’, ‘wheelFromTemplateFilePath’ files are not exist.CreateNewTireTestRigTemplateDocument(string, string, Unit, double, LengthUnitType)
Create TireTestRigDocument.Parameters
newTestRigFilePath string
The file path of new tire test-rig.
documentName string
The name of document. The default value is test rig.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
TireTestRigDocument The new TireTestRigDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newTestRigFilePath’ argument is null.CreateNewWheelFromTemplateDocument(string, string, MinorRole)
Create WheelDocument.Parameters
newWheelFromTemplateFilePath string
The file path of new wheel from template file path.
existedWheelTemplateFilePath string
The file path of existed wheel template file path.
minorRole MinorRole
The minor role type. The default value is Front.
Returns
WheelDocument The new WheelDocument object that is created by this API.CreateNewWheelTemplateDocument(string, string, Unit, double, LengthUnitType)
Create WheelDocument.Parameters
newWheelFilePath string
The file path of new wheel.
documentName string
The name of document. The default value is Wheel.
unit Unit
The unit information.
iconSize double
The size of icon. The default value is 1.
kernelLengthUnit LengthUnitType
The length unit of kernel. The default value is mm.
Returns
WheelDocument The new WheelDocument object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘newWheelFilePath’ argument is null.FourPostReplaceAssembly(FourPostTestRigDocument, string, string, string, string, string, string, string, string, IEnumerable<string>)
Replace 4-Post assembly.Parameters
document FourPostTestRigDocument
The document to be replaced.
frontSuspensionPath string
The front suspension path. The default value is "".
rearSuspensionPath string
The rear suspension path. The default value is "".
steeringPath string
The steering path. The default value is "".
frontWheelPath string
The front wheel path. The default value is "".
rearWheelPath string
The rear wheel path. The default value is "".
bodyPath string
The body path. The default value is "".
brakePath string
The brake path. The default value is "".
powerTrainPath string
The power train path. The default value is "".
otherPaths IEnumerable<string>
The other paths. The default value is "".
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.FullCarReplaceAssembly(VehicleTestRigDocument, string, string, string, string, string, string, string, string, IEnumerable<string>)
Replace full car assembly.Parameters
document VehicleTestRigDocument
The document to be replaced.
frontSuspensionPath string
The front suspension path. The default value is "".
rearSuspensionPath string
The rear suspension path. The default value is "".
steeringPath string
The steering path. The default value is "".
frontWheelPath string
The front wheel path. The default value is "".
rearWheelPath string
The rear wheel path. The default value is "".
bodyPath string
The body path. The default value is "".
brakePath string
The brake path. The default value is "".
powerTrainPath string
The power train path. The default value is "".
otherPaths IEnumerable<string>
The other paths. The default value is "".
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.ModifyDesignParameter(TestRigDocumentBase, Dictionary<string, List<ParamInfo>>)
Modify design parameter.Parameters
document TestRigDocumentBase
The document to be changed group.
dicParam Dictionary<string, List<UpdateParameterOperation.ParamInfo>>
The dictionary to be contained filepath and parameter information.
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.ModifyModelingParameter(TestRigDocumentBase, ObjectBase)
Modify modeling parameter.Parameters
document TestRigDocumentBase
The document to be changed group.
target ObjectBase
The target.
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.ShimmyJudderReplaceAssembly(ShimmyJudderTestRigDocument, string, string, string, string, string, string, IEnumerable<string>)
Replace full car assembly.Parameters
document ShimmyJudderTestRigDocument
The document to be replaced.
frontSuspensionPath string
The front suspension path. The default value is "".
rearSuspensionPath string
The rear suspension path. The default value is "".
steeringPath string
The steering path. The default value is "".
bodyPath string
The body path. The default value is "".
brakePath string
The brake path. The default value is "".
powerTrainPath string
The power train path. The default value is "".
otherPaths IEnumerable<string>
The other paths. The default value is "".
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.SuspensionReplaceAssembly(TestRigDocument, string, string, IEnumerable<string>)
Replace suspension assembly.Parameters
document TestRigDocument
The document to be replaced.
suspensionPath string
The suspension path. The default value is "".
steeringPath string
The steering path. The default value is "".
otherPaths IEnumerable<string>
The other paths. The default value is "".
Exceptions
ArgumentNullException Will be thrown if ‘document’ argument is empty. ArgumentException Will be thrown if ‘document’ argument is not assembly.TireReplaceAssembly(TireTestRigDocument, string)
Replace tire assembly.Parameters
document TireTestRigDocument
The document to be replaced.
wheelPath string
The wheel path. The default value is "".