Skip to main content

IModel.FindChildrenByClassDisplayName method

Namespace: NextDesign.Core

Description

Finds instances of the class with the specified display name among the instances owned by this instance.
This method evaluates IContextOption.PlModelAccessMode.

Returns a collection of owned instances of the class with the specified display name.
Returns an empty collection if no such instance exists.

argument

NameTypeDescription
classDisplayNamestringClass display name
If null or an empty string is specified, the return value of this method will be an empty collection.
recursiveboolWhether to search for ownership recursively
The default is False.
If False is specified, the corresponding Search for elements.

Return value

  • IModelCollection