C++
Acad::ErrorStatus setSun( AcDbObjectId & retId, AcDbObject * pSun );
Description
Sets the object Id of the AcDbSun object associated with this viewport.
Returns Acad::eOk if the object isn't already associated with another viewport.
Parameters
| Parameters | Description |
|---|---|
| retId | Output object id of the sun object |
| pSun | Input pointer to a sun object |