Share

AcDbDatabase::setNorthDirection

C++

Acad::ErrorStatus setNorthDirection(
    double northdir
);

Description

Sets the angle representing a direction towards North, based on the orientation of the drawing model in the WCS.

Returns Acad::eOk if successful.

The drawing latitude, longitude, and north direction are used by the Sun, along with the Sun's date and time, to calculate the correct angle for sunlight.

Parameters

Parameters Description
northdir Input angle, in radians, representing the North bearing.

Links

AcDbDatabase Class

Was this information helpful?