ETO Server HostAPI reference

The <Evaluate > tag and the "-eval" command line switch both invoke the Intent Server programming interface.

IHostAPI Instance
Alternative way to get to HostAPI:

Autodesk.IntentServer.HostAPI.Instance

IntentAPI IntentAPI
Reference to IntentAPI.
Inventor.InventorServer HostApplication
Reference to Inventor Server programming model.
string GetIntentModelString(string fileName)
Extracts model string from IAM file.
Inventor.AssemblyDocument TopLevelAssembly
Reference to the TLA document.
object HostObjectFromRefChain(string refChain)
Returns Inventor entity for the given Intent Part, specified by its reference chain
string RefChainFromHostObject(object value)
Returns the Ref chain of the Intent Part for the given Inventor entity.
Inventor.UnitsTypeEnum ProjectLinearUnits
Linear units used in current project
void CloseAllUnreferencedDocs()
Closes all unreferenced Documents.