IList<IDataModelObject> Tree.GetObjectsByType(Type type) ***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 on the tree.
all_comments = ExtAPI.DataModel.Tree.GetObjectsByType(Ansys.ACT.Automation.Mechanical.Comment)
.
Parameters
-
type
Type: Type
The object's type.