Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Arc

  • Last UpdatedJun 25, 2024
  • 2 minute read

Basic

Property

Scripting Supported

Example

Name

Yes

Writable

Readable

To set the property

control.findById("ID").tagName =
"Value for Name";

To get the value of the property

control.findById("ID").tagName;

XML Node

Yes

Readable

To get the value of the property

control.findById("ID").xmlNodeBoundTo;

Description

Yes

Writable

Readable

To set the property

control.findById("ID").description = "Value for Description";

To get the value of the property

control.findById("ID").description;

Lookup Source

No

Not Applicable

Unit of Measurement

Yes

Writable

Readable

To set the property

control.findById("ID").arcUom="kg";

To get the value of the property

control.findById("ID").arcUom;

Target Value

Yes

Writable

Readable

To set the property

control.findById("ID").arcTargetValue= 80;

To get the value of the property

control.findById("ID").arcTargetValue;

Default Value

Yes

Writable

Readable

To set the property

control.findById("ID").value=50;

To get the value of the property

control.findById("ID").value;

Appearance

Property

Scripting Supported

Script

Visible

Yes

Writable

Readable

To set the property

control.findById("ID").visible = true;

To get the value of the property

control.findById("ID").visible;

Label Position

No

Not Applicable

Label-Control Area

No

Not Applicable

Width

No

Not Applicable

Retain Space

No

Not Applicable

Title

Yes

Writable

Readable

To set the property

control.findById("ID").arcTitle =
"Value for Title";

To get the value of the property

control.findById("ID").arcTitle;

Decimal Places

Yes

Writable

Readable

To set the property

control.findById("ID").arcDecimalPlaces=3;

To get the value of the property

control.findById("ID").arcDecimalPlaces;

Show Scale

No

Not Applicable

Scale Minimum Value

Yes

Writable

Readable

To set the property

control.findById("ID").arcScaleMinValue=0;

To get the value of the property

control.findById("ID").arcScaleMinValue;

Scale Maximum Value

Yes

Writable

Readable

To set the property

control.findById("ID").arcScaleMaxValue=0;

To get the value of the property

control.findById("ID").arcScaleMaxValue;

Scale Start Angle

No

Not Applicable

Scale Span Angle

No

Not Applicable

Control Background Color

No

Not Applicable

Background Color

No

Not Applicable

Bar Color

No

Not Applicable

Range

Yes

Writable

Readable

To set the property

control.findById(“ID”).options=[{optionvalue:20,foreColor:"red"},{optionvalue:60,foreColor:"green"}];

To get the value of optionvalue property of the first element

control.findById(“ID").options[0].optionvalue

To get the value of foreColor property of the first element

control.findById(“ID").options[0].foreColor

Note: The Options property exposed in scripting is used for the Range property.

Custom Style Sheet Identifier

No

Not Applicable

Advanced

Property

Scripting Supported

Example

On Initialize

Yes

For more information, see scripting guidelines for On Initialize.

ID

No

Not Applicable

Enable Refresh

No

Not Applicable

Refresh Rate

No

Not Applicable

Scripts

Property

Scripting Supported

Example

Name

Yes

return "Value for Name";

Description

Yes

return "Value for Description";

Visible

Yes

return true;

Value

Yes

return 90;

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in