ZOSAPI.Editors.MCE.IMCERow Interface Reference
Last update: 17.07.2025All data for a Multiple Configuration Editor operand. This interface can be accessed via the IMultiConfigEditor interface. More...

Public Member Functions | |
| IEditorCell | GetOperandCell (int configuration) |
Gets the specified operand cell data. | |
| MultiConfigOperandType[] | AvailableConfigOperandTypes () |
| bool | ChangeType (MultiConfigOperandType type) |
| Changes to the specified operand type. | |
Public Member Functions inherited from ZOSAPI.Editors.IEditorRow | |
| IEditorCell | GetCellAt (int pos) |
| Gets the cell at the specified index (IEditor.MinColumn to IEditor.MaxColumn). | |
Properties | |
| bool | IsActive [get] |
| Gets a value indicating whether this instance is active (i.e. refers to a valid operand in the system). | |
| int | OperandNumber [get] |
| Gets the operand number for this row. | |
| string | TypeName [get] |
| MultiConfigOperandType | Type [get] |
| Gets the current operand type. Use ChangeType to change the operand type. | |
| ZemaxColor | RowColor [get, set] |
| int | Param1 [get, set] |
| bool | Param1Enabled [get] |
| int | Param2 [get, set] |
| bool | Param2Enabled [get] |
| int | Param3 [get, set] |
| bool | Param3Enabled [get] |
Properties inherited from ZOSAPI.Editors.IEditorRow | |
| IEditor | Editor [get] |
| Gets the editor this row was retrieved from. | |
| bool | IsValidRow [get] |
| Gets a value indicating whether this instance is currently valid. Note that the RowIndex for this object is fixed, so removing one or more rows from the editor may cause it to be invalid. | |
| int | RowIndex [get] |
| Gets the index of this row in the editor. | |
| string | RowTypeName [get] |
| Gets the type of this row; this can be a surface for the LDE, object for the NCE, etc. | |
| string | Bookmark [get, set] |
Detailed Description
All data for a Multiple Configuration Editor operand. This interface can be accessed via the IMultiConfigEditor interface.
Member Function Documentation
◆ AvailableConfigOperandTypes()
| MultiConfigOperandType[] ZOSAPI.Editors.MCE.IMCERow.AvailableConfigOperandTypes | ( | ) |
◆ ChangeType()
| bool ZOSAPI.Editors.MCE.IMCERow.ChangeType | ( | MultiConfigOperandType | type | ) |
Changes to the specified operand type.
Usage (see Example 18 for a full sample)
C#
C++
Matlab
Python
- Parameters
-
type The type.
- Returns
trueif the change was successful; otherwise,false.
◆ GetOperandCell()
| IEditorCell ZOSAPI.Editors.MCE.IMCERow.GetOperandCell | ( | int | configuration | ) |
Gets the specified operand cell data.
Usage (see Example 18 for a full sample)
C#
C++
Matlab
Python
- Parameters
-
configuration The configuration.
- Returns
Property Documentation
◆ IsActive
|
get |
Gets a value indicating whether this instance is active (i.e. refers to a valid operand in the system).
true if this instance is active; otherwise, false.
◆ OperandNumber
|
get |
Gets the operand number for this row.
The operand number.
◆ Param1
|
getset |
Usage (see Example 18 for a full sample)
C#
C++
Matlab
Python
◆ Param1Enabled
|
get |
◆ Param2
|
getset |
Usage (see Example 25 for a full sample)
C#
C++
Matlab
Python
◆ Param2Enabled
|
get |
◆ Param3
|
getset |
Usage (see Example 25 for a full sample)
C#
C++
Matlab
Python
◆ Param3Enabled
|
get |
◆ RowColor
|
getset |
◆ Type
|
get |
Gets the current operand type. Use ChangeType to change the operand type.
The type.
◆ TypeName
|
get |
Public Member Functions inherited from