Calling Sequence GetDocumentName(aidoc)

Parameters

 aidoc - a handle to an Inventor document

Description

 • The GetDocumentName command retrieves the full pathname of an open Inventor document.

Examples

 > $\mathrm{with}\left(\mathrm{CAD}[\mathrm{Inventor}]\right):$
 > $\mathrm{OpenConnection}\left(\right):$
 > $\mathrm{doc}:=\mathrm{GetActiveDocument}\left(\right)$
 ${\mathrm{doc}}{:=}{0}$ (1)
 > $\mathrm{GetDocumentName}\left(\mathrm{doc}\right)$
 ${"c:/mypart.ipt"}$ (2)
 > $\mathrm{CloseConnection}\left(\right):$