Share

AcDbDatabase::getProjectName

C++

Acad::ErrorStatus getProjectName(
    ACHAR*& pOutput
) const;

Description

Sets pOutput to point to a copy of the database's PROJECTNAME header variable string. The pOutput pointer should not point to allocated memory when passed in to this function.

Note

The caller is responsible for deallocating the memory used by the returned string. The acutDelString() function should be used for this deallocation.

See the system variables documentation in the AutoCAD Command Reference for information on PROJECTNAME.

Returns Acad::eOk if successful.

Parameters

Parameters Description
pOutput Input pointer to receive a copy of the PROJECTNAME string

Links

AcDbDatabase Class

Use Instead

ACDBCORE2D_PORT Acad::ErrorStatus getProjectName(AcString & sProjectName) const;

History

AutoCAD 2019

This method has been marked as deprecated.

Was this information helpful?