OSIsoft.AF.Modeling Namespace
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
The OSIsoft.AF.Modeling namespace provides a set of classes for creating a model of your plant assets and processes.
Classes
| Class | Description | |
|---|---|---|
| AFConnection |
The AFConnection represents a connection between the
AFPort objects of two AFBaseElement objects
in a model.
| |
| AFConnections | ||
| AFLayer |
A AFLayer provides a means within an AFModel
for organizing elements for presentation purposes and/or specifying active
elements when executing an analysis.
| |
| AFLayers |
The collection of AFLayer objects.
| |
| AFModel |
The AFModel is a logical grouping of elements and their
relationship (or connectivity) to other elements within the model.
| |
| AFPort |
The AFPort defines how connections can be made between
AFBaseElement objects in a model.
| |
| AFPorts |
The collection of AFPort objects is maintained by an
AFElementTemplate.
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| 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.
|