Ovis_Project_Network_Visualization_Enable()
Abstract
Turns on 3D visualization for a network model.
Syntax
Ovis_Project_Network_Visualization_Enable (network_model)
| Argument | Type | Description |
|---|---|---|
network_model |
EtsT_Network_Model |
Network model of interest. |
Return Type
OvisT_Compcode
OvisC_Compcode_Success if the operation could be performed; OvisC_Compcode_Failure otherwise.
Header
ets_api_pj.h
Details
This function sets a network model so that it will be visualized in 3D Network Visualizer. This is equivalent to selecting the Topology > 3DNV > Display 3D Network View menu item in the Project Editor.
This function is available only in the ETS/GUI space. If used in code that will be compiled for both ETS and DES libraries, it should be included inside the following:
#if !defined (OPD_DES)
...
#endif
Example
Errors
- None.
Reference
- Use the function Ovis_Project_Network_Visualization_Disable() to turn off visualization.
- Use the function Ovis_Network_Visualization_Is_Enabled() to determine whether visualization is enabled.