/* DOORS DXL – Attribute DXL Usage example
*/
Here is an example of DOORS DXL – Attribute DXL
real fuelRate = obj."Fuel Burn Rate" real duration = obj."Mission Duration" real totalFuel = fuelRate * duration obj.attrDXLName = totalFuel
string myHeading = obj."Object myHeadinging"
string myObjectText = obj."Object Text"
if(!null myHeading) {
obj.attrDXLName = "myHeadinger"
}
else if(!null myObjectText) {
if(matches("shall",myObjectText)) {
obj.attrDXLName = "Requirement"
}
else {
obj.attrDXLName = "Information"
}
}
DOORS DXL Scripting Examples – Attribute DXL Usage
This post was published by Admin.
Email: admin@TheCloudStrap.Com
