PeDAL Help

Text Editor

The text editor in PeDAL is a syntax highlighting editor designed to work with ANSYS APDL scripts. ┬áNumerous features of the editor can be controlled using the Application Settings Dialog. ┬áThe following features are supported within the text editor pane.

Feature Description
Multiple Editors The text editor pane in PeDAL supports multiple file editors using a notebook metaphor. New files are opened in a new page of the notebook, unless the current page is empty and unmodified. A new editor can quickly be created by double-clicking in the unused space where the notebook tabs are located.
APDL Command Help Each text editor supports instant command help for APDL commands by locating the cursor on the line containing the command of interest, and pressing the F1 button. You can also obtain help on a command by right clicking in a line containing the command of interest, and choosing the help option on the command.
APDL Help Search Each text editor supports searching the ANSYS documentation for words or phrases located underneath the cursor. Simply locate the cursor over the word you would like to search for and press F2. You can also right click and choose to search the ANSYS help for the word under the cursor.
Syntax Highlighting Each text editor supports syntax highlighting for ANSYS APDL. The style of the highlights can be controlled using the Application Settings Dialog.
Macro Hyperlinking Each text editor can hyperlink to other macro files as they are found in the working directory or in specified /PSEARCH directories. You can specify the /PSEARCH directories using the Application Settings Dialog. The working directory can be set from the main menu, or the tool bar or by pressing Ctrl+W while a macro is loaded into the editor. If you use the Ctrl+W shortcut, then the working directory is set to the root directory of the currently opened macro file. PeDAL will hyperlink macro names that appear in an APDL script to their location on disk. The hyperlinking does not add any additional characters to the edited APDL script.
Command Aliases Command aliases, such as using the word FINI in place of FINISH, are supported by PeDAL. Command aliases can be added for any documented APDL command using theApplication Settings Dialog.
Code Folding Code folding is the process by which parts of an APDL script are dynamically expanded and contracted visually. Code in the contracted state is hidden from view. PeDAL uses the syntax of APDL to organize bits of the script into blocks. Control constructs like *IF and *DO form natural blocks. Furthermore, PeDAL understands block commands like EBLOCK and NBLOCK. These commands appear in input files generated by ANSYS Workbench. Normally, an analyst is not concerned with the contents of these block commands since they textually describe the location of nodes and the connectivity of elements. PeDAL can quickly hide these lines of text so that they are not distracting. Code folding can be controlled using the Application Settings Dialog.

Back to Top