Share

TranslatorAddInServer Object

Derived from: ApplicationAddInServer Object

Description

Object required to be supported by Server to qualify as an Autodesk Inventor Translator AddIn.

Methods

Name Description
Activate Invoked by Autodesk Inventor after creating the AddIn. AddIn should initialize within this call.
Deactivate Invoked by Autodesk Inventor to shut down the AddIn. AddIn should complete shutdown within this call.
ExecuteCommand Invoked by Autodesk Inventor in response to user requesting the execution of an AddIn-supplied command. AddIn must perform the command within this call.
GetThumbnail Obtains the thumbnail, if any, for the given data-source. Could be a metafile handle (long) or the interface to a StdPicture object.
Open Open the data specified by the data-source.
SaveCopyAs Save the specified document to the specified data-source.
ShowOpenOptions Show the open options for the specified data-source. This method is only called if True was returned from HasOpenOptions.
ShowSaveCopyAsOptions Show the save options for the specified data-source. This method is only called if True was returned from HasSaveCopyAsOptions.

Properties

Name Description
Automation Gets the IUnknown of the object implemented inside the AddIn that supports AddIn-specific API.
HasOpenOptions Gets whether the translator has options available for opening the specified data-source.
HasSaveCopyAsOptions Gets whether the translator has options available for saving the specified data-source.

Version

Introduced in version 4

Was this information helpful?