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

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

Syntax

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

Parameters

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

Return Value

Return the corresponding object id of pressure network if the specified object id is one of its pipe run profile, 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