> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Example 09: NSC CAD

Ex 9: A new non-sequential file is opened and saved to the API sample folder. Object 1 is changed to CAD Part: STEP/IGES/SAT. This object type requires the user to choose from a list of available CAD objects within the Objects directory. The list is accessed and searched to find “ExtPoly.stp”. Once ExtPoly.stp is inserted into the editor, its surface-to-face mapping is updated. Creation of a polygon object file is then demonstrated by directly writing a POB file. Using the POB syntax, a cube is defined and inserted as object 2 into the NSCE.

```text theme={null}
Input:		Zemax\Objects\CAD Files\ExtPoly.stp

Output:		API\e09_NSC_CAD.zos
            Zemax\Objects\Polygon Objects\API_cube_demo.pob
```

[C#](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/apiexamples/example_09_cs)

[C++](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/apiexamples/example_09_cpp)

[Matlab](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/apiexamples/example_09_m)

[Python](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/apiexamples/example_09_py)
