v2.47
IDuctSystemConnectionParameters Interface Reference

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

Public Member Functions

HRESULT AddDuctFittingStyle ([in] int ductFittingStyleId)
 Add duct fitting style id.
HRESULT AddDuctStyleBranch ([in] int ductStyleId, [in] int insulationId)
 Add duct style id for branch.
HRESULT AddDuctStyleMagistral ([in] int ductStyleId, [in] int insulationId)
 Add duct style id for magistral.
HRESULT DeleteDuctFittingStyle ([in] int ductFittingStyleId)
 Delete duct fitting style id.
HRESULT DeleteDuctStyleBranch ([in] int ductStyleId)
 Delete duct style id for branch.
HRESULT DeleteDuctStyleMagistral ([in] int ductStyleId)
 Delete duct style id for magistral.
HRESULT GetInsulationIdBranch ([in] int ductStyleId, [out, retval] int *pInsulationId)
 Get insulation id for particalur duct style for branch.
HRESULT GetInsulationIdMagistral ([in] int ductStyleId, [out, retval] int *pInsulationId)
 Get insulation id for particalur duct style for magistral.
HRESULT SetInsulationIdBranch ([in] int ductStyleId, [in] int insulationId)
 Set insulation id for particalur duct style for branch.
HRESULT SetInsulationIdMagistral ([in] int ductStyleId, [in] int insulationId)
 Set insulation id for particalur duct 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 duct system. It can be created using method CreateDuctSystemConnectionParameters.

Member Function Documentation

◆ AddDuctFittingStyle()

HRESULT AddDuctFittingStyle ( [in] int ductFittingStyleId)

Add duct fitting style id.

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

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

◆ AddDuctStyleBranch()

HRESULT AddDuctStyleBranch ( [in] int ductStyleId,
[in] int insulationId )

Add duct style id for branch.

This method has the same restrictions as AddDuctStyleMagistral.

◆ AddDuctStyleMagistral()

HRESULT AddDuctStyleMagistral ( [in] int ductStyleId,
[in] int insulationId )

Add duct style id for magistral.

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

For each duct style you are going to add, three rules should work:

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

◆ GetInsulationIdBranch()

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

Get insulation id for particalur duct style for branch.

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

◆ GetInsulationIdMagistral()

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

Get insulation id for particalur duct style for magistral.

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