OpenDocument

 Calling Sequence OpenDocument(f)

Parameters

 f - string; name of an Inventor document

Description

 • The OpenDocument command opens an Inventor document and returns a handle.

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):$