Gets object id of pressure network from the object id of pipe run path.

Namespace: Autodesk.Civil.ApplicationServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.4.2516.0

Syntax

C#
public static ObjectId GetPressureNetworkIdFromPipeRunPath(
	this CivilDocument document,
	ObjectId idPath
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function GetPressureNetworkIdFromPipeRunPath ( _
	document As CivilDocument, _
	idPath As ObjectId _
) As ObjectId
Visual C++
public:
[ExtensionAttribute]
static ObjectId GetPressureNetworkIdFromPipeRunPath(
	CivilDocument^ document, 
	ObjectId idPath
)

Parameters

document
Type: Autodesk.Civil.ApplicationServices..::..CivilDocument
idPath
Type: ObjectId

Return Value

Return the corresponding object id of pressure network if the specified object id is one of its pipe run path, otherwise null is returned.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CivilDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also