Repository.BlockSim.GetAllRBDs

Gets a list of all BlockSim reliability block diagrams (RBDs) associated with a project. Returns a NameIdPair object that represents the name and ID pairs of the RBDs.

Syntax
.BlockSim.GetAllRBDs

Example
VBA|VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository MyRepository.Project.SetCurrentProject (1) ListofRBDs NameIdPair ListofRBDs = MyRepository.BlockSim.GetAllRBDs NumberofElements Integer NumberofElements = UBound(ListofRBDs) - LBound(ListofRBDs) + 1 MsgBox (NumberofElements)