AcMapGetSession Global Function

Land Desktop Development ARX CPP SDK

 

AcMapGetSession Global Function

Gets the AutoCAD Map application object.

Include MapSession.h.

 

AcMapSession*

AcMapGetSession();

Returns the application object.

Before you can do anything with AutoCAD Map, you must get the application object.

AcMapSession* pSession = AcMapGetSession();