User:Kate Racaza/APIdraftspage
Jump to navigation
Jump to search
Summary
New Classes
New Enums
- ResourceFilterEnum_Enumeration - part of SYN-I-4788
New Methods
- Repository.Xfmea.GetItemInSystemHierarchy_Method - SYN-I-4795
Edits to Existing Methods
- SYN-I-4788 (non code-breaking)
- Repository.Model.GetAllModels
- Repository.Model.GetAllModelsInfo
- Repository.Action.GetAllActions
- Repository.Action.GetAllActionsDictionary
- Repository.Crew.GetAllCrews
- Repository.Pool.GetAllPools
- Repository.Task.GetAllScheduledTasks
- Repository.Task.GetAllCorrectiveTasks
- Repository.URD.GetAllURDs
- Repository.Variable.GetAllVariables
- Repository.Control.GetAllXfmeaControls
- Repository.Control.GetAllXfmeaControlsDictionary
Deprecations none
SYN-I-4788
Use this template:
Gets a list of models associated with a project. Returns a cModel object array that contains the models in that project.
Syntax
.Model.GetAllModels(Filter)
Parameters
Filter
- Optional. A filter that returns a particular type of model resource (e.g., global only, local and global only, etc.). Can be any ResourceFilterEnum constant. Default value = 0, which returns local models only.
Example
Edit the comment:
'Get a list of all local models in project #1.