ZOSAPI.Editors.NCE.IObjectTypeSettings Interface Reference
Last update: 17.07.2025This interface is used for selecting any files required by a object, and for changing object types. This interface can be accessed via the INCERow interface. More...
Public Member Functions | |
| string[] | GetFileNames1 () |
| Gets all available files for this type. | |
| string[] | GetFileNames2 () |
| Gets all available secondary files for this type. | |
Properties | |
| ObjectType | Type [get] |
| Gets the object type for this interface. | |
| bool | IsValid [get] |
| Gets a value indicating whether all settings are valid. | |
| bool | RequiresFile1 [get] |
| Gets a value indicating whether this object type requires an external file to function. | |
| string | FileName1 [get, set] |
| Gets or sets the currently selected file name. | |
| bool | RequiresFile2 [get] |
| Gets a value indicating whether this object type requires an secondary external file to function (such as ObjectType.GridSagFrontBack). | |
| string | FileName2 [get, set] |
| Gets or sets the currently selected secondary file name. | |
Detailed Description
This interface is used for selecting any files required by a object, and for changing object types. This interface can be accessed via the INCERow interface.
Member Function Documentation
◆ GetFileNames1()
| string[] ZOSAPI.Editors.NCE.IObjectTypeSettings.GetFileNames1 | ( | ) |
Gets all available files for this type.
- Returns
◆ GetFileNames2()
| string[] ZOSAPI.Editors.NCE.IObjectTypeSettings.GetFileNames2 | ( | ) |
Gets all available secondary files for this type.
- Returns
Property Documentation
◆ FileName1
|
getset |
Gets or sets the currently selected file name.
Usage (see Example 21 for a full sample)
C#
C++
Matlab
Python
The name of the file. Note that only files returned by GetFileNames1 are allowed.
◆ FileName2
|
getset |
Gets or sets the currently selected secondary file name.
The name of the file. Note that only files returned by GetFileNames2 are allowed.
◆ IsValid
|
get |
Gets a value indicating whether all settings are valid.
true if this instance is valid; otherwise, false.
◆ RequiresFile1
|
get |
Gets a value indicating whether this object type requires an external file to function.
true if a file is required; otherwise, false.
◆ RequiresFile2
|
get |
Gets a value indicating whether this object type requires an secondary external file to function (such as ObjectType.GridSagFrontBack).
true if a file is required; otherwise, false.
◆ Type
|
get |
Gets the object type for this interface.
Usage (see Example 24 for a full sample)
C#
C++
Matlab
Python
The type.