    

 ## On this page

  

 

 # `LCrossSection`

 Last update: 09.03.2026 

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

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

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

Defines a LCrossSection.

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

## Overview

### Methods

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

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

## Property detail

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

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

Gets the Area.

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

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

Gets the list of children.

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

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

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

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

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

Gets the IYY.

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

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

Gets the IZZ.

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

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

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

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

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

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

Gets or sets the Thick1.

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

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

Gets or sets the Thick2.

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

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

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

Gets or sets the Width1.

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

### *property* LCrossSection.Width2 *: 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="LCrossSection.Activate"></a>

### LCrossSection.Activate()

Activate the current object.

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

### LCrossSection.AddComment()

Creates a new child Comment.

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

### LCrossSection.AddFigure()

Creates a new child Figure.

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

### LCrossSection.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="LCrossSection.CopyTo"></a>

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

Copies all visible properties from this object to another.

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

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

Creates a new parameter for a Property.

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

### LCrossSection.Delete()

Run the Delete action.

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

### LCrossSection.Duplicate()

Creates a copy of the current DataModelObject.

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

### LCrossSection.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="LCrossSection.GetParameter"></a>

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

Gets the parameter corresponding to the given property.

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

### LCrossSection.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

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

### LCrossSection.GroupSimilarObjects()

Run the GroupSimilarObjects action.

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

### LCrossSection.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="LCrossSection.PropertyByName"></a>

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

Get a property by its unique name.

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

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

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