| • | Accessing models and windows (described in the Models and Windows chapters). |
| • | Working with the Creo Parametric user interface. |
| • | Allowing interactive selection of items within the session. |
| • | Accessing global settings such as line styles, colors, and configuration options. |
| • | Any argument starting with a plus sign (+) followed by a letter character. |
| • | Any argument starting with a minus (-) followed by a capitalized letter. |
| |
| |
| |
| |
| |
| • | CompatibilityUndefined—Specifies that compatibility value is not set. The default compatibility value is used. |
| • | C3Compatible—Specifies that the methods deprecated in Web.Link 4.0 are compatible and continue working in Web.Link 4.0. By default the compatibility is set to C3Compatible. |
| • | C4Compatible—Specifies that the methods deprecated in Web.Link 4.0 will not work in Web.Link 4.0. If your application uses the deprecated methods, you must replace these methods with new methods and rebuild you applications. |
| • | FILE_LIST_ALL—Lists all the files. It may also include multiple versions of the same file. |
| • | FILE_LIST_LATEST—Lists only the latest version of each file. |
| • | FILE_LIST_ALL_INST—Same as the FILE_LIST_ALL option. It returns instances only for PDM locations. |
| • | FILE_LIST_LATEST_INST—Same as the FILE_LIST_LATEST option. It returns instances only for PDM locations. |
| |
| |
| |
$F2 @MAPKEY_LABELtest;
~ Activate `main_dlg_cur` `ProCmdModelNew.file`;
~ Activate `new` `OK`;~ Activate `main_dlg_cur` `ProCmdModelNew.file`;
~ Activate `new` `OK`;| |
| |
| |
| |
| • | The name of the file must be 30 characters or less, including the extension. |
| • | The name of the file must contain lower case characters only. |
| • | The file extension must be three characters. |
| • | The version number must be in the range 1 to 9999. |
| • | All message file names must be unique, and all message key strings must be unique across all applications that run with Creo Parametric. Duplicate message file names or message key strings can cause Creo Parametric to exhibit unexpected behavior. To avoid conflicts with the names of Creo Parametric or foreign application message files or message key strings, PTC recommends that you choose a prefix unique to your application, and prepend that prefix to each message file name and each message key string corresponding to that application |
| 1. | A string that acts as the identifier for the message. This keyword must be unique for all Creo Parametric messages. |
| 2. | The string that will be substituted for the identifier. This string can include placeholders for run-time information stored in a stringseq object (shown in Writing Messages to the Message Window).
|
| 3. | The translation of the message into another language (can be blank). |
| 4. | An intentionally blank line reserved for future extensions. |
| • | Message—The message text to be displayed in the dialog. |
| • | Options—An instance of the pfcMessageDialogOptions containing other options for the resulting displayed message. If this is not supplied, the dialog will show a default message
dialog with an Info classification and an OK button. If this is not to be null, create an instance of this options type with pfcMessageDialogOptions.Create(). You can set the following options:
|
| • | Prompt—This Web.Link message is preceded by a green arrow. The user must respond to this message type. Responding includes, specifying input information, accepting the default value offered, or canceling the application. If no action is taken, the progress of the application is halted. A response may either be textual or a selection. The classification for Prompt messages is %CP |
| • | Info—This Web.Link message is preceded by a blue dot. Info message types contain information such as user requests or feedback from Web.Link or Creo Parametric. The classification for Info messages is %CI Note
Do not classify messages that display information regarding problems with an operation or process as Info. These types of messages must be classified as Warnings.
|
| • | Warning—This Web.Link message is preceded by a triangle containing an exclamation point. Warning message types contain information to alert users to situations that could potentially lead to an error during a later stage of the process. Examples of warnings could be a process restriction or a suspected data problem. A Warning will not prevent or interrupt a process. Also, a Warning should not be used to indicate a failed operation. Warnings must only caution a user that the completed operation may not have been performed in a completely desirable way. The classification for Warning messages is %CW |
| • | Error—This Web.Link message is preceded by a a broken square. An Error message informs the user that a required task was not completed successfully. Depending on the application, a failed task may or may not require intervention or correction before work can continue. Whenever possible redress this situation by providing a path. The classification for Error messages is %CE |
| • | Critical—This Web.Link message is preceded by a red X. A Critical message type informs the user of an extremely serious situation that is usually preceeded by loss of user data. Options redressing this situation, if available, should be provided within the message. The classification for a Critical messages is %CC |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | FilterString—Specifies the filter string for the type of file accepted by the dialog box. Multiple file types should be listed with wildcards and separated by commas, for example, *.prt, *.asm, *.txt, *.avi, and so on. Use the property pfcFileOpenOptions.FilterString to set this option. |
| • | PreselectedItem—Specifies the name of an item to preselect in the dialog box. Use the property pfcFileOpenOptions.PreselectedItem to set this option. |
| • | DefaultPath—Specifies the name of the path to be opened by default in the dialog box. Use the property pfcFileUIOptions.DefaultPath to set this option. |
| • | DialogLabel—Specifies the title of the dialog box. Use the property pfcFileUIOptions.DialogLabel to set this option. |
| • | Shortcuts—Specifies an array of file shortcuts of the type pfcFileOpenShortcut. Create this object using the method pfcFileOpenShortcut.Create(). This object contains the following attributes:
Use the property pfcFileUIOptions.Shortcuts to set the array of file shortcuts.
|