Skip to main content

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​

NameTypeDescription
targetClassIClassClass
recursiveboolWhether 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