Gets or sets a vector value that specifies the offset to the parent assembly it attached.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public Vector2d OffsetToParentAssembly { get; set; }
Visual Basic
Public Property OffsetToParentAssembly As Vector2d
Get
Set
Visual C++
public: property Vector2d OffsetToParentAssembly { Vector2d get (); void set (Vector2d value); }
Remarks
Use Subassembly.HasParentAssembly to check whether it is attached to an 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. |