ZOSAPI.Editors.NCE.INCECADData Interface Reference
Last update: 17.07.2025Object properties CAD tab. This interface can be accessed via the INCERow interface. More...
Public Member Functions | |
| int | GetSurfaceFace (int surfaceIdx) |
| Gets the face assigned to the specified surface. | |
| bool | SetSurfaceFace (int surfaceIdx, int face) |
| Sets the face assigned to the specified surface. | |
| string | GetSurfaceName (int surfaceIdx) |
| Gets the name assigned to the specified surface. | |
| bool | SetSurfaceName (int surfaceIdx, string name) |
| Sets the name assigned to the specified surface. | |
| string | GetConfigurationName (int configIdx) |
| string | GetPartName (int partIdx) |
| Gets the name of the specified part. | |
| bool | GetPartExposed (int partIdx) |
| Gets a value indicating if the part is exposed. | |
| bool | SetPartExposed (int partIdx, bool exposed) |
| Sets a value indiciating if the part is exposed. | |
| bool | SetAllPartsExposed (bool exposed) |
Properties | |
| bool | IsCADAvailable [get] |
| bool | HasChordTolerance [get] |
| double | ChordTolerance [get, set] |
| bool | HasSurfaceTolerance [get] |
| int | SurfaceTolerance [get, set] |
| bool | HasFaceParameters [get] |
| double | FaceAngle [get, set] |
| int | FaceMode [get, set] |
| bool | HasMergeSurfaces [get] |
| bool | MergeSurfaces [get, set] |
| bool | HasFaceData [get] |
| int | NumberOfSurfaces [get] |
| bool | HasPartData [get] |
| int | NumberOfConfigurations [get] |
| int | CurrentConfiguration [get, set] |
| int | NumberOfParts [get] |
| bool | HasEdgeLength [get] |
| double | MaxEdgeLength [get, set] |
| bool | HasTraceMode [get] |
| RayTraceModes | TraceMode [get, set] |
Detailed Description
Object properties CAD tab. This interface can be accessed via the INCERow interface.
Usage (see Example 09 for a full sample)
C#
C++
Matlab
Python
- Examples
- CSharpStandalone_09_NSC_CAD.cs.
Member Function Documentation
◆ GetConfigurationName()
| string ZOSAPI.Editors.NCE.INCECADData.GetConfigurationName | ( | int | configIdx | ) |
◆ GetPartExposed()
| bool ZOSAPI.Editors.NCE.INCECADData.GetPartExposed | ( | int | partIdx | ) |
Gets a value indicating if the part is exposed.
- Parameters
-
partIdx Index of the part (0 to NumberOfParts-1).
- Returns
◆ GetPartName()
| string ZOSAPI.Editors.NCE.INCECADData.GetPartName | ( | int | partIdx | ) |
Gets the name of the specified part.
- Parameters
-
partIdx Index of the part (0 to NumberOfParts-1).
- Returns
◆ GetSurfaceFace()
| int ZOSAPI.Editors.NCE.INCECADData.GetSurfaceFace | ( | int | surfaceIdx | ) |
Gets the face assigned to the specified surface.
- Parameters
-
surfaceIdx Index of the surface (0 to NumberOfSurfaces-1).
- Returns
◆ GetSurfaceName()
| string ZOSAPI.Editors.NCE.INCECADData.GetSurfaceName | ( | int | surfaceIdx | ) |
Gets the name assigned to the specified surface.
- Parameters
-
surfaceIdx Index of the surface (0 to NumberOfSurfaces-1).
- Returns
◆ SetAllPartsExposed()
| bool ZOSAPI.Editors.NCE.INCECADData.SetAllPartsExposed | ( | bool | exposed | ) |
◆ SetPartExposed()
| bool ZOSAPI.Editors.NCE.INCECADData.SetPartExposed | ( | int | partIdx, |
| bool | exposed | ||
| ) |
Sets a value indiciating if the part is exposed.
- Parameters
-
partIdx Index of the part (0 to NumberOfParts-1). exposed if set to true[exposed].
- Returns
◆ SetSurfaceFace()
| bool ZOSAPI.Editors.NCE.INCECADData.SetSurfaceFace | ( | int | surfaceIdx, |
| int | face | ||
| ) |
Sets the face assigned to the specified surface.
Usage (see Example 09 for a full sample)
C#
C++
Matlab
Python
- Parameters
-
surfaceIdx Index of the surface (0 to NumberOfSurfaces-1). face The face.
- Returns
- Examples
- CSharpStandalone_09_NSC_CAD.cs.
◆ SetSurfaceName()
| bool ZOSAPI.Editors.NCE.INCECADData.SetSurfaceName | ( | int | surfaceIdx, |
| string | name | ||
| ) |
Sets the name assigned to the specified surface.
- Parameters
-
surfaceIdx Index of the surface (0 to NumberOfSurfaces-1). name The new surface name.
- Returns
Property Documentation
◆ ChordTolerance
|
getset |
◆ CurrentConfiguration
|
getset |
◆ FaceAngle
|
getset |
◆ FaceMode
|
getset |
Usage (see Example 09 for a full sample)
C#
C++
Matlab
Python
◆ HasChordTolerance
|
get |
◆ HasEdgeLength
|
get |
◆ HasFaceData
|
get |
Usage (see Example 09 for a full sample)
C#
C++
Matlab
Python
- Examples
- CSharpStandalone_09_NSC_CAD.cs.
◆ HasFaceParameters
|
get |
◆ HasMergeSurfaces
|
get |
◆ HasPartData
|
get |
◆ HasSurfaceTolerance
|
get |
◆ HasTraceMode
|
get |
◆ IsCADAvailable
|
get |
◆ MaxEdgeLength
|
getset |
◆ MergeSurfaces
|
getset |
◆ NumberOfConfigurations
|
get |
◆ NumberOfParts
|
get |
◆ NumberOfSurfaces
|
get |
- Examples
- CSharpStandalone_09_NSC_CAD.cs.
◆ SurfaceTolerance
|
getset |
◆ TraceMode
|
getset |