CivilDocumentPressurePipesExtensionGetPressureNetworkIdFromPipeRunProfile Method

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.8.0.292
Syntax
public static ObjectId GetPressureNetworkIdFromPipeRunProfile(
	this CivilDocument document,
	ObjectId idProfile
)

Parameters

document  CivilDocument
 
idProfile  ObjectId
 

Return Value

ObjectId
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