Share

AcApProfileManager::ProfileRename

C++

virtual Acad::ErrorStatus ProfileRename(
    const ACHAR * newProfileName, 
    const ACHAR * oldProfileName, 
    const ACHAR * newProfileDesc
) = 0;

Description

Renames an existing profile, oldProfileName, to a new name, newProfileName, with a new description, newProfileDesc.

The function could return with the following return codes:

Acad::eProfileDoesNotExist The specified profile name is not found in the registry.
Acad::eInvalidProfileName Invalid characters in the new profile name.
Acad::eProfileIsInUse Cannot rename a profile to the name of the current profile.
Acad::eRegistryAccessError Could not access/update registry.
Acad::eOk Operation completed successfully.

Parameters

Parameters Description
newProfileName Input new profile name
oldProfileName Input old profile name
newProfileDesc Input new profile description

Links

AcApProfileManager

Was this information helpful?