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

Hull and Outfitting

Class StatusValue

  • Last UpdatedDec 15, 2023
  • 1 minute read

This class gives access to the data relating to a Status Value (STAVAL element). This represents one of the legal states that an element controlled for a given status definition may have. The status definition and value can be determined via the class constructors:

Status status = Status("/DesignStatus");

StatusValue statusValue = StatusValue(status, "/Approved");

Or:

DbElement statusValueElement;

// ...

StatusValue statusValue = StatusValue(statusValueElement);

Alternatively, the array of all StatusValues for a given status definition can be obtained directly from a Status object:

Status status = Status("/DesignStatus");

StatusValue[] statusValues = status.Values;

The remaining functions of the StatusValue class are displayed in the Visual Studio Object Browser below:

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