v2.47
IEngineeringObjectConnector Interface Reference

This interface provides methods for creating connections. It can be obtained from EngineeringObjectConnector property. More...

Public Member Functions

HRESULT CreateDuctSystemConnection ([in] IDuctSystemConnectionParameters *pDuctSystemConnectionParameters, [in] int sourceId, [in] int sourcePort, [in] int targetId, [in] int targetPort, [in] enum SystemCategory systemCategory, [out, retval] IDispatch **ppOut)
 Create duct system connection.
HRESULT CreateDuctSystemConnectionParameters ([out, retval] IDuctSystemConnectionParameters **ppDuctSystemConnectionParameters)
 Creates duct system connection parameters.
HRESULT CreateElectricalSystemConnection ([in] IElectricalSystemConnectionParameters *pElectricalSystemConnectionParameters, [in] int sourceId, [in] int sourcePort, [in] int targetId, [in] int targetPort, [in] enum SystemCategory systemCategory, [out, retval] IDispatch **ppOut)
 Create electrical system connection.
HRESULT CreateElectricalSystemConnectionParameters ([out, retval] IElectricalSystemConnectionParameters **ppElectricalSystemConnectionParameters)
 Create electrical system connection parameters.
HRESULT CreatePipeSystemConnection ([in] IPipeSystemConnectionParameters *pPipeSystemConnectionParameters, [in] int sourceId, [in] int sourcePort, [in] int targetId, [in] int targetPort, [in] enum SystemCategory systemCategory, [out, retval] IDispatch **ppOut)
 Create pipe system connection.
HRESULT CreatePipeSystemConnectionParameters ([out, retval] IPipeSystemConnectionParameters **ppPipeSystemConnectionParameters)
 Creates pipe system connection parameters.

Detailed Description

This interface provides methods for creating connections. It can be obtained from EngineeringObjectConnector property.

See also
How to use IEngineeringObjectConnector

Member Function Documentation

◆ CreateDuctSystemConnection()

HRESULT CreateDuctSystemConnection ( [in] IDuctSystemConnectionParameters * pDuctSystemConnectionParameters,
[in] int sourceId,
[in] int sourcePort,
[in] int targetId,
[in] int targetPort,
[in] enum SystemCategory systemCategory,
[out, retval] IDispatch ** ppOut )

Create duct system connection.

Note
This operation is synchronous! If the calculation is long it can cause "freezing" of Renga's interface and black screen.

Parameters are similar as method CreatePipeSystemConnection has.

◆ CreateDuctSystemConnectionParameters()

HRESULT CreateDuctSystemConnectionParameters ( [out, retval] IDuctSystemConnectionParameters ** ppDuctSystemConnectionParameters)

Creates duct system connection parameters.

Returns
The duct system connection parameters.
See also
IDuctSystemConnectionParameters

◆ CreateElectricalSystemConnection()

HRESULT CreateElectricalSystemConnection ( [in] IElectricalSystemConnectionParameters * pElectricalSystemConnectionParameters,
[in] int sourceId,
[in] int sourcePort,
[in] int targetId,
[in] int targetPort,
[in] enum SystemCategory systemCategory,
[out, retval] IDispatch ** ppOut )

Create electrical system connection.

Note
This operation is synchronous! If the calculation is long it can cause "freezing" of Renga's interface and black screen.

Parameters are similar as method CreatePipeSystemConnection has.

◆ CreateElectricalSystemConnectionParameters()

HRESULT CreateElectricalSystemConnectionParameters ( [out, retval] IElectricalSystemConnectionParameters ** ppElectricalSystemConnectionParameters)

Create electrical system connection parameters.

Returns
The electrical system connection parameters.
See also
IElectricalSystemConnectionParameters

◆ CreatePipeSystemConnection()

HRESULT CreatePipeSystemConnection ( [in] IPipeSystemConnectionParameters * pPipeSystemConnectionParameters,
[in] int sourceId,
[in] int sourcePort,
[in] int targetId,
[in] int targetPort,
[in] enum SystemCategory systemCategory,
[out, retval] IDispatch ** ppOut )

Create pipe system connection.

Note
This operation is synchronous! If the calculation is long it can cause "freezing" of Renga's interface and black screen.
Parameters
[in]pPipeSystemConnectionParametersPipe settings.
[in]sourceIdId of source object.
[in]sourcePortPort index of source object.
[in]targetIdId of target object.
[in]targetPortPort index of target object.
[in]systemCategorySystem category for connection.
[out]ppOutReserved for the future.

If source or target is a route then its port index doesn't matter.

◆ CreatePipeSystemConnectionParameters()

HRESULT CreatePipeSystemConnectionParameters ( [out, retval] IPipeSystemConnectionParameters ** ppPipeSystemConnectionParameters)

Creates pipe system connection parameters.

Returns
The pipe system connection parameters.
See also
IPipeSystemConnectionParameters