OpenConnection

 Calling Sequence OpenConnection()

Description

 • The OpenConnection command initializes a connection with an Inventor session.

Examples

 > $\mathrm{with}\left(\mathrm{CAD}[\mathrm{Inventor}]\right):$
 > $\mathrm{OpenConnection}\left(\right):$
 > $\mathrm{doc}≔\mathrm{GetActiveDocument}\left(\right)$
 ${\mathrm{doc}}{:=}{0}$ (1)
 > $\mathrm{CloseConnection}\left(\right):$