Gets a vector value that specifies the offset to the assembly or offset assembly it attached in layout mode.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.Subassembly.OffsetToParentAssembly instead.", false)] public Vector2d OffsetToBaseline { get; }
Visual Basic
<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.Subassembly.OffsetToParentAssembly instead.", _ False)> _ Public ReadOnly Property OffsetToBaseline As Vector2d Get
Visual C++
public: [ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.Subassembly.OffsetToParentAssembly instead.", false)] property Vector2d OffsetToBaseline { 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.OffsetToAssembly, otherwise they return the same value.
Exceptions
Exception | Condition |
---|---|
System.InvalidOperationException | Thrown when the subassembly is not attached to any assembly. |