Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

Parameter

Stephen S. Mitchell edited this page Apr 25, 2026 · 4 revisions

Namespace: AlibreScript.API | Kind: Class

The Parameter class provides functionality for managing individual parameters including equations, units, Excel linkages, and parameter relationships.

Related Classes

Quick Navigation

Properties

Comment

Type: Object Comment for the parameter

Equation

Type: Object Equation of the parameter

ExcelCell

Type: Object Excel cell associated with the parameter, e.g. '$B$3'

ExcelSheet

Type: Object Excel sheet associated with the parameter, e.g. 'Sheet1'

ExcelWorkbook

Type: Object Excel workbook associated with the parameter e.g. 'Foo.xlsx'

Name

Type: Object Name of the parameter

RawValue

Type: Object Raw value of the parameter

Type

Type: Object Type of the parameter

Units

Type: Object Current units of the parameter

Value

Type: Object Current value of the parameter in script units (for mm, cm, in), or degrees for angles, or raw value for other units

Methods

AttachToExcel

Attaches the parameter to a cell in an Ezcel spreadsheet

def AttachToExcel(document, sheet, cell, units):
"""
Attaches the parameter to a cell in an Ezcel spreadsheet

Args:
document (str): Path and name of Excel spreadsheet
sheet (str): Name of sheet to use
cell (str): Cell to use
units (UnitTypes): Units used in the cell

"""

Clone this wiki locally