    

 ## On this page

  

 

 # `HollowRectangularCrossSection`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.HollowRectangularCrossSection"></a>

#### *class* Ansys.ACT.Automation.Mechanical.HollowRectangularCrossSection

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

Defines a HollowRectangularCrossSection.

<a id="overview"></a>

## Overview

### Methods

NameDescription[`Activate`](#HollowRectangularCrossSection.Activate)Activate the current object.[`AddComment`](#HollowRectangularCrossSection.AddComment)Creates a new child Comment.[`AddFigure`](#HollowRectangularCrossSection.AddFigure)Creates a new child Figure.[`AddImage`](#HollowRectangularCrossSection.AddImage)Creates a new child Image.[`CopyTo`](#HollowRectangularCrossSection.CopyTo)Copies all visible properties from this object to another.[`CreateParameter`](#HollowRectangularCrossSection.CreateParameter)Creates a new parameter for a Property.[`Delete`](#HollowRectangularCrossSection.Delete)Run the Delete action.[`Duplicate`](#HollowRectangularCrossSection.Duplicate)Creates a copy of the current DataModelObject.[`GetChildren`](#HollowRectangularCrossSection.GetChildren)Gets the list of children, filtered by type.[`GetParameter`](#HollowRectangularCrossSection.GetParameter)Gets the parameter corresponding to the given property.[`GroupAllSimilarChildren`](#HollowRectangularCrossSection.GroupAllSimilarChildren)Run the GroupAllSimilarChildren action.[`GroupSimilarObjects`](#HollowRectangularCrossSection.GroupSimilarObjects)Run the GroupSimilarObjects action.[`PropertyByAPIName`](#HollowRectangularCrossSection.PropertyByAPIName)Get a property by its API name.[`PropertyByName`](#HollowRectangularCrossSection.PropertyByName)Get a property by its unique name.[`RemoveParameter`](#HollowRectangularCrossSection.RemoveParameter)Removes the parameter from the parameter set corresponding to the given property.### Properties

NameDescription[`Area`](#HollowRectangularCrossSection.Area)Gets the Area.[`Children`](#HollowRectangularCrossSection.Children)Gets the list of children.[`Comments`](#HollowRectangularCrossSection.Comments)Gets the list of associated comments.[`DataModelObjectCategory`](#HollowRectangularCrossSection.DataModelObjectCategory)Gets the current DataModelObject’s category.[`Figures`](#HollowRectangularCrossSection.Figures)Gets the list of associated figures.[`IYY`](#HollowRectangularCrossSection.IYY)Gets the IYY.[`IZZ`](#HollowRectangularCrossSection.IZZ)Gets the IZZ.[`Images`](#HollowRectangularCrossSection.Images)Gets the list of associated images.[`InternalObject`](#HollowRectangularCrossSection.InternalObject)Gets the internal object. For advanced usage only.[`Properties`](#HollowRectangularCrossSection.Properties)Gets the list of properties for this object.[`ReadOnly`](#HollowRectangularCrossSection.ReadOnly)Gets or sets the ReadOnly.[`Thick1`](#HollowRectangularCrossSection.Thick1)Gets or sets the Thick1.[`Thick2`](#HollowRectangularCrossSection.Thick2)Gets or sets the Thick2.[`Thick3`](#HollowRectangularCrossSection.Thick3)Gets or sets the Thick3.[`Thick4`](#HollowRectangularCrossSection.Thick4)Gets or sets the Thick4.[`VisibleProperties`](#HollowRectangularCrossSection.VisibleProperties)Gets the list of properties that are visible for this object.[`Width1`](#HollowRectangularCrossSection.Width1)Gets or sets the Width1.[`Width2`](#HollowRectangularCrossSection.Width2)Gets or sets the Width2.<a id="property-detail"></a>

## Property detail

<a id="HollowRectangularCrossSection.Area"></a>

### *property* HollowRectangularCrossSection.Area *: [Ansys.Core.Units.Quantity](../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the Area.

<a id="HollowRectangularCrossSection.Children"></a>

### *property* HollowRectangularCrossSection.Children *: List\[[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject](../../../Mechanical/DataModel/Interfaces/IDataModelObject.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.Interfaces.IDataModelObject)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of children.

<a id="HollowRectangularCrossSection.Comments"></a>

### *property* HollowRectangularCrossSection.Comments *: Iterable\[[Ansys.ACT.Automation.Mechanical.Comment](Comment.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Comment)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated comments.

<a id="HollowRectangularCrossSection.DataModelObjectCategory"></a>

### *property* HollowRectangularCrossSection.DataModelObjectCategory *: [Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory](../../../Mechanical/DataModel/Enums/DataModelObjectCategory.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the current DataModelObject’s category.

<a id="HollowRectangularCrossSection.Figures"></a>

### *property* HollowRectangularCrossSection.Figures *: Iterable\[[Ansys.ACT.Automation.Mechanical.Figure](Figure.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Figure)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated figures.

<a id="HollowRectangularCrossSection.IYY"></a>

### *property* HollowRectangularCrossSection.IYY *: [Ansys.Core.Units.Quantity](../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the IYY.

<a id="HollowRectangularCrossSection.IZZ"></a>

### *property* HollowRectangularCrossSection.IZZ *: [Ansys.Core.Units.Quantity](../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the IZZ.

<a id="HollowRectangularCrossSection.Images"></a>

### *property* HollowRectangularCrossSection.Images *: Iterable\[[Ansys.ACT.Automation.Mechanical.Image](Image.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Image)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated images.

<a id="HollowRectangularCrossSection.InternalObject"></a>

### *property* HollowRectangularCrossSection.InternalObject *: Ansys.Common.Interop.DSObjectsAuto.IDSCrossSectionAuto | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the internal object. For advanced usage only.

<a id="HollowRectangularCrossSection.Properties"></a>

### *property* HollowRectangularCrossSection.Properties *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[Ansys.ACT.Automation.Mechanical.Property\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of properties for this object.

<a id="HollowRectangularCrossSection.ReadOnly"></a>

### *property* HollowRectangularCrossSection.ReadOnly *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the ReadOnly.

<a id="HollowRectangularCrossSection.Thick1"></a>

### *property* HollowRectangularCrossSection.Thick1 *: [Ansys.Core.Units.Quantity](../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Thick1.

<a id="HollowRectangularCrossSection.Thick2"></a>

### *property* HollowRectangularCrossSection.Thick2 *: [Ansys.Core.Units.Quantity](../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Thick2.

<a id="HollowRectangularCrossSection.Thick3"></a>

### *property* HollowRectangularCrossSection.Thick3 *: [Ansys.Core.Units.Quantity](../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Thick3.

<a id="HollowRectangularCrossSection.Thick4"></a>

### *property* HollowRectangularCrossSection.Thick4 *: [Ansys.Core.Units.Quantity](../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Thick4.

<a id="HollowRectangularCrossSection.VisibleProperties"></a>

### *property* HollowRectangularCrossSection.VisibleProperties *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[Ansys.ACT.Automation.Mechanical.Property\] | [None](https://docs.python.org/3/library/constants.html#None)*

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

<a id="HollowRectangularCrossSection.Width1"></a>

### *property* HollowRectangularCrossSection.Width1 *: [Ansys.Core.Units.Quantity](../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Width1.

<a id="HollowRectangularCrossSection.Width2"></a>

### *property* HollowRectangularCrossSection.Width2 *: [Ansys.Core.Units.Quantity](../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Width2.

<a id="method-detail"></a>

## Method detail

<a id="HollowRectangularCrossSection.Activate"></a>

### HollowRectangularCrossSection.Activate() → [None](https://docs.python.org/3/library/constants.html#None)

Activate the current object.

<a id="HollowRectangularCrossSection.AddComment"></a>

### HollowRectangularCrossSection.AddComment() → [Ansys.ACT.Automation.Mechanical.Comment](Comment.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Comment)

Creates a new child Comment.

<a id="HollowRectangularCrossSection.AddFigure"></a>

### HollowRectangularCrossSection.AddFigure() → [Ansys.ACT.Automation.Mechanical.Figure](Figure.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Figure)

Creates a new child Figure.

<a id="HollowRectangularCrossSection.AddImage"></a>

### HollowRectangularCrossSection.AddImage(filePath: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [Ansys.ACT.Automation.Mechanical.Image](Image.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Image)

```text
Creates a new child Image.
If a filePath is provided, the image will be loaded from that file,
if not, the image will be a screen capture of the Geometry window.

```

<a id="HollowRectangularCrossSection.CopyTo"></a>

### HollowRectangularCrossSection.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) → [None](https://docs.python.org/3/library/constants.html#None)

Copies all visible properties from this object to another.

<a id="HollowRectangularCrossSection.CreateParameter"></a>

### HollowRectangularCrossSection.CreateParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

<a id="HollowRectangularCrossSection.Delete"></a>

### HollowRectangularCrossSection.Delete() → [None](https://docs.python.org/3/library/constants.html#None)

Run the Delete action.

<a id="HollowRectangularCrossSection.Duplicate"></a>

### HollowRectangularCrossSection.Duplicate() → [Ansys.Mechanical.DataModel.Interfaces.IDataModelObject](../../../Mechanical/DataModel/Interfaces/IDataModelObject.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.Interfaces.IDataModelObject)

Creates a copy of the current DataModelObject.

<a id="HollowRectangularCrossSection.GetChildren"></a>

### HollowRectangularCrossSection.GetChildren(recurses: [bool](https://docs.python.org/3/library/functions.html#bool), children: List\[ChildrenType\]) → List\[ChildrenType\]

Gets the list of children, filtered by type.

<a id="HollowRectangularCrossSection.GetParameter"></a>

### HollowRectangularCrossSection.GetParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

<a id="HollowRectangularCrossSection.GroupAllSimilarChildren"></a>

### HollowRectangularCrossSection.GroupAllSimilarChildren() → [None](https://docs.python.org/3/library/constants.html#None)

Run the GroupAllSimilarChildren action.

<a id="HollowRectangularCrossSection.GroupSimilarObjects"></a>

### HollowRectangularCrossSection.GroupSimilarObjects() → [Ansys.ACT.Automation.Mechanical.TreeGroupingFolder](TreeGroupingFolder.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.TreeGroupingFolder)

Run the GroupSimilarObjects action.

<a id="HollowRectangularCrossSection.PropertyByAPIName"></a>

### HollowRectangularCrossSection.PropertyByAPIName(name: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Automation.Mechanical.Property

```text
Get a property by its API name.
If multiple properties have the same API Name, only the first property with that name will be returned.

```

<a id="HollowRectangularCrossSection.PropertyByName"></a>

### HollowRectangularCrossSection.PropertyByName(name: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

<a id="HollowRectangularCrossSection.RemoveParameter"></a>

### HollowRectangularCrossSection.RemoveParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [None](https://docs.python.org/3/library/constants.html#None)

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