CommandManager.PostPrivateEvent Method

Parent Object: CommandManager

Description

Method that posts data onto Autodesk Inventor's internal clipboard. Certain commands that usually obtain information using a dialog, i.e. Open, Save, etc., look first to see if data is on the clipboard before displaying the dialog. If valid information is on the clipboard the command will use it instead of displaying the dialog and asking the user to specify the filename.

Syntax

CommandManager.PostPrivateEvent( DataType As PrivateEventTypeEnum, Data As Variant )

Parameters

Name Type Description
DataType PrivateEventTypeEnum Input constant that specifies the type of value being pushed onto Autodesk Inventor's clipboard. Most often this will be kFileNameEvent.
Data Variant Input Variant that contains the actual data to push onto Autodesk Inventor's clipboard.

Version

Introduced in version 4