Reports whether the given database's current space is model space.
Compares database.currentSpaceId against the object id of the block table's
model-space record. Used when reacting to sysvar changes or reading layout
background colours so the correct sysvar (MODELBKCOLOR vs. PAPERBKCOLOR)
is consulted.
Parameters
database: AcDbDatabase
Active drawing database whose current space is inspected.
Returns boolean
true when the database is in model space; false when it is in
a paper-space layout.
Reports whether the given database's current space is model space.
Compares
database.currentSpaceIdagainst the object id of the block table's model-space record. Used when reacting to sysvar changes or reading layout background colours so the correct sysvar (MODELBKCOLORvs.PAPERBKCOLOR) is consulted.