Skip to main content

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

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