| Library | Module | Frames | Expand |
| /* readonly */ pfcSelectionBuffer | CurrentSelectionBuffer | |
| The current selection buffer object. | ||
| pfcAppInfo | GetAppInfo () | |
| Returns the application information from the applicatoin session. | ||
| boolean | ModelDescrContainsOrigin (pfcModelDescriptor Descr) | |
| void | NavigatorPaneBrowserAdd (string PaneName, /* optional */ string IconFileName, string URL) | |
| Adds a new Navigator Pane. | ||
| void | NavigatorPaneBrowserIconSet (string PaneName, string IconFileName) | |
| Set the icon for a Navigator Pane. | ||
| void | NavigatorPaneBrowserURLSet (string PaneName, string URL) | |
| Set the url for a Navigator Pane. | ||
| void | RibbonDefinitionfileLoad (string FileName) | |
| Loads ribbon definition file from a default path. | ||
| void | SetAppInfo (pfcAppInfo Info) | |
| Sends the application information for the application session. | ||
| void | UIClearMessage () | |
| Scrolls the text in the message area up one line after a call to pfcSession.UIDisplayMessage() . This command produces only one carriage return; if called multiple times, the command is ignored. | ||
| void | UIDisplayFeatureParams (pfcSelection Selection, pfcParamType Type) | |
| Displays parameters of a selected feature. | ||
| void | UIDisplayLocalizedMessage (string MsgFile, string Format, /* optional */ stringseq Messages) | |
| Prints a text message to the message area in Creo Parametric. | ||
| void | UIDisplayMessage (string MsgFile, string Format, /* optional */ stringseq Messages) | |
| Prints a text message to the message area in Creo Parametric. | ||
| /* optional */ pfcUICommand | UIGetCommand (string Name) | |
| Finds the identifier of the specified action or option. | ||
| pfcMouseStatus | UIGetCurrentMouseStatus (boolean SnapToGrid) | |
| Returns the status of mouse at this particular moment. This method returns whenever the mouse is moved or a button is pressed. | ||
| pfcMouseStatus | UIGetNextMousePick ( /* optional */ pfcMouseButton ExpectedButton) | |
| Returns the mouse status at the time that the user makes a mouse pick. | ||
| string | UIOpenFile (pfcFileOpenOptions Options) | |
| Prompts the standard file browser interface of Creo Parametric. | ||
| pfcOutline3D | UIPickMouseBox ( /* optional */ pfcPoint3D FirstCorner) | |
| Prompt the user to select a rectangle using the mouse. | ||
| /* optional */ number | UIReadIntMessage (number LowerLimit, number UpperLimit) | |
| Reads an integer from the keyboard. | ||
| /* optional */ number | UIReadRealMessage (number LowerLimit, number UpperLimit) | |
| Reads a double-precision float from the keyboard. | ||
| /* optional */ string | UIReadStringMessage ( /* optional */ boolean HideInput) | |
| Reads a line of keyboard input and returns the contents as a wide string. | ||
| string | UISaveFile (pfcFileSaveOptions Options) | |
| Prompts the standard file browser interface of Creo Parametric, set up for the purpose of allowing the user to save a file. | ||
| string | UISelectDirectory (pfcDirectorySelectionOptions 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 (string Message, /* optional */ pfcMessageDialogOptions Options) | |
| Displays the UI Message Dialog. | ||
| /* readonly */ pfcSelectionBuffer | CurrentSelectionBuffer |
|
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. |
| pfcAppInfo | GetAppInfo | () |
|
Returns the application information from the applicatoin session.
|
| boolean | ModelDescrContainsOrigin | (pfcModelDescriptor Descr) |
|
| void | NavigatorPaneBrowserAdd | (string PaneName, /* optional */ string IconFileName, string URL) |
|
Adds a new Navigator Pane.
|
| void | NavigatorPaneBrowserIconSet | (string PaneName, string IconFileName) |
|
Set the icon for a Navigator Pane.
|
| void | NavigatorPaneBrowserURLSet | (string PaneName, string URL) |
|
Set the url for a Navigator Pane.
|
| void | RibbonDefinitionfileLoad | (string 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.
|
| void | SetAppInfo | (pfcAppInfo Info) |
|
Sends the application information for the application session.
|
| void | UIClearMessage | () |
|
Scrolls the text in the message area up one line after a call to pfcSession.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. |
| void | UIDisplayFeatureParams | (pfcSelection 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.
|
| void | UIDisplayLocalizedMessage | (string MsgFile, string Format, /* optional */ stringseq 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 | UIDisplayMessage | (string MsgFile, string Format, /* optional */ stringseq 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.
|
| /* optional */ pfcUICommand | UIGetCommand | (string Name) |
|
Finds the identifier of the specified action or option.
|
| pfcMouseStatus | UIGetCurrentMouseStatus | (boolean 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 | UIGetNextMousePick | ( /* optional */ pfcMouseButton ExpectedButton) |
|
Returns the mouse status at the time that the user makes a mouse pick.
|
| string | UIOpenFile | (pfcFileOpenOptions 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.
|
| pfcOutline3D | UIPickMouseBox | ( /* optional */ pfcPoint3D FirstCorner) |
|
Prompt the user to select a rectangle using the mouse.
|
| /* optional */ number | UIReadIntMessage | (number LowerLimit, number 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 */ number | UIReadRealMessage | (number LowerLimit, number 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 */ string | UIReadStringMessage | ( /* optional */ boolean 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>.
|
| string | UISaveFile | (pfcFileSaveOptions 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.
|
| string | UISelectDirectory | (pfcDirectorySelectionOptions 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.
|
| pfcMessageButton | UIShowMessageDialog | (string Message, /* optional */ pfcMessageDialogOptions Options) |
|
Displays the UI Message Dialog.
|