| Library | File | Frames | Expand |
| pfcAppInfo_ptr | GetAppInfo () | |
| Returns the application information from the applicatoin session. | ||
| pfcSelectionBuffer_ptr | GetCurrentSelectionBuffer () | |
| The current selection buffer object. | ||
| xbool | ModelDescrContainsOrigin (pfcModelDescriptor_ptr Descr) | |
| void | NavigatorPaneBrowserAdd (xrstring PaneName, optional xrstring IconFileName, xrstring URL) | |
| Adds a new Navigator Pane. | ||
| void | NavigatorPaneBrowserIconSet (xrstring PaneName, xrstring IconFileName) | |
| Set the icon for a Navigator Pane. | ||
| void | NavigatorPaneBrowserURLSet (xrstring PaneName, xrstring URL) | |
| Set the url for a Navigator Pane. | ||
| void | RibbonDefinitionfileLoad (xrstring FileName) | |
| Loads ribbon definition file from a default path. | ||
| void | SetAppInfo (pfcAppInfo_ptr Info) | |
| Sends the application information for the application session. | ||
| void | UIAddButton (pfcUICommand_ptr Command, xrstring MenuName, optional xrstring NeighborButton, xrstring ButtonName, xrstring Message, xrstring MsgFile) | |
| Adds a new button to an existing menu. | ||
| void | UIAddMenu (xrstring MenuName, xrstring NeighborItem, xrstring FileName, optional xrstring ParentMenu) | |
| Creates a new menu. | ||
| void | UIClearMessage () | |
| Scrolls the text in the message area up one line after a call to pfcSession::UIDisplayMessage(xrstring, xrstring, optional xstringsequence_ptr) . This command produces only one carriage return; if called multiple times, the command is ignored. | ||
| pfcUICommand_ptr | UICreateCommand (xrstring Name, pfcUICommandActionListener_ptr Action) | |
| Creates a command with the specified name. | ||
| pfcUICommand_ptr | UICreateMaxPriorityCommand (xrstring Name, pfcUICommandActionListener_ptr Action) | |
| Creates a command with the specified name. This command differs from a command created by pfcSession::UICreateCommand(xrstring, pfcUICommandActionListener_ptr) 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 pfcSession::UICreateCommand(xrstring, pfcUICommandActionListener_ptr) because commands created with maximum priority may dismiss context of the current model in certain situations. | ||
| void | UIDisplayFeatureParams (pfcSelection_ptr Selection, pfcParamType Type) | |
| Displays parameters of a selected feature. | ||
| void | UIDisplayLocalizedMessage (xrstring MsgFile, xrstring Format, optional xstringsequence_ptr Messages) | |
| Prints a text message to the message area in Creo Parametric. | ||
| void | UIDisplayMessage (xrstring MsgFile, xrstring Format, optional xstringsequence_ptr Messages) | |
| Prints a text message to the message area in Creo Parametric. | ||
| optional pfcUICommand_ptr | UIGetCommand (xrstring Name) | |
| Finds the identifier of the specified action or option. | ||
| pfcMouseStatus_ptr | UIGetCurrentMouseStatus (xbool SnapToGrid) | |
| Returns the status of mouse at this particular moment. This method returns whenever the mouse is moved or a button is pressed. | ||
| pfcMouseStatus_ptr | UIGetNextMousePick (optional pfcMouseButton ExpectedButton) | |
| Returns the mouse status at the time that the user makes a mouse pick. | ||
| xstring | UIOpenFile (pfcFileOpenOptions_ptr Options) | |
| Prompts the standard file browser interface of Creo Parametric. | ||
| pfcOutline3D_ptr | UIPickMouseBox (optional pfcPoint3D_ptr FirstCorner) | |
| Prompt the user to select a rectangle using the mouse. | ||
| optional xint | UIReadIntMessage (xint LowerLimit, xint UpperLimit) | |
| Reads an integer from the keyboard. | ||
| optional xreal | UIReadRealMessage (xreal LowerLimit, xreal UpperLimit) | |
| Reads a double-precision float from the keyboard. | ||
| optional xstring | UIReadStringMessage (optional xbool HideInput) | |
| Reads a line of keyboard input and returns the contents as a wide string. | ||
| xstring | UISaveFile (pfcFileSaveOptions_ptr Options) | |
| Prompts the standard file browser interface of Creo Parametric, set up for the purpose of allowing the user to save a file. | ||
| xstring | UISelectDirectory (pfcDirectorySelectionOptions_ptr Options) | |
| Prompts the standard file browser interface of Creo Parametric, set up for the purpose of allowing the user to select a directory. | ||
| pfcMessageButton | UIShowMessageDialog (xrstring Message, optional pfcMessageDialogOptions_ptr Options) | |
| Displays the UI Message Dialog. | ||
| void | UIAddMenu | (xrstring MenuName, xrstring NeighborItem, xrstring FileName, optional xrstring ParentMenu) |
|
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): pfcXToolkitMsgNotFound - The specified message was not found in the message file. pfcXToolkitFound - a menubar entity with this name already exists.
|
| pfcUICommand_ptr | UICreateCommand | (xrstring Name, pfcUICommandActionListener_ptr Action) |
|
Creates a command with the specified name. Exceptions thrown (but not limited to): pfcXToolkitFound - An action already exists under action_name.
|
| pfcUICommand_ptr | UICreateMaxPriorityCommand | (xrstring Name, pfcUICommandActionListener_ptr Action) |
|
Creates a command with the specified name. This command differs from a command created by pfcSession::UICreateCommand(xrstring, pfcUICommandActionListener_ptr) 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 pfcSession::UICreateCommand(xrstring, pfcUICommandActionListener_ptr) because commands created with maximum priority may dismiss context of the current model in certain situations. Exceptions thrown (but not limited to): pfcXToolkitFound - An action already exists under action_name.
|
| void | UIAddButton | (pfcUICommand_ptr Command, xrstring MenuName, optional xrstring NeighborButton, xrstring ButtonName, xrstring Message, xrstring MsgFile) |
|
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): pfcXToolkitMsgNotFound - The specified message was not found in the message file. pfcXToolkitFound - a menubar entity with this name already exists.
|
| void | UIDisplayMessage | (xrstring MsgFile, xrstring Format, optional xstringsequence_ptr Messages) |
|
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): pfcXToolkitNotFound - The specified message file was not found. pfcXToolkitCantOpen - The system could not read the message file. pfcXToolkitMsgNotFound - The specified message was not found in the message file. pfcXToolkitMsgNoTrans - The message text (in the current language of the user interface) was not found. pfcXToolkitMsgFmtError - There was a format error in the message text. pfcXToolkitMsgTooLong - The message was longer than 80 characters and has been truncated to fit. pfcXToolkitFound - The message file had been read in before this call and the message was not in it.
|
| void | UIDisplayLocalizedMessage | (xrstring MsgFile, xrstring Format, optional xstringsequence_ptr Messages) |
|
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): pfcXToolkitNotFound - The specified message file was not found. pfcXToolkitCantOpen - The system could not read the message file. pfcXToolkitMsgNotFound - The specified message was not found in the message file. pfcXToolkitMsgNoTrans - The message text (in the current language of the user interface) was not found. pfcXToolkitMsgFmtError - There was a format error in the message text. pfcXToolkitMsgTooLong - The message was longer than 259 characters and has been truncated to fit. pfcXToolkitFound - The message file had been read in before this call and the message was not in it.
|
| void | UIClearMessage | () |
|
Scrolls the text in the message area up one line after a call to pfcSession::UIDisplayMessage(xrstring, xrstring, optional xstringsequence_ptr) . 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.
|
| optional xint | UIReadIntMessage | (xint LowerLimit, xint UpperLimit) |
|
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): pfcXToolkitMsgUserQuit - The user canceled input by typing ESC.
|
| optional xreal | UIReadRealMessage | (xreal LowerLimit, xreal UpperLimit) |
|
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): pfcXToolkitMsgUserQuit - The user canceled input by typing ESC.
|
| optional xstring | UIReadStringMessage | (optional xbool HideInput) |
|
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): pfcXToolkitMsgUserQuit - The user canceled input by typing <ESC>.
|
| void | UIDisplayFeatureParams | (pfcSelection_ptr Selection, pfcParamType Type) |
|
Displays parameters of a selected feature. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The model is not the top-level model in the window.
|
| pfcOutline3D_ptr | UIPickMouseBox | (optional pfcPoint3D_ptr FirstCorner) |
|
Prompt the user to select a rectangle using the mouse.
|
| pfcMouseStatus_ptr | UIGetCurrentMouseStatus | (xbool SnapToGrid) |
|
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): pfcXToolkitAbort - The user aborted input.
|
| pfcMouseStatus_ptr | UIGetNextMousePick | (optional pfcMouseButton ExpectedButton) |
|
Returns the mouse status at the time that the user makes a mouse pick.
|
| pfcMessageButton | UIShowMessageDialog | (xrstring Message, optional pfcMessageDialogOptions_ptr Options) |
|
Displays the UI Message Dialog.
|
| xstring | UIOpenFile | (pfcFileOpenOptions_ptr Options) |
|
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): pfcXToolkitUserAbort - The user aborted from the user interface.
|
| xstring | UISelectDirectory | (pfcDirectorySelectionOptions_ptr Options) |
|
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): pfcXToolkitUserAbort - The user aborted from the user interface.
|
| xstring | UISaveFile | (pfcFileSaveOptions_ptr Options) |
|
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): pfcXToolkitUserAbort - The user aborted from the user interface.
|
| optional pfcUICommand_ptr | UIGetCommand | (xrstring Name) |
|
Finds the identifier of the specified action or option.
|
| pfcSelectionBuffer_ptr | GetCurrentSelectionBuffer | () |
|
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.
|
| void | NavigatorPaneBrowserAdd | (xrstring PaneName, optional xrstring IconFileName, xrstring URL) |
|
Adds a new Navigator Pane.
|
| void | NavigatorPaneBrowserIconSet | (xrstring PaneName, xrstring IconFileName) |
|
Set the icon for a Navigator Pane.
|
| void | NavigatorPaneBrowserURLSet | (xrstring PaneName, xrstring URL) |
|
Set the url for a Navigator Pane.
|
| void | RibbonDefinitionfileLoad | (xrstring FileName) |
|
Loads ribbon definition file from a default path. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The ribbon definition file was not found. pfcXToolkitInvalidFile - The file specified was not a ribbon definition file.
|
| xbool | ModelDescrContainsOrigin | (pfcModelDescriptor_ptr Descr) |
|
| void | SetAppInfo | (pfcAppInfo_ptr Info) |
|
Sends the application information for the application session.
|
| pfcAppInfo_ptr | GetAppInfo | () |
|
Returns the application information from the applicatoin session.
|