Repository.URD.GetAllURDs

Gets a list of URDs associated with a project (does not include global or reference URDs). Returns a cURD object array that contains all the URDs in that project.

Syntax
.URD.GetAllURDs

Example
This example assumes that URDs exist in the first available project of a repository.

VBA|VB.NET MyRepository Repository ListofURDs cURD MyRepository.Project.SetCurrentProject (1) ListofURDs = MyRepository.URD.GetAllURDs NumberofElements Integer NumberofElements = UBound(ListofURDs) - LBound(ListofURDs) + 1 MsgBox (NumberofElements)