    

 ## On this page

  

 

 # `GeneralizedPlaneStrain`

 Last update: 16.07.2025 

<a id="ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.BoundaryConditions.GeneralizedPlaneStrain"></a>

#### *class* Ansys.ACT.Automation.Mechanical.BoundaryConditions.GeneralizedPlaneStrain

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

Defines a GeneralizedPlaneStrain.

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

## Overview

### Methods

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

NameDescription[`BoundaryConditionAlongFiber`](#GeneralizedPlaneStrain.BoundaryConditionAlongFiber)Gets or sets the BoundaryConditionAlongFiber.[`BoundaryConditionForRotationAboutX`](#GeneralizedPlaneStrain.BoundaryConditionForRotationAboutX)Gets or sets the BoundaryConditionForRotationAboutX.[`BoundaryConditionForRotationAboutY`](#GeneralizedPlaneStrain.BoundaryConditionForRotationAboutY)Gets or sets the BoundaryConditionForRotationAboutY.[`Children`](#GeneralizedPlaneStrain.Children)Gets the list of children.[`Comments`](#GeneralizedPlaneStrain.Comments)Gets the list of associated comments.[`CoordinateSystem`](#GeneralizedPlaneStrain.CoordinateSystem)Gets or sets the CoordinateSystem.[`DataModelObjectCategory`](#GeneralizedPlaneStrain.DataModelObjectCategory)Gets the current DataModelObject’s category.[`Figures`](#GeneralizedPlaneStrain.Figures)Gets the list of associated figures.[`Images`](#GeneralizedPlaneStrain.Images)Gets the list of associated images.[`InternalObject`](#GeneralizedPlaneStrain.InternalObject)Gets the internal object. For advanced usage only.[`MagnitudeAlongFiber`](#GeneralizedPlaneStrain.MagnitudeAlongFiber)Gets or sets the MagnitudeAlongFiber.[`MagnitudeRotationX`](#GeneralizedPlaneStrain.MagnitudeRotationX)Gets or sets the MagnitudeRotationX.[`MagnitudeRotationY`](#GeneralizedPlaneStrain.MagnitudeRotationY)Gets or sets the MagnitudeRotationY.[`Properties`](#GeneralizedPlaneStrain.Properties)Gets the list of properties for this object.[`Suppressed`](#GeneralizedPlaneStrain.Suppressed)Gets or sets the Suppressed.[`VisibleProperties`](#GeneralizedPlaneStrain.VisibleProperties)Gets the list of properties that are visible for this object.[`XCoordinateOfRefPoint`](#GeneralizedPlaneStrain.XCoordinateOfRefPoint)Gets or sets the XCoordinateOfRefPoint.[`YCoordinateOfRefPoint`](#GeneralizedPlaneStrain.YCoordinateOfRefPoint)Gets or sets the YCoordinateOfRefPoint.<a id="property-detail"></a>

## Property detail

<a id="GeneralizedPlaneStrain.BoundaryConditionAlongFiber"></a>

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

Gets or sets the BoundaryConditionAlongFiber.

<a id="GeneralizedPlaneStrain.BoundaryConditionForRotationAboutX"></a>

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

Gets or sets the BoundaryConditionForRotationAboutX.

<a id="GeneralizedPlaneStrain.BoundaryConditionForRotationAboutY"></a>

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

Gets or sets the BoundaryConditionForRotationAboutY.

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

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

Gets the list of children.

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

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

Gets the list of associated comments.

<a id="GeneralizedPlaneStrain.CoordinateSystem"></a>

### *property* GeneralizedPlaneStrain.CoordinateSystem *: [Ansys.ACT.Automation.Mechanical.CoordinateSystem](../CoordinateSystem.md#ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.CoordinateSystem) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the CoordinateSystem.

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

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

Gets the current DataModelObject’s category.

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

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

Gets the list of associated figures.

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

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

Gets the list of associated images.

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

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

Gets the internal object. For advanced usage only.

<a id="GeneralizedPlaneStrain.MagnitudeAlongFiber"></a>

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

Gets or sets the MagnitudeAlongFiber.

<a id="GeneralizedPlaneStrain.MagnitudeRotationX"></a>

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

Gets or sets the MagnitudeRotationX.

<a id="GeneralizedPlaneStrain.MagnitudeRotationY"></a>

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

Gets or sets the MagnitudeRotationY.

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

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

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

Gets or sets the Suppressed.

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

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

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

Gets or sets the XCoordinateOfRefPoint.

<a id="GeneralizedPlaneStrain.YCoordinateOfRefPoint"></a>

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

Gets or sets the YCoordinateOfRefPoint.

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

## Method detail

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

### GeneralizedPlaneStrain.Activate()

Activate the current object.

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

### GeneralizedPlaneStrain.AddComment()

Creates a new child Comment.

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

### GeneralizedPlaneStrain.AddFigure()

Creates a new child Figure.

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

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

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

Copies all visible properties from this object to another.

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

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

Creates a new parameter for a Property.

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

### GeneralizedPlaneStrain.Delete()

Run the Delete action.

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

### GeneralizedPlaneStrain.Duplicate()

Creates a copy of the current DataModelObject.

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

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

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

Gets the parameter corresponding to the given property.

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

### GeneralizedPlaneStrain.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

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

### GeneralizedPlaneStrain.GroupSimilarObjects()

Run the GroupSimilarObjects action.

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

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

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

Get a property by its unique name.

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

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

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