findByType
R2026bDescription
returns the indices of the elements in idx = findByType(coll,typeName)coll whose class is exactly
the value of typeName. Specify typeName as a
fully qualified class name, such as "sysml.PartDefinition". Use the
returned indices for parenthesis indexing into the collection, or combine them with
indices from other searches.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced in R2026b
See Also
Objects
systemcomposer.sysml.Repository|systemcomposer.sysml.Project|systemcomposer.sysml.Workspace|sysml.Collection|sysml.Element
Functions
connect|getProjects|getProjectById|createWorkspace|getElements|getRootElements|getElementRelationships|getElement|getElementsByTypeAndName|executeQuery|getMembershipHierarchy|getOwnershipHierarchy|getAncestors|getDescendants|getUsages|filterByType|getObjectTypes|getTypeCounts|toCell|get|meta|systemcomposer.sysml.exportFromMLProject