code for text poping up
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2007-11-08 07:29 PM
2007-11-08
07:29 PM
Thanks for any help,
Michele
4 REPLIES 4
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2007-11-08 07:55 PM
2007-11-08
07:55 PM
Hi Michele,
Use the print command...
PRINT expression [, expression, ...]
Writes all of its arguments in a dialog box. Arguments can be strings or numeric expressions of any number in any sequence, separated by
commas.
Examples:
if dim>x then PRINT "Opssss"
PRINT J, K-3*L
PRINT "Beginning of interpretation"
PRINT a * SIN (alpha) + b * COS (alpha)
PRINT "Parameter values: ", "a = ", a, ", b = ", b
PRINT name + STR ("%m", i) + "." + ext
Use the print command...
PRINT expression [, expression, ...]
Writes all of its arguments in a dialog box. Arguments can be strings or numeric expressions of any number in any sequence, separated by
commas.
Examples:
if dim>x then PRINT "Opssss"
PRINT J, K-3*L
PRINT "Beginning of interpretation"
PRINT a * SIN (alpha) + b * COS (alpha)
PRINT "Parameter values: ", "a = ", a, ", b = ", b
PRINT name + STR ("%m", i) + "." + ext
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2007-11-09 07:40 PM
2007-11-09
07:40 PM
If you want it to display on the plan you can do something like:
Keep in mind that the white text will still obscure whatever lies under it.
IF room_area > max_area THEN TEXT2 x1, y1, "Max area exceeded" ENDIFNote that the variable names (lower case) are just examples that I made up. You would need to chose whatever works for you and make sure they have the right values.
Keep in mind that the white text will still obscure whatever lies under it.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2007-11-12 04:11 PM
2007-11-12
04:11 PM
Thanks,
I'll have to also make a toggle to turn it off once I've seen the warning text.
Thanks again,
Michele
I'll have to also make a toggle to turn it off once I've seen the warning text.
Thanks again,
Michele
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2007-11-12 08:54 PM
2007-11-12
08:54 PM
Michele wrote:What I've seen people do is create a scale-sensitive toggle in the script, use some scale that never goes to production drawings for this type of checks with script-generated information, and save that into a view. That way you don't need to mess around with object settings, and your production views and drawings are always clean and final.
I'll have to also make a toggle to turn it off once I've seen the warning text.