Repository.URD.GetAllURDs: Difference between revisions
Jump to navigation
Jump to search
Alex Ulanov (talk | contribs) |
Alex Ulanov (talk | contribs) |
||
Line 14: | Line 14: | ||
Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") | Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") | ||
{{APIComment|'Set a first available project as current.}} | |||
MyRepository.Project.SetCurrentProject(0) | |||
{{APIComment|'Get list of URDs.}} | {{APIComment|'Get list of URDs.}} | ||
Dim ListOfURDs() as cURD | Dim ListOfURDs() as cURD | ||
ListOfURDs = MyRepository.URD.GetAllURDs() | ListOfURDs = MyRepository.URD.GetAllURDs() | ||
</div> | </div> |
Revision as of 20:29, 22 May 2015
Returns an array containing all URDs from the current project.
Syntax
- GetAllURDs()AscURD()
Usage Example
'Declare a new repository connection object. Dim MyRepository As New Repository 'Connect to the Synthesis repository. Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") 'Set a first available project as current. MyRepository.Project.SetCurrentProject(0) 'Get list of URDs. Dim ListOfURDs() as cURD ListOfURDs = MyRepository.URD.GetAllURDs()