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

AF SDK Reference

OSIsoft.AF.Modeling Namespace

  • Last UpdatedNov 18, 2025
  • 3 minute read
OSIsoft.AF.Modeling Namespace
The OSIsoft.AF.Modeling namespace provides a set of classes for creating a model of your plant assets and processes.

Classes

  ClassDescription
Public classCode example
AFConnection
The AFConnection represents a connection between the AFPort objects of two AFBaseElement objects in a model.
Public classCode example
AFConnections
The collection of AFConnection objects is maintained by an AFModel or AFCase.
Public classCode example
AFLayer
A AFLayer provides a means within an AFModel for organizing elements for presentation purposes and/or specifying active elements when executing an analysis.
Public classCode example
AFLayers
The collection of AFLayer objects.
Public classCode example
AFModel
The AFModel is a logical grouping of elements and their relationship (or connectivity) to other elements within the model.
Public classCode example
AFPort
The AFPort defines how connections can be made between AFBaseElement objects in a model.
Public classCode example
AFPorts
The collection of AFPort objects is maintained by an AFElementTemplate.

Enumerations

  EnumerationDescription
Public enumeration
AFPortType
This is an enumeration that defines the possible values used when you specify the type of a port. The AFPort.Type property uses the values of this enumeration.
TitleResults for “How to create a CRG?”Also Available in