1 / 51

Getting More out of GTSTRUDL

GTSUG June, 2006. 2. Topics Outline. CommandsRUNNOTESUtility programsDBX reformattersGTBatchRunWait.exeScope EditorMacrosWindows/DOS tips. GTSUG June, 2006. 3. The RUN Command. This command allows you to execute external processes as part of the GTSTRUDL command processing.These processes may be DOS commands (del, copy, etc.) or,Excel, Notepad or another Windows program, orAn in-house program you have developed.A RUN command consists of RUN options action ( optional_arguments)1146

adamdaniel
Télécharger la présentation

Getting More out of GTSTRUDL

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. Getting More out of GTSTRUDL Tips and Techniques to Leverage the Power of GTSTRUDL

    2. GTSUG June, 2006 2

    3. GTSUG June, 2006 3 The RUN Command This command allows you to execute external processes as part of the GTSTRUDL command processing. These processes may be DOS commands (del, copy, etc.) or, Excel, Notepad or another Windows program, or An in-house program you have developed. A RUN command consists of RUN + options + action ( + optional_arguments)

    4. GTSUG June, 2006 4 The RUN Command Vol 1, Section 2.1.12.17 Syntax: RUN ( (BATCH) (KEEP) ) ( WAIT ) ( HIDE ) - 'program' program = a ".cmd", ".bat" or ".exe" file or DOS command such as DEL, plus any arguments. program is limited to 256 characters.

    5. GTSUG June, 2006 5 The Run Command BATCH is required for DOS instructions like del or copy; or a .bat or .cmd file. KEEP is an option to leave the DOS window visible after the DOS instructions have finished. WAIT means dont read the next GTSTRUDL command until this is finished. HIDE (29 only) will keep the black DOS window from appearing.

    6. GTSUG June, 2006 6 RUN Example - BATCH KEEP

    7. GTSUG June, 2006 7 NOTES What are they? A NOTE is text (up to 8192 characters), that can be grouped by names and associated with components (joints, members, loads, etc.) NOTES can act as a way to add non-GTSTRUDL data to your job. The CIS/2 translator uses this feature of NOTES. NOTES stay in the database, so they can be printed from a .gts file. NOTES are written into input files created by GTMenu (28.1 has a bug fix for this), so NOTES are not lost like comments are.

    8. GTSUG June, 2006 8 NOTES Input Syntax

    9. GTSUG June, 2006 9 NOTES PRINT Syntax

    10. GTSUG June, 2006 10 DBX Reformatters DBX reformatters are small console (DOS) programs used to transform standard DBX files into Excel friendly files. Multiple-lines-per-entry DBX files are converted to single-line-per-entry output files. You can pick and choose the type of data (consistent with a single DBX file), the order it appears and field separators (spaces, tab, or special characters). The reformatters are designed to work as tools and can be called from within GTSTRUDL using the RUN command, from Excel or by a program you write.

    11. GTSUG June, 2006 11 DBX Reformatters Where are they?

    12. GTSUG June, 2006 12 DBX Reformatters - Quick Help

    13. GTSUG June, 2006 13 DBX Reformatters - Example

    14. GTSUG June, 2006 14 DBX Reformatters Example (p. 2)

    15. GTSUG June, 2006 15 GTBatchRun

    16. GTSUG June, 2006 16 GTBatchRun - Dialog

    17. GTSUG June, 2006 17 Utilities Wait.exe

    18. GTSUG June, 2006 18 The Scope Editor Is used to print images from GTMenu, either from the Print button or from the Print Preview and Edit menu pick. Can be used by itself its in the GTStrudl Program group. Can be moved to any computer without GTSTRUDL for easy display of .SSC files.

    19. GTSUG June, 2006 19 The Scope Editor Where is it?

    20. GTSUG June, 2006 20 Scope Editor From GTMenu

    21. GTSUG June, 2006 21 Scope Editor 28 Existing Features V, H lines Changing line ends Inserting multi-line text Copy-and-Paste using the Clipboard Date tool Rotating text

    22. GTSUG June, 2006 22 Scope Editor 28 V, H lines V lines are vertical, no matter how much the cursor drifts side-to-side H lines are horizontal, no matter how much the cursor drifts up-and-down

    23. GTSUG June, 2006 23 Scope Editor 28 Changing Line Ends Select the line to edit, and then right-click on the selected line

    24. GTSUG June, 2006 24 Scope Editor 28 Changing Line Ends (2) Left click on the end of the line you want to change and drag the end to its new position. General allows you to move the end in any direction, even if it started as a V or H line. Vertical converts the line to Vertical and only lets you move the end up of down. Horizontal converts the line to Horizontal and only allows you to move the end left or right.

    25. GTSUG June, 2006 25 Scope Editor 28 Multi-line text You can add multiple lines of text to a Scope Editor document by typing or pasting into the Paragraph tool. Note that the multiple lines will be converted to single lines of text in the document, so you cannot edit the whole multi-line text, but only one line at a time.

    26. GTSUG June, 2006 26 Scope Editor 28 Multi-line text (2) Selecting the Paragraph tool brings up the multi-line text entry box. Type or Paste into the text area. Click OK when done.

    27. GTSUG June, 2006 27 Scope Editor 28 Paste/Copy using the Clipboard Original Paste/Copy only works within a single document no copying from one document to another Paste/Copy using the Clipboard allows you to transfer data from one Scope Editor document to another. The Clipboard format is text and innovative users can generate their own Scope Editor data.

    28. GTSUG June, 2006 28 Scope Editor 28 Paste/Copy using the Clipboard (2) Select item(s) to be copied. Pick Edit Copy to Clipboard Paste from Clipboard in this document or another Can be pasted into Notepad

    29. GTSUG June, 2006 29 Scope Editor 28 The Date tool Add the current date to document in one of 7 formats. Pick the Date tool and then left click where you want the date placed. Font, color and text can be edited later.

    30. GTSUG June, 2006 30 Scope Editor 28 Rotating text

    31. GTSUG June, 2006 31 Scope Editor 29 New Features These new features are compatible with version 28. You can get information about downloading the Beta version of the Scope Editor and use it with GTSTRUDL 28. Automatic Date, Time and Prompt: fields in Templates Margins for importing from GTMenu

    32. GTSUG June, 2006 32 Scope Editor 29 Date, Time and Prompt: Text entries in Templates that are applied to files from GTMenu or new Scope Editor documents. Text entry is replaced with the desired data. The new text uses the same font and rotation as the original.

    33. GTSUG June, 2006 33 Scope Editor 29 Date, Time and Prompt: <<Date Create a text entry with the characters <<Date, followed with an optional integer 1-7, which correspond the Date tool discussed earlier. When the Template is applied to a GTMenu file or new Scope Editor document, <<Date will be replaced with the current date and the font of the date text will match the font of the <<Date entry.

    34. GTSUG June, 2006 34 Scope Editor 29 Date, Time and Prompt: <<Time Create a text entry with the characters <<Time, followed with an optional 12, AM or PM for a 12-hour time, or 24 for a 24-hour time. When the Template is applied to a GTMenu file or new Scope Editor document, <<Time will be replaced with the current time and the font of the time text will match the font of the <<Time entry.

    35. GTSUG June, 2006 35 Scope Editor 29 Date, Time and Prompt: <<Prompt: Create a text entry with the characters <<Prompt:, followed with an optional hint for the prompt. When the Template is applied to a GTMenu file or new Scope Editor document, <<Prompt: will be replaced with what you type into the Prompt window.

    36. GTSUG June, 2006 36 Scope Editor 29 Date, Time and Prompt: Example #1

    37. GTSUG June, 2006 37 Scope Editor 29 Date, Time and Prompt: Example #1 (cont) The left, top view is the contents of the template file. Note: Date:, Time: and Title: are separate text entries and not part of the automatic replacement feature. The middle view is the Template prompt window where you enter text appropriate to the hint (see arrow). Click the X to prevent the insertion of a prompt. The lower, right view is how the Scope Editor document will appear. The date, time and comment are static, but editable text entries now.

    38. GTSUG June, 2006 38 Scope Editor 29 Date, Time: Example #2

    39. GTSUG June, 2006 39 Scope Editor 29 Margins If you set the import margins in the Scope Editor, the image imported from GTMenu can be scaled and shifted (left/right and up/down) to fit inside your template. Import margins do not require the use of templates. Margins are specified in 1/100 or mm Margins may need adjustment for different printers! Margins are minimum spacings and do not guarantee that the image will fill the remaining area the X/Y ratio is maintained during scaling.

    40. GTSUG June, 2006 40 Scope Editor 29 Margins

    41. GTSUG June, 2006 41 Scope Editor - Templates Templates are Scope Editor files that can be created and edited. Templates can add a finished look to your GTMenu printing and can be customized in your companys style. You can have more than one template and change between them. Templates can be used automatically, or added later. Note: <<Date, <<Time and <<Prompt only work for automatic templates in version 29.

    42. GTSUG June, 2006 42 Scope Editor Building Templates Start a new Scope Editor document and use the Box, Line (usually V or H) and Text tools to build a template. Lines can be adjusted by zooming in and following the Changing Line Ends technique described earlier. Boxes are most easily adjusted by using text data based on the Copy/Paste using Clipboard Adjust the weight (thickness) of Lines and Boxes by selecting and then changing the Pen.

    43. GTSUG June, 2006 43 Scope Editor Building Templates Editing Boxes It is difficult to draw a box to act as an border for a template. Try this method instead:

    44. GTSUG June, 2006 44 Scope Editor Building Templates Editing Boxes (2)

    45. GTSUG June, 2006 45 Scope Editor Building Templates Add Lines and/or Boxes for data fields. Add text (company name, field titles, etc.) remember you can change the font (type, size, color and rotation) for any text element. Add automatic components <<Date, <<Time and maybe <<Prompt - <<Prompt can be annoying, so try it and see if it works for you. Use the View Options page to tell Scope Editor you want to use the template for data from GTMenu, or even new documents.

    46. GTSUG June, 2006 46 Scope Editor Export to MS Word

    47. GTSUG June, 2006 47 Scope Editor Export to MS Word (2)

    48. GTSUG June, 2006 48 Macros What are they? Macros are files containing GTSTRUDL commands + optional elements. If a macro contains an optional element, it must be run through the Macro dialog and not with CINPUT macro. Optional elements include user input prompts and the List dialog. Macros are a quick way to iterate a series of commands.

    49. GTSUG June, 2006 49 Macros Where are they?

    50. GTSUG June, 2006 50 Macros List examples

    51. GTSUG June, 2006 51 Windows/DOS Tips 3 GB version

More Related