GetChildren(DataModelObjectCategory, bool, IList<DataModelObject>)

Gets the list of children, filtered by type.

Declaration Syntax

public virtual IList<DataModelObject> GetChildren(DataModelObjectCategory category, bool recurses, IList<DataModelObject> children)

Parameters

category(DataModelObjectCategory)

The category of the data model object to retrieve.

recurses(bool)

Whether to retrieve grandchildren recursively.

children(IList<DataModelObject>)

Input list that will be populated through the whole process. (If not specified a new list will be created.)


Release 18.2 - © ANSYS, Inc. All rights reserved.