AssemblyCopySubassembly(ObjectId) Method |
Copies a subassembly to the assembly.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic AssemblyGroup CopySubassembly(
ObjectId subassemblyIdFrom
)
Public Function CopySubassembly (
subassemblyIdFrom As ObjectId
) As AssemblyGroup
public:
AssemblyGroup^ CopySubassembly(
ObjectId subassemblyIdFrom
)
Parameters
- subassemblyIdFrom ObjectId
- The ObjectId of the source
subassembly to be copied.
Return Value
AssemblyGroup
The newly created assembly group that contains the newly created subassembly.
ExceptionsException | Condition |
---|
[!:System.ArgumentException] |
Thrown when the specified ObjectId is not a subassembly id, from
another data base or not in an assembly.
|
See Also