Moves the specified parts of the network into another network.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public void MoveParts(
ObjectIdCollection partIds,
ObjectId dstNetworkId
) |
Visual Basic |
---|
Public Sub MoveParts ( _
partIds As ObjectIdCollection, _
dstNetworkId As ObjectId _
) |
Visual C++ |
---|
public:
void MoveParts(
ObjectIdCollection^ partIds,
ObjectId dstNetworkId
) |
Parameters
- partIds
- Type: ObjectIdCollection
Object ids of the Parts to be moved.
- dstNetworkId
- Type: ObjectId
Object id of the destination network.
Remarks
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- Some objects specified by partIds are not Autodesk.Civil.DatabaseServices.Part.
- Some objects specified by partIds do not belong to the network.
- The object specified by dstNetworkId is not Autodesk.Civil.DatabaseServices.Network.
|
System..::..InvalidOperationException |
Thrown when:
- A part with the same name exists in the destination network.
- The source network or destination network is a reference network.
|
See Also