IList<IDataModelObject> Tree.GetObjectsByType(DataModelObjectCategory dataModelObjectCategory) ***OBSOLETE*** Method is obsolete, please refer to GetObjectsByType in DataModel.
Gets a list of all objects with the specified type.
Examples
The following command retrieves all comments below the Model.
all_comments = ExtAPI.DataModel.Tree.GetChildren(DataModelObjectCategory.Comment)