ZOSAPI.Editors.LDE.ILDEApertureData Interface Reference
Last update: 17.07.2025Surface properties aperture tab. This interface can be accessed via the ILDERow interface. More...
Public Member Functions | |
| void | SetPickupNone () |
| Sets PickupFrom to None. | |
| ISurfaceApertureType | CreateApertureTypeSettings (SurfaceApertureTypes type) |
| Creates the a settings interface for the specified aperture type. Note that changing these settings will have no effect until you call ChangeApertureTypeSettings. | |
| bool | ChangeApertureTypeSettings (ISurfaceApertureType settings) |
| Updates the surface aperture with the specified settings. Use CurrentTypeSettings or CreateApertureTypeSettings to retrieve the appropriate settings interface. | |
Properties | |
| int | PickupFrom [get, set] |
| Gets or sets the surface to pickup settings from. | |
| bool | IsPickedUp [get] |
Gets a value indicating whether the aperture data is being picked up from another surface. If true, ChangeApertureTypeSettings will always return false. | |
| SurfaceApertureTypes | CurrentType [get] |
| Gets the current aperture type. | |
| ISurfaceApertureType | CurrentTypeSettings [get] |
| Gets the current aperture type settings. Note that to change the aperture type use CreateApertureTypeSettings and ChangeApertureTypeSettings. | |
| bool | DisableClearSemiDiameterMarginsForThisSurface [get, set] |
| Disable Clear Semi Diameter Margins for this Surface. When enabled, this will cause the values specified in the system explorer for ISDApertureData.SemiDiameterMargin and ISDApertureData.SemiDiameterMarginPct to be ignored. | |
Detailed Description
Surface properties aperture tab. This interface can be accessed via the ILDERow interface.
Usage (see Example 19 for a full sample)
C#
C++
Matlab
Python
Member Function Documentation
◆ ChangeApertureTypeSettings()
| bool ZOSAPI.Editors.LDE.ILDEApertureData.ChangeApertureTypeSettings | ( | ISurfaceApertureType | settings | ) |
Updates the surface aperture with the specified settings. Use CurrentTypeSettings or CreateApertureTypeSettings to retrieve the appropriate settings interface.
Usage (see Example 11 for a full sample)
C#
C++
Matlab
Python
- Parameters
-
settings The new settings.
- Returns
◆ CreateApertureTypeSettings()
| ISurfaceApertureType ZOSAPI.Editors.LDE.ILDEApertureData.CreateApertureTypeSettings | ( | SurfaceApertureTypes | type | ) |
Creates the a settings interface for the specified aperture type. Note that changing these settings will have no effect until you call ChangeApertureTypeSettings.
Usage (see Example 11 for a full sample)
C#
C++
Matlab
Python
- Parameters
-
type The type.
- Returns
◆ SetPickupNone()
| void ZOSAPI.Editors.LDE.ILDEApertureData.SetPickupNone | ( | ) |
Sets PickupFrom to None.
Property Documentation
◆ CurrentType
|
get |
Gets the current aperture type.
The type of the current aperture.
◆ CurrentTypeSettings
|
get |
Gets the current aperture type settings. Note that to change the aperture type use CreateApertureTypeSettings and ChangeApertureTypeSettings.
The current aperture type settings.
◆ DisableClearSemiDiameterMarginsForThisSurface
|
getset |
Disable Clear Semi Diameter Margins for this Surface. When enabled, this will cause the values specified in the system explorer for ISDApertureData.SemiDiameterMargin and ISDApertureData.SemiDiameterMarginPct to be ignored.
◆ IsPickedUp
|
get |
Gets a value indicating whether the aperture data is being picked up from another surface. If true, ChangeApertureTypeSettings will always return false.
true if this instance is picking up settings from another surface; otherwise, false.
◆ PickupFrom
|
getset |
Gets or sets the surface to pickup settings from.
The surface number to pickup (0 for None).