IModel.FindChildrenByClass(IClass,bool) Method
Namespace: NextDesign.Core
Description
Searches for instances of the specified class among instances owned by this instance.
This method evaluates IContextOption.PlModelAccessMode.
Argument
| Name | Type | Description |
|---|---|---|
| targetClass | IClass | Class |
| recursive | bool | Whether to recursively search ownership relationships The default value is False. If False is specified, the matching element is searched from instances directly owned by this instance; If True is specified, the matching element is searched from instances obtained by recursively searching ownership relationships starting from this instance. |
Return value
- IModelCollection