View Source Code of an Object
Open the source code of any object directly in the CAST Imaging canvas.
Before you start
| Who this is for | Developer |
| Role required | Viewer or higher |
| Prerequisites | Source code viewer configured by the administrator (see Set up the source code viewer) |
Step 1: Open the source code
At Objects level, right-click any object and select Show source code.
The Legend panel on the right opens and shows the source file. The specific object is highlighted in the file.
[TODO: Screenshot of the source code panel]
Step 2: Navigate the source code
- Use the scroll bar to move through the file.
- The object’s location in the file is highlighted automatically.
Step 3: Select a portion of code for AI explanation
Select any portion of the source code with your mouse. An AI icon appears. Click it to get an AI explanation of the selected code.
See Explain an object with AI.
Troubleshoot
If the source code does not appear, see Source code viewer shows no content.
Next steps
Feedback
Was this page helpful?