AcApProfileManager Class

There is only one Profile Manager object per AutoCAD ® session. ObjectARX ® provides a global function to get access to this Profile Manager object, called acProfileManagerPtr(). This function returns a pointer to an AcApProfileManager object, upon which the methods can then be called.

The AcApProfileManager class provides a container for the operations provided by the Profiles tab. There is no method provided to obtain the current profile name, since this is stored in the system variable called CPROFILE and can be obtained using a call to the acedGetVar().

AcApProfileManager class provides the following capabilities 

 

Capabilities

Associated Method

Retrieve the registry path for a specified profile

AcApProfileManager::ProfileRegistryKey

Retrieve the profile names that currently exist for a user's configuration

AcApProfileManager::ProfileListNames

Export a given profile to an AutoCAD registry profile file (.arg) in REGEDIT4 format

AcApProfileManager::ProfileExport

Import an AutoCAD registry profile file (.arg) into a given profile

AcApProfileManager::ProfileImport

Delete a specified profile from the registry

AcApProfileManager::ProfileDelete

Reset a specified profile to AutoCAD default settings

AcApProfileManager::ProfileReset

Make a specified profile active or current for the AutoCAD session

AcApProfileManager::ProfileSetCurrent

Copy an existing profile to a new profile

AcApProfileManager::ProfileCopy

Rename an existing profile

AcApProfileManager::ProfileRename

Add a new profile reactor object

AcApProfileManager::addReactor

Remove an existing profile reactor object

AcApProfileManager::removeReactor