SectionPlanes#

class ansys.mechanical.stubs.v241.Ansys.Mechanical.Graphics.SectionPlanes#

Bases: object

Represents the collection of section planes used by graphics

Overview#

Add

Adds the given SectionPlane object to the collection to modify the view. Currently only 6 SectionPlane objects in the collection can be activated at once.

Clear

Clears the collection of all SectionPlane objects.

Remove

Removes the requested SectionPlane from the collection.

RemoveAt

Removes the SectionPlane at the given index.

Capping

Gets or Sets the Capping style of the Section Plane

Count

The number of section planes in the collection.

ShowWholeElement

Gets or Sets the Element Visibility of the Section Plane

Property detail#

property SectionPlanes.Capping: Ansys.Mechanical.DataModel.Enums.SectionPlaneCappingType | None#

Gets or Sets the Capping style of the Section Plane

property SectionPlanes.Count: int | None#

The number of section planes in the collection.

property SectionPlanes.ShowWholeElement: bool | None#

Gets or Sets the Element Visibility of the Section Plane

Method detail#

SectionPlanes.Add(sectionPlane: Ansys.Mechanical.Graphics.SectionPlane) None#

Adds the given SectionPlane object to the collection to modify the view. Currently only 6 SectionPlane objects in the collection can be activated at once.

SectionPlanes.Clear() None#

Clears the collection of all SectionPlane objects.

SectionPlanes.Remove(sectionPlane: Ansys.Mechanical.Graphics.SectionPlane) bool#

Removes the requested SectionPlane from the collection.

SectionPlanes.RemoveAt(index: int) None#

Removes the SectionPlane at the given index.