Share

AcDbDatabase::setUsrtimer

C++

Acad::ErrorStatus setUsrtimer(
    bool timer
);

Description

If timer==true, then the user timer is turned on in the database. If timer==false, then the user timer is turned off in the database.

The user timer for the database currently loaded in the AutoCAD editor is also controlled by the AutoCAD TIME command's On and Off options. The TDUSRTIMER system variable and the AcDbDatabase::tdusrtimer() method both report the time kept by this timer.

Returns Acad::eOk if successful.

Parameters

Parameters Description
timer Input Boolean that determines the on or off state of the user timer

Links

AcDbDatabase Class

Was this information helpful?