v2.47
IPipeSystemConnectionParameters Interface Reference

This interface contains settings for creating connections in pipe system. It can be created using method CreatePipeSystemConnectionParameters. More...

Public Member Functions

HRESULT AddPipeFittingStyle ([in] int pipeFittingStyleId)
 Add pipe fitting style id.
HRESULT AddPipeStyleBranch ([in] int pipeStyleId, [in] int insulationId)
 Add pipe style id for branch.
HRESULT AddPipeStyleMagistral ([in] int pipeStyleId, [in] int insulationId)
 Add pipe style id for magistral.
HRESULT DeletePipeFittingStyle ([in] int pipeFittingStyleId)
 Delete pipe fitting style id.
HRESULT DeletePipeStyleBranch ([in] int pipeStyleId)
 Delete pipe style id for branch.
HRESULT DeletePipeStyleMagistral ([in] int pipeStyleId)
 Delete pipe style id for magistral.
HRESULT GetInsulationIdBranch ([in] int pipeStyleId, [out, retval] int *pInsulationId)
 Get insulation id for particalur pipe style for branch.
HRESULT GetInsulationIdMagistral ([in] int pipeStyleId, [out, retval] int *pInsulationId)
 Get insulation id for particalur pipe style for magistral.
HRESULT SetInsulationIdBranch ([in] int pipeStyleId, [in] int insulationId)
 Set insulation id for particalur pipe style for branch.
HRESULT SetInsulationIdMagistral ([in] int pipeStyleId, [in] int insulationId)
 Set insulation id for particalur pipe style for magistral.

Properties

VARIANT_BOOL ConsiderEnclosingStructuresBranch [get, set]
 Take into account the enclosing structures for branch.
VARIANT_BOOL ConsiderEnclosingStructuresMagistral [get, set]
 Take into account the enclosing structures for magistral.
double HeightBranch [get, set]
 Route height in millimeters for branch.
double HeightMagistral [get, set]
 Route height in millimeters for magistral.
double OffsetBranch [get, set]
 Route offset in millimeters for branch.
double OffsetMagistral [get, set]
 Route offset in millimeters for magistral.

Detailed Description

This interface contains settings for creating connections in pipe system. It can be created using method CreatePipeSystemConnectionParameters.

Member Function Documentation

◆ AddPipeFittingStyle()

HRESULT AddPipeFittingStyle ( [in] int pipeFittingStyleId)

Add pipe fitting style id.

For each pipe fitting style you are going to add, next rules should work:

  • They are made of the same material as pipe styles;
  • They must have the same connection type as pipe styles;
  • They must have the compatible connection parameters (width and height / diameter) with at least one pipe style you've already added.
See also
IProject::PipeFittingStyles

◆ AddPipeStyleBranch()

HRESULT AddPipeStyleBranch ( [in] int pipeStyleId,
[in] int insulationId )

Add pipe style id for branch.

This method has the same restrictions as AddPipeStyleMagistral.

◆ AddPipeStyleMagistral()

HRESULT AddPipeStyleMagistral ( [in] int pipeStyleId,
[in] int insulationId )

Add pipe style id for magistral.

If there is no need to use insulation then set insulationId to "0".

For each pipe style you are going to add, next rules should work:

  • They are made of the same material;
  • They must have the same connection type.
See also
IProject::PipeStyles, IProject::LayeredMaterials

◆ GetInsulationIdBranch()

HRESULT GetInsulationIdBranch ( [in] int pipeStyleId,
[out, retval] int * pInsulationId )

Get insulation id for particalur pipe style for branch.

If there is no any insulation applied for that pipe style, "0" will be returned.

◆ GetInsulationIdMagistral()

HRESULT GetInsulationIdMagistral ( [in] int pipeStyleId,
[out, retval] int * pInsulationId )

Get insulation id for particalur pipe style for magistral.

If there is no any insulation applied for that pipe style, "0" will be returned.