    

 ## On this page

  

 

 # `ZCrossSection`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.ZCrossSection"></a>

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

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

Defines a ZCrossSection.

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

## Overview

### Methods

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

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

## Property detail

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

### *property* ZCrossSection.Area *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the Area.

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

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

Gets the list of children.

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

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

Gets the list of associated comments.

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

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

Gets the current DataModelObject’s category.

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

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

Gets the list of associated figures.

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

### *property* ZCrossSection.IYY *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the IYY.

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

### *property* ZCrossSection.IZZ *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the IZZ.

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

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

Gets the list of associated images.

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

### *property* ZCrossSection.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="ZCrossSection.Properties"></a>

### *property* ZCrossSection.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="ZCrossSection.ReadOnly"></a>

### *property* ZCrossSection.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="ZCrossSection.Thick1"></a>

### *property* ZCrossSection.Thick1 *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Thick1.

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

### *property* ZCrossSection.Thick2 *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Thick2.

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

### *property* ZCrossSection.Thick3 *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Thick3.

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

### *property* ZCrossSection.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="ZCrossSection.Width1"></a>

### *property* ZCrossSection.Width1 *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Width1.

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

### *property* ZCrossSection.Width2 *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Width2.

<a id="ZCrossSection.Width3"></a>

### *property* ZCrossSection.Width3 *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Width3.

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

## Method detail

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

### ZCrossSection.Activate()

Activate the current object.

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

### ZCrossSection.AddComment()

Creates a new child Comment.

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

### ZCrossSection.AddFigure()

Creates a new child Figure.

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

### ZCrossSection.AddImage(filePath: [str](https://docs.python.org/3/library/stdtypes.html#str))

```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="ZCrossSection.CopyTo"></a>

### ZCrossSection.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)

Copies all visible properties from this object to another.

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

### ZCrossSection.CreateParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

Creates a new parameter for a Property.

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

### ZCrossSection.Delete()

Run the Delete action.

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

### ZCrossSection.Duplicate()

Creates a copy of the current DataModelObject.

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

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

Gets the list of children, filtered by type.

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

### ZCrossSection.GetParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

Gets the parameter corresponding to the given property.

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

### ZCrossSection.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

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

### ZCrossSection.GroupSimilarObjects()

Run the GroupSimilarObjects action.

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

### ZCrossSection.PropertyByAPIName(name: [str](https://docs.python.org/3/library/stdtypes.html#str))

```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="ZCrossSection.PropertyByName"></a>

### ZCrossSection.PropertyByName(name: [str](https://docs.python.org/3/library/stdtypes.html#str))

Get a property by its unique name.

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

### ZCrossSection.RemoveParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

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