Skip to main content

Mechanical scripting interface

MeshControlWorksheet

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.MeshControlWorksheet

Bases: object

MeshControlWorksheet class.

Overview

Methods

Name Description
AddRow Add a row to the MeshControlWorksheet
ClearGenerateMesh Clear Mesh
DeleteAllRows Delete All Rows
DeleteRow Delete a row from the MeshControlWorksheet
GenerateAtRow Generate Mesh At Row
GenerateMesh Geneate Mesh
GetActiveState Gets the Active State property at row index
GetNamedSelection Gets the NamedSelection at row index
GetNamedSelectionId Gets the ID of the NamedSelection at row index
SetActiveState Sets the Active State property at row index
SetNamedSelection Sets the NamedSelection at row index
SetNamedSelectionId Sets the NamedSelection by ID at row index

Properties

Name Description
RowCount Gets the number of entries

Property detail

property MeshControlWorksheet.RowCount : int | None

Gets the number of entries

Method detail

MeshControlWorksheet.AddRow()

Add a row to the MeshControlWorksheet

MeshControlWorksheet.ClearGenerateMesh()

Clear Mesh

MeshControlWorksheet.DeleteAllRows()

Delete All Rows

MeshControlWorksheet.DeleteRow(index: int)

Delete a row from the MeshControlWorksheet

MeshControlWorksheet.GenerateAtRow(index: int)

Generate Mesh At Row

MeshControlWorksheet.GenerateMesh()

Geneate Mesh

MeshControlWorksheet.GetActiveState(index: int)

Gets the Active State property at row index

MeshControlWorksheet.GetNamedSelection(index: int)

Gets the NamedSelection at row index

MeshControlWorksheet.GetNamedSelectionId(index: int)

Gets the ID of the NamedSelection at row index

MeshControlWorksheet.SetActiveState(index: int, value: bool)

Sets the Active State property at row index

MeshControlWorksheet.SetNamedSelection(index: int, value: Ansys.ACT.Automation.Mechanical.NamedSelection)

Sets the NamedSelection at row index

MeshControlWorksheet.SetNamedSelectionId(index: int, value: int)

Sets the NamedSelection by ID at row index