Adds an OffsetAssembly with the specified name and offset.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public OffsetAssembly Add( string offsetAssemblyName, Vector2d offset )
Visual Basic
Public Function Add ( _ offsetAssemblyName As String, _ offset As Vector2d _ ) As OffsetAssembly
Visual C++
public: OffsetAssembly^ Add( String^ offsetAssemblyName, Vector2d offset )
Parameters
- offsetAssemblyName
- Type: System.String
Specifies the name of OffsetAssembly.
- offset
- Type: Vector2d
Specifies the offset from main Assembly.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the offsetAssemblyName duplicated with an existing OffsetAssembly. |