summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmcancel.xtr
blob: e4afbf7522c497adb8ad64f6b38c233c0a8da894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
VERSION 10
DEMOINIT
ORIG 4.000 0.000 0.000
PARAMETER display labelenable 1
STRAIGHT 1 0 0 0 0 DEMO 2
	E 5.333333 2.250000 270.000000
	T 2 14.000000 2.250011 90.000000
	END
TURNOUT  2 0 0 0 0 DEMO 2 14.000000 2.250011 0 0.000000 "Peco-55	Med Left	SL-E396F"
	T 1 14.000000 2.250011 270.000000
	T 3 19.405000 2.250011 90.000000
	E 19.370000 2.772011 80.314000
	D 0.172500 -1.261011
	P "Normal" 1 2
	P "Reverse" 1 3 4
	S 0 0.000000 0.000000 0.000000 0.353000 0.000000
	S 0 0.000000 0.353000 0.000000 5.405000 0.000000
	C 0 0.000000 -23.136000 0.351000 23.136000 170.297000 9.700000
	S 0 0.000000 4.251000 0.331000 5.370000 0.522000
	END
STRAIGHT 3 0 0 0 0 DEMO 2
	E 28.166667 2.250000 90.000123
	T 2 19.405000 2.250007 270.000123
	END
NOTE 4 0 0 0 16.666667 4.250000 0 69
This is a note about something important
but I can't remember what.
    END
DRAW 5 0 0 0 0 4.125000 5.750000 0 0.000000
	Z 0 0.000000 0.000000 0.000000 0 140.000000 "This is some text"
	END
REDRAW
RESET
MESSAGE
Pushing the <Describe> button will cancel any other command in progress.

Here we will begin to create a curved track which is a two step process.
END
STEP
COMMAND CurveEndPt
MOUSE 2 21.250 5.583
MOUSE 3 21.250 5.583
MOUSE 3 32.333 5.750
MOUSE 4 32.333 5.750
STEP
COMMAND Describe
MESSAGE
_________________________________________

When we clicked on the <Describe> button, the current command was cancelled.

When in <Describe> mode, selecting any object will print a description in the Status Bar and display a dialog showing properties of the clicked-on object.
END
STEP
MOUSE 2 11.333 2.167
MOUSE 4 11.333 2.167
MESSAGE
_________________________________________

Certain parameters of the object can be changed.  In this case we'll change the length
END
STEP
#DESCRIBE Length	7.500
PARAMETER describe F7 7.500
MESSAGE
_________________________________________

Let's look at the Turnout...
END
BIGPAUSE
MOUSE 2 18.083 2.250
MOUSE 4 18.083 2.250
MESSAGE
and change the turnout name and part no.
END
STEP
#DESCRIBE Name	Medium Left
#DESCRIBE Part No	SL-E396F2
PARAMETER describe S2 Medium Left
PARAMETER describe S3 SL-E396F2
STEP
MOUSE 2 11.500 6.625
MOUSE 4 11.500 6.625
MESSAGE
_________________________________________

You can change the contents of text...
END
STEP
#DESCRIBE Text	Goodbye
PARAMETER describe T1 Goodbye
BIGPAUSE
MESSAGE
and its size.
END
STEP
#DESCRIBE Font Size	19
PARAMETER describe LE1 -1 19
STEP
MESSAGE
_________________________________________

If you select a note, the Description dialog appears which displays the contents of the note.
END
BIGPAUSE
MOUSE 2 16.750 4.583
PAUSE 50
MOUSE 3 16.750 4.583
MOUSE 4 16.750 4.583
BIGPAUSE
BIGPAUSE
MESSAGE
=========================================
END
STEP
REGRESSION START 10 - describe
STRAIGHT 1 0 0 0 0 DEMO 2
	E4 6.500000 2.250001 269.999927 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 2 14.000000 2.250011 90.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
TURNOUT  2 0 0 0 0 DEMO 2 14.000000 2.250011 0 0.000000 "Peco-55	Medium Left	SL-E396F2"
	T4 1 14.000000 2.250011 270.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 3 19.405000 2.250011 90.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	E4 19.370000 2.772011 80.314000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	D 0.172500 -1.261011
	P "Normal" 1 2
	P "Reverse" 1 3 4
	S 0 0.000000 0.000000 0.000000 0.353000 0.000000
	S 0 0.000000 0.353000 0.000000 5.405000 0.000000
	C 0 0.000000 -23.136000 0.351000 23.136000 170.297000 9.700000
	S 0 0.000000 4.251000 0.331000 5.370000 0.522000
	END
STRAIGHT 3 0 0 0 0 DEMO 2
	E4 28.166667 2.250000 90.000123 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	T4 2 19.405000 2.250007 270.000123 0 0.0 0.0 0.0 0.0 0 0 0 0.000000 
	END
NOTE 4 0 0 0 16.666667 4.250000 0 69
This is a note about something important
but I can't remember what.
 
    END
DRAW 5 0 0 0 0 4.125000 5.750000 0 0.000000
	Z 0 0.000000 0.000000 0.000000 0 19.000000 "This is some text"
	END
REGRESSION END
CLEAR