Skip to main content

class Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Bases: object Defines a TreeGroupingFolder.

Overview

Methods

Properties

Property detail

property TreeGroupingFolder.Children : List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property TreeGroupingFolder.ChildrenInGroup : int | None

Gets the ChildrenInGroup.

property TreeGroupingFolder.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None

Gets the current DataModelObject’s category.

property TreeGroupingFolder.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSTreeGroupingFolderAuto | None

Gets the internal object. For advanced usage only.

property TreeGroupingFolder.Properties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property TreeGroupingFolder.ReadOnly : bool | None

Gets or sets the ReadOnly.

property TreeGroupingFolder.Suppressed : bool | None

Gets or sets the Suppressed.

property TreeGroupingFolder.VisibleProperties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties that are visible for this object.

Method detail

TreeGroupingFolder.Activate()

Activate the current object.

TreeGroupingFolder.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)

Copies all visible properties from this object to another.

TreeGroupingFolder.CreateParameter(propName: str)

Creates a new parameter for a Property.

TreeGroupingFolder.DeleteTreeGroupAndChildren()

Run the DeleteTreeGroupAndChildren action.

TreeGroupingFolder.Duplicate()

Creates a copy of the current DataModelObject.

TreeGroupingFolder.GetChildren(recurses: bool, children: List[ChildrenType])

Gets the list of children, filtered by type.

TreeGroupingFolder.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

TreeGroupingFolder.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

TreeGroupingFolder.GroupSimilarObjects()

Run the GroupSimilarObjects action.

TreeGroupingFolder.PropertyByAPIName(name: str)

TreeGroupingFolder.PropertyByName(name: str)

Get a property by its unique name.

TreeGroupingFolder.RemoveParameter(propName: str)

Removes the parameter from the parameter set corresponding to the given property.