Skip to main content

Mechanical scripting interface

BatchConnectionsWorksheet

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.BatchConnectionsWorksheet

Bases: object

BatchConnectionsWorksheet 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
GetConnectionOption Gets the current set cconnection option at the row index
GetConnectionTolerances Gets the list of connection tolerances at the 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
SetConnectionOption Sets the connection option at row index
SetConnectionTolerances Sets the connection tolerance list 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 BatchConnectionsWorksheet.RowCount : int | None

Gets the number of entries

Method detail

BatchConnectionsWorksheet.AddRow()

Add a row to the MeshControlWorksheet

BatchConnectionsWorksheet.ClearGenerateMesh()

Clear Mesh

BatchConnectionsWorksheet.DeleteAllRows()

Delete All Rows

BatchConnectionsWorksheet.DeleteRow(index: int)

Delete a row from the MeshControlWorksheet

BatchConnectionsWorksheet.GenerateAtRow(index: int)

Generate Mesh At Row

BatchConnectionsWorksheet.GenerateMesh()

Geneate Mesh

BatchConnectionsWorksheet.GetActiveState(index: int)

Gets the Active State property at row index

BatchConnectionsWorksheet.GetConnectionOption(index: int)

Gets the current set cconnection option at the row index

BatchConnectionsWorksheet.GetConnectionTolerances(index: int)

Gets the list of connection tolerances at the row index

BatchConnectionsWorksheet.GetNamedSelection(index: int)

Gets the NamedSelection at row index

BatchConnectionsWorksheet.GetNamedSelectionId(index: int)

Gets the ID of the NamedSelection at row index

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

Sets the Active State property at row index

BatchConnectionsWorksheet.SetConnectionOption(index: int, value: int)

Sets the connection option at row index

BatchConnectionsWorksheet.SetConnectionTolerances(index: int, value: str)

Sets the connection tolerance list at row index

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

Sets the NamedSelection at row index

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

Sets the NamedSelection by ID at row index