SubassemblyOffsetToAssembly Property |
Gets or sets a vector value that specifies the offset to the assembly it belongs to in layout mode.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic Vector2d OffsetToAssembly { get; set; }
Public Property OffsetToAssembly As Vector2d
Get
Set
public:
property Vector2d OffsetToAssembly {
Vector2d get ();
void set (Vector2d value);
}
Property Value
Vector2d
ExceptionsException | Condition |
---|
InvalidOperationException |
Thrown when the subassembly is not attached to any assembly.
|
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.
See Also