Enabling and Disabling Tiles in DCL

Enabling and Disabling Tiles in DCL

Anonymous
Not applicable
3,459 Views
21 Replies
Message 1 of 22

Enabling and Disabling Tiles in DCL

Anonymous
Not applicable
Dear pbejse,
Can you please check my attached lisp and DCL file .... It also has the same problem not working for first time.. but ok in 2nd time...

when selecting radio button "yes", edit box "clear height" must highlight but it's not.. Hope you help definitely..
0 Likes
Accepted solutions (3)
3,460 Views
21 Replies
Replies (21)
Message 21 of 22

scot-65
Advisor
Advisor
rtos
Converts a number into a string

(rtos number [mode [precision]])

The rtos function returns a string that is the representation of number according to the settings of mode, precision, and the system variables UNITMODE, DIMZIN, LUNITS, and LUPREC.

Arguments:

number
A number.

mode
An integer specifying the linear units mode. The mode corresponds to the values allowed for the LUNITS AutoCAD system variable. The mode can be one of the following numbers:

1 Scientific
2 Decimal
3 Engineering (feet and decimal inches)
4 Architectural (feet and fractional inches)
5 Fractional

precision
An integer specifying the precision.

==========
"(setq rmks (rtos 0 2 0))" is equal to (setq rmks "0").

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Message 22 of 22

scot-65
Advisor
Advisor
Footnote:
rmks is embedded into a action_tile.
Since there can only be a total of 4 quotes inside an action_tile statement,
one will have to escape any additional quotes from within the statement.

The adjusted response would be:
(action_tile "be" "(setq rmks \"0\")")

Hope this helps.

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes