HyperWorks Desktop

*Attribute()

Specifies a value to be applied to each layer of an attribute.

*Attribute()

Specifies a value to be applied to each layer of an attribute.

Previous topic Next topic No expanding text in this topic  

*Attribute()

Specifies a value to be applied to each layer of an attribute.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*Attribute(attribute, value, [additional values])

Arguments

Name

Description

 

attribute

The attribute to be set across all entities each time the report is applied.  Supported plot attributes include:

 

 

linestyle

linethickness

linecolor

symbolcolor

symbolstyle

barcolor

barstyle

The line style.

The line thickness.

The line color.

The symbol color.

The symbol style.

The bar color.

The bar style.

 

value

The value to be set for the attribute across all entities when the report is applied.  See *Line() *SetBarDefaults(), and *Symbol() for valid values.

 

[additional values]

For each subsequent application of the report, the next value in the list of values will be used.  The application restarts with the first value after all values have been applied.

Example

*BeginAttributes(plot)

*Attribute(linestyle, 1, 2, 5, 3)

 *Attribute(linecolor, 20, 6, 28, 23)

 *Attribute(linethickness, 1, 1, 1, 1)

 *Attribute(symbolcolor, 20, 6, 28, 23)

 *Attribute(symbolstyle, 0, 0, 0, 0)

 *Attribute(barcolor, 1, 2, 3, 4, 60)

 *Attribute(barstyle, 0, 1, 2, 3, 4)

*EndAttributes()

Application

MotionView, HyperView, HyperGraph, and TextView.

Context

*BeginAttributes()

See also

 

*BeginAttributes()

*Line()

*SetBarDefaults()

*Symbol()

List of Report Statements