ZOSAPI.Editors.MCE Namespace Reference
Last update: 16.07.2025Classes | |
| interface | IMCERow |
| All data for a Multiple Configuration Editor operand. This interface can be accessed via the IMultiConfigEditor interface. More... | |
| interface | IMultiConfigEditor |
| This interface defines all properties and methods needed to interact with the Multiple Configuration Editor. This interface can be accessed via the IOpticalSystem interface. More... | |
Enumerations | |
| enum | MultiConfigOperandType { MOFF , AICN , AFOC , APDF , APDT , APDX , APDY , APER , APMN , APMX , APTP , CADX , CADY , CAOR , CATX , CATY , CATZ , CBDX , CBDY , CBOR , CBTX , CBTY , CBTZ , CONN , COTN , CPCN , CROR , CRSR , CRVT , CSP1 , CSP2 , CWGT , EDVA , FLTP , FLWT , FVAN , FVCX , FVCY , FVDX , FVDY , GCRS , GLSS , GPEX , GPEY , GPIU , GPJX , GPJY , GPPX , GPPY , GQPO , HOLD , IGNM , IGNR , LTTL , MABB , MCOM , MDPG , MIND , MTFU , NCOM , NCOT , NGLS , NPAR , NPOS , NPRO , PAR1 , PAR2 , PAR3 , PAR4 , PAR5 , PAR6 , PAR7 , PAR8 , PRAM , PRES , PRWV , PSCX , PSCY , PSHX , PSHY , PSHZ , PSP1 , PSP2 , PSP3 , PUCN , PXAR , RAAM , SATP , SDIA , SDRW , STPS , SWCN , TCEX , TELE , TEMP , THIC , TSP1 , TSP2 , TSP3 , UDAF , WAVE , WLWT , XFIE , YFIE , OPDR , SRTS , MCHI , IGTO , FTAN , FCMM , CHZN , MCSD , CSDX , CSDY , CSTX , CSTY , CSTZ } |
| All supported Multi Configuration operand types. More... | |
Enumeration Type Documentation
◆ MultiConfigOperandType
All supported Multi Configuration operand types.
Usage (see Example 25 for a full sample)
C#
// change MCE to NPAR, modifies the number of Layout Rays for a Source
for (int a = 1; a <= 4; a++)
{
}
TheMCE.GetOperandAt(1).Param2 = 1;
TheMCE.GetOperandAt(1).Param3 = 1;
TheMCE.GetOperandAt(1).GetOperandCell(1).DoubleValue = 200;
TheMCE.GetOperandAt(1).GetOperandCell(2).DoubleValue = 0;
Definition: InterfacesMCE.cs:11
Definition: InterfacesEditors.cs:12
The ZOSAPI namespace contains classes for initially connecting to zemax. See also ZOSAPI_Connection,...
Definition: IAS_FieldCurvatureAndDistortion.cs:5
C++
// change MCE to NPAR, modifies the number of Layout Rays for a Source
for (int a = 1; a < 5; a++)
TheMCE->GetOperandAt(a)->ChangeType(MultiConfigOperandType_NPAR);
TheMCE->GetOperandAt(1)->Param2 = 1;
TheMCE->GetOperandAt(1)->Param3 = 1;
TheMCE->GetOperandAt(1)->GetOperandCell(1)->DoubleValue = 200;
TheMCE->GetOperandAt(1)->GetOperandCell(2)->DoubleValue = 0;
Matlab
for a = 1:4
end
TheMCE.GetOperandAt(1).Param2 = 1;
TheMCE.GetOperandAt(1).Param3 = 1;
TheMCE.GetOperandAt(1).GetOperandCell(1).DoubleValue = 200;
TheMCE.GetOperandAt(1).GetOperandCell(2).DoubleValue = 0;
Python
# change MCE to NPAR, modifies the number of Layout Rays for a Source
for a in range(1, 5):
TheMCE.GetOperandAt(a).ChangeType(ZOSAPI.Editors.MCE.MultiConfigOperandType.NPAR)
TheMCE.GetOperandAt(1).Param2 = 1
TheMCE.GetOperandAt(1).Param3 = 1
TheMCE.GetOperandAt(1).GetOperandCell(1).DoubleValue = 200
TheMCE.GetOperandAt(1).GetOperandCell(2).DoubleValue = 0