Gets a bool value that specifies whether the subassembly is attached to a offset assembly or a main assembly.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public bool AttachedToOffsetAssembly { get; }Visual Basic
Public ReadOnly Property AttachedToOffsetAssembly As Boolean
GetVisual C++
public: property bool AttachedToOffsetAssembly { bool get (); }
Remarks
Use Subassembly.HasParentAssembly to check whether it is attached to a assembly before using this property.
Exceptions
| Exception | Condition |
|---|---|
| System.InvalidOperationException | Thrown when the subassembly is not attached to any assembly. |