2019-09-04 09:24 AM
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
Solved! Go to Solution.
2019-09-24 07:02 AM
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2019-09-09 02:24 PM
2019-09-09 02:56 PM
If RevOrDoI = "Revision Manager" Then If LayoutRevHistoryDA[vardim1(LAYOUT_REVISION_HISTORY)][4] = "Work in Progress" Then ! 28 Text2 0, -Text_Y*.5, "W.I.P." Else Text2 0, -Text_Y*.5, LayoutRevHistoryDA[vardim1(LAYOUT_REVISION_HISTORY)][4] EndIf EndIfIt works correctly for the placed Object, but gives an error message "Unitialized variable at line 28 in the 2D script of file Revision Name and Date.gsm. (rev date)" when the Object Settings dialog box is opened. Line 28 is marked in the code. The Object is placed on a Master Layout. I never could figure a way to eliminate the error message, which is a minor annoyance.
2019-09-10 05:15 AM
David wrote:
This is the snippet of code I use to substitute "W.I.P." for "Work in Progress":
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2019-09-10 02:52 PM
Lingwisyer wrote:It is from an Object I wrote from scratch to show only the Revision name and date. I think the information you are looking for is in line 28, so you can look at the script you are working on for the change you want to make. You could also try posting at the GDL Forum, they should know more about the than I do. As I said it works, but with an error message when the settings dialog box is open.
David wrote:In what are you substituting this?
This is the snippet of code I use to substitute "W.I.P." for "Work in Progress":
2019-09-24 07:02 AM
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2019-10-09 02:47 PM
If RevOrDoI = "Revision Manager" Then If LAYOUT_CURRENTREVISION_OPEN = 1 Then Text2 0, -Text_Y*.5, "W.I.P." Else Text2 0, -Text_Y*.5, LayoutRevHistoryDA[vardim1(LAYOUT_REVISION_HISTORY)][4] EndIf EndIfDavid
2020-02-12 04:59 AM
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2020-02-12 02:43 PM
2020-02-13 03:00 AM
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |