CloseDocument

 Calling Sequence CloseDocument(aidoc)

Parameters

 aidoc - a handle to an Inventor document

Description

 • The CloseDocument command closes an Inventor document.

Examples

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