Repository.BlockSim.GetAllFaultTrees

Gets a list of all BlockSim fault trees associated with a project. Returns a NameIdPair object that represents the name and ID pairs of the fault trees.

Syntax
.BlockSim.GetAllFaultTrees

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