| Library | Module | Frames | Expand |
| Property | CurrentSelectionBuffer | as IpfcSelectionBuffer |
| The current selection buffer object. | ||
| Function | GetAppInfo () as IpfcAppInfo | |
| Returns the application information from the applicatoin session. | ||
| Function | ModelDescrContainsOrigin (Descr as IpfcModelDescriptor) as Boolean | |
| Sub | NavigatorPaneBrowserAdd (PaneName as String, IconFileName as String [optional], URL as String) | |
| Adds a new Navigator Pane. | ||
| Sub | NavigatorPaneBrowserIconSet (PaneName as String, IconFileName as String) | |
| Set the icon for a Navigator Pane. | ||
| Sub | NavigatorPaneBrowserURLSet (PaneName as String, URL as String) | |
| Set the url for a Navigator Pane. | ||
| Sub | RibbonDefinitionfileLoad (FileName as String) | |
| Loads ribbon definition file from a default path. | ||
| Sub | SetAppInfo (Info as IpfcAppInfo) | |
| Sends the application information for the application session. | ||
| Sub | UIAddButton (Command as IpfcUICommand, MenuName as String, NeighborButton as String [optional], ButtonName as String, Message as String, MsgFile as String) | |
| Adds a new button to an existing menu. | ||
| Sub | UIAddMenu (MenuName as String, NeighborItem as String, FileName as String, ParentMenu as String [optional]) | |
| Creates a new menu. | ||
| Sub | UIClearMessage () | |
| Scrolls the text in the message area up one line after a call to IpfcSession.UIDisplayMessage() . This command produces only one carriage return; if called multiple times, the command is ignored. | ||
| Function | UICreateCommand (Name as String, Action as IpfcUICommandActionListener) as IpfcUICommand | |
| Creates a command with the specified name. | ||
| Function | UICreateMaxPriorityCommand (Name as String, Action as IpfcUICommandActionListener) as IpfcUICommand | |
| Creates a command with the specified name. This command differs from a command created by IpfcSession.UICreateCommand() in that it uses the maximum command priority available. Maximum command priority should be used only in commands which open and activate a new model in a window. All other commands should be created using IpfcSession.UICreateCommand() because commands created with maximum priority may dismiss context of the current model in certain situations. | ||
| Sub | UIDisplayFeatureParams (Selection as IpfcSelection, Type as IpfcParamType) | |
| Displays parameters of a selected feature. | ||
| Sub | UIDisplayLocalizedMessage (MsgFile as String, Format as String, Messages as Istringseq [optional]) | |
| Prints a text message to the message area in Creo Parametric. | ||
| Sub | UIDisplayMessage (MsgFile as String, Format as String, Messages as Istringseq [optional]) | |
| Prints a text message to the message area in Creo Parametric. | ||
| Function | UIGetCommand (Name as String) as IpfcUICommand [optional] | |
| Finds the identifier of the specified action or option. | ||
| Function | UIGetCurrentMouseStatus (SnapToGrid as Boolean) as IpfcMouseStatus | |
| Returns the status of mouse at this particular moment. This method returns whenever the mouse is moved or a button is pressed. | ||
| Function | UIGetNextMousePick (ExpectedButton as IpfcMouseButton [optional]) as IpfcMouseStatus | |
| Returns the mouse status at the time that the user makes a mouse pick. | ||
| Function | UIOpenFile (Options as IpfcFileOpenOptions) as String | |
| Prompts the standard file browser interface of Creo Parametric. | ||
| Function | UIPickMouseBox (FirstCorner as IpfcPoint3D [optional]) as IpfcOutline3D | |
| Prompt the user to select a rectangle using the mouse. | ||
| Function | UIReadIntMessage (LowerLimit as Long, UpperLimit as Long) as Long [optional] | |
| Reads an integer from the keyboard. | ||
| Function | UIReadRealMessage (LowerLimit as Double, UpperLimit as Double) as Double [optional] | |
| Reads a double-precision float from the keyboard. | ||
| Function | UIReadStringMessage (HideInput as Boolean [optional]) as String [optional] | |
| Reads a line of keyboard input and returns the contents as a wide string. | ||
| Function | UISaveFile (Options as IpfcFileSaveOptions) as String | |
| Prompts the standard file browser interface of Creo Parametric, set up for the purpose of allowing the user to save a file. | ||
| Function | UISelectDirectory (Options as IpfcDirectorySelectionOptions) as String | |
| Prompts the standard file browser interface of Creo Parametric, set up for the purpose of allowing the user to select a directory. | ||
| Function | UIShowMessageDialog (Message as String, Options as IpfcMessageDialogOptions [optional]) as IpfcMessageButton | |
| Displays the UI Message Dialog. | ||
| Property | CurrentSelectionBuffer | as IpfcSelectionBuffer |
|
The current selection buffer object. It is necessary to have a model active in the session before calling the Get method for the above attribute. |
| Function | GetAppInfo | () as IpfcAppInfo |
|
Returns the application information from the applicatoin session.
|
| Function | ModelDescrContainsOrigin | (Descr as IpfcModelDescriptor) as Boolean |
|
| Sub | NavigatorPaneBrowserAdd | (PaneName as String, IconFileName as String [optional], URL as String) |
|
Adds a new Navigator Pane.
|
| Sub | NavigatorPaneBrowserIconSet | (PaneName as String, IconFileName as String) |
|
Set the icon for a Navigator Pane.
|
| Sub | NavigatorPaneBrowserURLSet | (PaneName as String, URL as String) |
|
Set the url for a Navigator Pane.
|
| Sub | RibbonDefinitionfileLoad | (FileName as String) |
|
Loads ribbon definition file from a default path. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The ribbon definition file was not found. IpfcXToolkitInvalidFile - The file specified was not a ribbon definition file.
|
| Sub | SetAppInfo | (Info as IpfcAppInfo) |
|
Sends the application information for the application session.
|
| Sub | UIAddButton | (Command as IpfcUICommand, MenuName as String, NeighborButton as String [optional], ButtonName as String, Message as String, MsgFile as String) |
|
Adds a new button to an existing menu. This method is deprecated. Use Customize UI dialog to create menus in Creo Parametric Ribbon UI Exceptions thrown (but not limited to): IpfcXToolkitMsgNotFound - The specified message was not found in the message file. IpfcXToolkitFound - a menubar entity with this name already exists.
|
| Sub | UIAddMenu | (MenuName as String, NeighborItem as String, FileName as String, ParentMenu as String [optional]) |
|
Creates a new menu. This method is deprecated. Use Customize UI dialog to create menus in Creo Parametric Ribbon UI Exceptions thrown (but not limited to): IpfcXToolkitMsgNotFound - The specified message was not found in the message file. IpfcXToolkitFound - a menubar entity with this name already exists.
|
| Sub | UIClearMessage | () |
|
Scrolls the text in the message area up one line after a call to IpfcSession.UIDisplayMessage() . This command produces only one carriage return; if called multiple times, the command is ignored. You could use this function to remove a message once the user has responded to it, so it is clear that the system received the response. |
| Function | UICreateCommand | (Name as String, Action as IpfcUICommandActionListener) as IpfcUICommand |
|
Creates a command with the specified name. Exceptions thrown (but not limited to): IpfcXToolkitFound - An action already exists under action_name.
|
| Function | UICreateMaxPriorityCommand | (Name as String, Action as IpfcUICommandActionListener) as IpfcUICommand |
|
Creates a command with the specified name. This command differs from a command created by IpfcSession.UICreateCommand() in that it uses the maximum command priority available. Maximum command priority should be used only in commands which open and activate a new model in a window. All other commands should be created using IpfcSession.UICreateCommand() because commands created with maximum priority may dismiss context of the current model in certain situations. Exceptions thrown (but not limited to): IpfcXToolkitFound - An action already exists under action_name.
|
| Sub | UIDisplayFeatureParams | (Selection as IpfcSelection, Type as IpfcParamType) |
|
Displays parameters of a selected feature. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The model is not the top-level model in the window.
|
| Sub | UIDisplayLocalizedMessage | (MsgFile as String, Format as String, Messages as Istringseq [optional]) |
|
Prints a text message to the message area in Creo Parametric. This method supports non-ASCII character strings as messages. Remember that Web.Link applications, as unregistered web pages, do not currently support setting of the PTC Creo Parametric text directory. All the resource files for messages must be located at $PRO_DIRECTORY/text folder. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The specified message file was not found. IpfcXToolkitCantOpen - The system could not read the message file. IpfcXToolkitMsgNotFound - The specified message was not found in the message file. IpfcXToolkitMsgNoTrans - The message text (in the current language of the user interface) was not found. IpfcXToolkitMsgFmtError - There was a format error in the message text. IpfcXToolkitMsgTooLong - The message was longer than 259 characters and has been truncated to fit. IpfcXToolkitFound - The message file had been read in before this call and the message was not in it.
|
| Sub | UIDisplayMessage | (MsgFile as String, Format as String, Messages as Istringseq [optional]) |
|
Prints a text message to the message area in Creo Parametric. This method supports only ASCII character strings as messages. Remember that Web.Link applications, as unregistered web pages, do not currently support setting of the PTC Creo Parametric text directory. All the resource files for messages must be located at $PRO_DIRECTORY/text folder. Exceptions thrown (but not limited to): IpfcXToolkitNotFound - The specified message file was not found. IpfcXToolkitCantOpen - The system could not read the message file. IpfcXToolkitMsgNotFound - The specified message was not found in the message file. IpfcXToolkitMsgNoTrans - The message text (in the current language of the user interface) was not found. IpfcXToolkitMsgFmtError - There was a format error in the message text. IpfcXToolkitMsgTooLong - The message was longer than 80 characters and has been truncated to fit. IpfcXToolkitFound - The message file had been read in before this call and the message was not in it.
|
| Function | UIGetCommand | (Name as String) as IpfcUICommand [optional] |
|
Finds the identifier of the specified action or option.
|
| Function | UIGetCurrentMouseStatus | (SnapToGrid as Boolean) as IpfcMouseStatus |
|
Returns the status of mouse at this particular moment. This method returns whenever the mouse is moved or a button is pressed. Exceptions thrown (but not limited to): IpfcXToolkitAbort - The user aborted input.
|
| Function | UIGetNextMousePick | (ExpectedButton as IpfcMouseButton [optional]) as IpfcMouseStatus |
|
Returns the mouse status at the time that the user makes a mouse pick.
|
| Function | UIOpenFile | (Options as IpfcFileOpenOptions) as String |
|
Prompts the standard file browser interface of Creo Parametric. This method cannot be used for NX models in the current release. Exceptions thrown (but not limited to): IpfcXToolkitUserAbort - The user aborted from the user interface.
|
| Function | UIPickMouseBox | (FirstCorner as IpfcPoint3D [optional]) as IpfcOutline3D |
|
Prompt the user to select a rectangle using the mouse.
|
| Function | UIReadIntMessage | (LowerLimit as Long, UpperLimit as Long) as Long [optional] |
|
Reads an integer from the keyboard. If the user types a value outside the specified range of values, the functions prompts the user to enter the value again. Exceptions thrown (but not limited to): IpfcXToolkitMsgUserQuit - The user canceled input by typing ESC.
|
| Function | UIReadRealMessage | (LowerLimit as Double, UpperLimit as Double) as Double [optional] |
|
Reads a double-precision float from the keyboard. If the user types a value outside the specified range of values, the function prompts the user to enter the value again. Exceptions thrown (but not limited to): IpfcXToolkitMsgUserQuit - The user canceled input by typing ESC.
|
| Function | UIReadStringMessage | (HideInput as Boolean [optional]) as String [optional] |
|
Reads a line of keyboard input and returns the contents as a wide string. Leading and trailing blanks are stripped from the string. Default values are displayed in the text box as input. Note that this value will not be returned if the user hits a carriage return; instead, the function will return constant string "use_default_string" and the application must interpret that the user intends to use the default. Exceptions thrown (but not limited to): IpfcXToolkitMsgUserQuit - The user canceled input by typing <ESC>.
|
| Function | UISaveFile | (Options as IpfcFileSaveOptions) as String |
|
Prompts the standard file browser interface of Creo Parametric, set up for the purpose of allowing the user to save a file. For Multi-CAD objects, this method does not support local disk saving location in a Windchill connected session. Exceptions thrown (but not limited to): IpfcXToolkitUserAbort - The user aborted from the user interface.
|
| Function | UISelectDirectory | (Options as IpfcDirectorySelectionOptions) as String |
|
Prompts the standard file browser interface of Creo Parametric, set up for the purpose of allowing the user to select a directory. Exceptions thrown (but not limited to): IpfcXToolkitUserAbort - The user aborted from the user interface.
|
| Function | UIShowMessageDialog | (Message as String, Options as IpfcMessageDialogOptions [optional]) as IpfcMessageButton |
|
Displays the UI Message Dialog.
|