# PartScalars

class `cee.usg.``PartScalars`()

  Scalar results for one part in one state.

  The results can be mapped to the mesh as per node, per elements or per element node results.

  The PartScalars class is immutable.

Constructors

- `constructor`

Accessors

- `resultMapping`
- `valueArray`

Methods

- `getValueRange`

## Constructors

`PartScalars.``constructor`(resultMapping, valueArray)

  Arguments: | resultMapping (`ResultMapping`) – None valueArray (`ArrayLike`) – None

  Create a scalar result for a part/mesh with the given mapping and values.

  Note: There is some performance penalty for visualizing per element or per element node results, as the vertices needs to be duplicated in order to produce the WebGL based visualization. This will result in higher GPU and CPU memory usage.

  Return type: | PartScalars

## Accessors

`PartScalars.``resultMapping`()

  The result mapping of this object

  Return type: | ResultMapping

`PartScalars.``valueArray`()

  A readonly array with the scalar results

  Return type: | ArrayLike <number>

## Methods

### getValueRange

`PartScalars.``getValueRange`()

  The range (min/max) if the `valueArray`

  Return type: | Range

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Web in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Web?
What are the latest release notes for HOOPS Envision for Web?
How do I start evaluating HOOPS Envision for Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...