Share

acdbOriginalXrefFullPathFor

C++

const ACHAR* acdbOriginalXrefFullPathFor(
    const AcDbDatabase*
);

File

dbmain.h

Description

This function returns the full path of the original .dwg file for the Xref database whose pointer is passed in. The word "original" is used because if the System Variable XLOADCTL is set to 2, AutoCAD creates a temporary copy of the original file and loads that. If a temporary copy is in use, then this function will still return the path and filename of the original file rather than that of the copy.

If the database pointer passed in points to a database that is not an Xref, then this function will return NULL.

Parameters

Parameters Description
unnamed Database to get full path of

Was this information helpful?