Inventor
The automatic variable $inventor is of type Application Object and gives direct access to the Inventor’s API.
It is the topmost object in the API hierarchy and supports methods and properties that let you control the Inventor Application. Most importantly, it provides access to the properties and information of the active document.
Remarks
The $inventor variable is only initialized and available after Inventor log in.
Syntax
$inventor.ActiveDocument
See also
For the complete list of properties and methods and for more information see: Inventor API Reference Manual.