MC-Basic:element.ABSOLUTE

From SoftMC-Wiki
Revision as of 12:40, 19 June 2017 by Itay (talk | contribs) (element.absolute)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Defines whether the commands to the element are absolute or incremental. In absolute mode, the position commands to the element are the required absolute position. In incremental mode, the position commands are the required change in position. This property can be used inside a motion command to override the permanent value.

Short form

<element>.Abs

Syntax

<element>.Absolute = <value>

?<element>.Absolute

Availability

All versions

Type

Long

Range

0 (Incremental)

1 (Absolute)

Default

0

Scope

Configuration, Task or Terminal

Limitations

To set the value within a task, the element must be attached to that task (using the ATTACH command).

Examples

element.Absolute = False

Move element (100, 200) absolute = True

See Also