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.7.0.1276
Syntax
C#
public static ObjectId GetPressureNetworkIdFromPipeRunProfile( this CivilDocument document, ObjectId idProfile )
VB
<ExtensionAttribute> Public Shared Function GetPressureNetworkIdFromPipeRunProfile ( document As CivilDocument, idProfile As ObjectId ) As ObjectId
C++
public: [ExtensionAttribute] static ObjectId GetPressureNetworkIdFromPipeRunProfile( CivilDocument^ document, ObjectId idProfile )
Parameters
- document CivilDocument
- idProfile ObjectId
Return Value
ObjectIdReturn the corresponding object id of pressure network if the specified object id is one of its pipe run profile, otherwise null is returned.