/*
DOORS DXL – Print the full name of all “Formal” modules found in the current folder
*/
void goRecurse(Folder thisFold)
{
Item myItem
for myItem in all thisFold do {
if (type(myItem) == "Folder" || type(myItem) == "Project") {
goRecurse(folder(myItem)) // if another folder found, keep going down
}
else if (type(myItem) == "Formal") {
print fullName(myItem) "\n"
if (isDeleted(myItem)) {
print "\t This was deleted\n"
}
}
}
}
goRecurse(folder("/")) // Start at top level
print "\n End of Recurse from Root \n"
//goRecurse(current Folder) // If you want to start from the current folder
DOORS DXL Scripting Examples – Print the full name of all “Formal” modules Recursive Option
This post was published by Admin.
Email: admin@TheCloudStrap.Com
