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