Gets a vector value that specifies the offset to the assembly it belongs to in layout mode.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.0.1111.0

Syntax

C#
public Vector2d OffsetToAssembly { get; }
Visual Basic
Public ReadOnly Property OffsetToAssembly As Vector2d
	Get
Visual C++
public:
property Vector2d OffsetToAssembly {
	Vector2d get ();
}

Remarks

Use Subassembly.HasParentAssembly to check whether it is attached to a assembly before using this property. When it is attached to an offset assembly, this property is different from Subassembly.OffsetToBaseline, otherwise they return the same value.

Exceptions

ExceptionCondition
System..::..InvalidOperationException Thrown when the subassembly is not attached to any assembly.

See Also