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

PI Powershell

AddAFUnitOfMeasureClass Properties

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFUnitOfMeasureClass Properties

The AddAFUnitOfMeasureClass type exposes the following members.

Properties

  NameDescription
Public property
AFServer

AF Server for which to add the AF Unit of Measure Class

Public property
BaseUnitOfMeasureClass

List of the Unit of Measure Classes that represent the base Unit of Measure on which this Class is based

Public property
BaseUnitOfMeasurePower

Power for each the base Unit of Measure base class to add

If there is more than 1 base Unit of Measure Class, the powers can be passed as an array.

Public property
CanonicalAbbreviation

Abbreviated name for the canonical unit of measure for the AF Unit of Measure class to be added. The abbreviation must be unique within the Unit of Measure's collection or the same as the CanonicalUnitOfMeasureName parameter.

If not specified, the abbreviation defaults to the same as the CanonicalUnitOfMeasureName.

Public property
CanonicalUnitOfMeasureName

Name of the Canonical Unit of Measure for the class to be added. If the name ends with an "*" then a unique name will be generated based on the supplied name.

Public property
CheckIn

Check in changes immediately

Public property
Description

Description for the AF Unit of Measure Class to add

Public property
Name

Name of the AF Unit of Measure Class to add

See Also

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