Connects the pipe to specified structure.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.5.1584.0
Syntax
| C# |
|---|
public void ConnectToStructure(
ObjectId structureId
) |
| Visual Basic |
|---|
Public Sub ConnectToStructure ( _
structureId As ObjectId _
) |
| Visual C++ |
|---|
public:
void ConnectToStructure(
ObjectId structureId
) |
Parameters
- structureId
- Type: ObjectId
The object id of structure that is Autodesk.Civil.DatabaseServices.Structure.
Remarks
Exceptions
| Exception | Condition |
|---|
| [!:System.InvalidOperationException] |
Thrown when:
- The pipe has no open connection port. Open means neither pressure part nor structure is connected.
- The structure has connected to another pipe. The connected pipe and this pipe are in the same pipe run.
|
See Also