Skip to main content

Mechanical scripting interface 2026 R1

`IWorksheet`

Last update: 09.03.2026

class Ansys.ACT.Interfaces.Common.IWorksheet

Bases: object

Defines a worksheets information.

Overview

Methods

Name Description
AddRow Adds a row to the worksheet.
DeleteRow Deletes a row from the worksheet at index.

Properties

Name Description
RowCount Gets the number of rows contained in the worksheet.

Property detail

property IWorksheet.RowCount : int | None

Gets the number of rows contained in the worksheet.

Method detail

IWorksheet.AddRow() → int

Adds a row to the worksheet.

IWorksheet.DeleteRow(index: int) → None

Deletes a row from the worksheet at index.

Connect with Ansys