    

 ## On this page

  

 

 # Class Ground

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_Ground"></a>

Namespace: [VM.Managed.DAFUL](VM.Managed.DAFUL.md)  
Assembly: VMDFBase.dll

This class is to represent the ground.

```csharp
public sealed class Ground : BodyBase<GroundBodyProperty>, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IMarkerCreatable, IFacesetCreatable, ICurvesetCreatable, IConnectableNotReference, IReferencable, IConnectableHasGeometry, IConnectable, IMarkerParent, IEntityRelation, IHasBody, IBody, IHasBuilder, IDrawIcon, ITransformable, IGeometryContainer, IHasCenterMarkerForGround

```

#### Inheritance

object ← ObservableObject ← [LinkableBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs) ← ObjectBase ← Object&lt;EntityEventCore&gt; ← ContainerObject&lt;EntityEventCore&gt; ← [EntityBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs) ← [Entity&lt;GroundBodyProperty&gt;](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs) ← [BodyBase&lt;GroundBodyProperty&gt;](VM.Managed.DAFUL.BodyBase-1.md) ← [Ground](VM.Managed.DAFUL.Ground.md)

#### Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, [IHistoryObjectSerializable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/Interfaces.cs), IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, [IMarkerCreatable](VM.Managed.DAFUL.IMarkerCreatable.md), [IFacesetCreatable](VM.Managed.DAFUL.IFacesetCreatable.md), [ICurvesetCreatable](VM.Managed.DAFUL.ICurvesetCreatable.md), [IConnectableNotReference](VM.Managed.DAFUL.IConnectableNotReference.md), IReferencable, [IConnectableHasGeometry](VM.Managed.DAFUL.IConnectableHasGeometry.md), [IConnectable](VM.Managed.DAFUL.IConnectable.md), [IMarkerParent](VM.Managed.DAFUL.IMarkerParent.md), IEntityRelation, IHasBody, IBody, IHasBuilder, IDrawIcon, ITransformable, IGeometryContainer, [IHasCenterMarkerForGround](VM.Managed.DAFUL.IHasCenterMarkerForGround.md)

#### Inherited Members

[BodyBase&lt;GroundBodyProperty&gt;.Initialize(Unit.ConvertFactor)](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_Initialize_VM_Unit_ConvertFactor_), [BodyBase&lt;GroundBodyProperty&gt;.FixUp(ObjectBase)](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_FixUp_VM_Managed_ObjectBase_), [BodyBase&lt;GroundBodyProperty&gt;.GetArgumentList(LinkedList&lt;ObjectBase&gt;)](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_GetArgumentList_System_Collections_Generic_LinkedList_VM_Managed_ObjectBase__), [BodyBase&lt;GroundBodyProperty&gt;.GetTargetListForUpdate()](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_GetTargetListForUpdate), [BodyBase&lt;GroundBodyProperty&gt;.ParentType](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_ParentType), [BodyBase&lt;GroundBodyProperty&gt;.ReferenceFrameType](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_ReferenceFrameType), [BodyBase&lt;GroundBodyProperty&gt;.ConnectableName](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_ConnectableName), [BodyBase&lt;GroundBodyProperty&gt;.ConnectableFullName](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_ConnectableFullName), [BodyBase&lt;GroundBodyProperty&gt;.ConnectablePostfixName](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_ConnectablePostfixName), [BodyBase&lt;GroundBodyProperty&gt;.ConnectablePosition](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_ConnectablePosition), [BodyBase&lt;GroundBodyProperty&gt;.ConnectableBody](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_ConnectableBody), [BodyBase&lt;GroundBodyProperty&gt;.Body](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_Body), [BodyBase&lt;GroundBodyProperty&gt;.Layer](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_Layer), [BodyBase&lt;GroundBodyProperty&gt;.IsVisible](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_IsVisible), [BodyBase&lt;GroundBodyProperty&gt;.Geometry](VM.Managed.DAFUL.BodyBase-1.md#VM_Managed_DAFUL_BodyBase_1_Geometry), [Entity&lt;GroundBodyProperty&gt;.Initialize(Unit.ConvertFactor)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [Entity&lt;GroundBodyProperty&gt;.GetUnnamedObjectName(object)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [Entity&lt;GroundBodyProperty&gt;.FindLocal(string)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [Entity&lt;GroundBodyProperty&gt;.Property](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.Initialize(Unit.ConvertFactor)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.PropertyRequestUpdate(object, LinkEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.OnDeserializationForAttribute()](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.FixUp(ObjectBase)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.FindLocal(string)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.Name](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.FullName](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.NonSymmetricName](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.DisplayName](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.IsEnabled](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.Comment](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.UntypedProperty](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.Layer](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), [EntityBase.IsVisible](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/Entity.cs), ContainerObject&lt;EntityEventCore&gt;.Find(string), ContainerObject&lt;EntityEventCore&gt;.FindLocal(string), ContainerObject&lt;EntityEventCore&gt;.GetUnnamedObjectName(object), ContainerObject&lt;EntityEventCore&gt;.GetNewEntityName(string), ContainerObject&lt;EntityEventCore&gt;.GetNewEntityName(string, bool, int), ContainerObject&lt;EntityEventCore&gt;.GetNewEntityName(string, bool, int, int), Object&lt;EntityEventCore&gt;.GetKey(), Object&lt;EntityEventCore&gt;.Initialize(Unit.ConvertFactor), Object&lt;EntityEventCore&gt;.SetIconColor(Canvas), Object&lt;EntityEventCore&gt;.OnDeserializedCore(object), Object&lt;EntityEventCore&gt;.Key, Object&lt;EntityEventCore&gt;.UntypedEventCore, Object&lt;EntityEventCore&gt;.EventCore, Object&lt;EntityEventCore&gt;.Attributes, ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList&lt;ObjectBase&gt;), ObjectBase.ResetInvalidEntity(), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray&lt;T&gt;(T\[\], T\[\]), ObjectBase.IsEqualList(List&lt;double&gt;, List&lt;double&gt;), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise\_OnUpdating(object, LinkEventArgs), ObjectBase.raise\_OnUpdate(object, LinkEventArgs), ObjectBase.raise\_OnDestroying(object, LinkEventArgs), ObjectBase.raise\_OnDestroy(object, LinkEventArgs), ObjectBase.raise\_Destroying(object, Identifier), ObjectBase.raise\_OnAdded(object, AddToDocEventArgs), ObjectBase.raise\_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.OnUpdating, ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_DAFUL_Ground__ctor"></a> Ground()

Initializes a new instance of the  class.

```csharp
public Ground()

```

### <a id="VM_Managed_DAFUL_Ground__ctor_System_String_"></a> Ground(string)

Initializes a new instance of the  class.

```csharp
public Ground(string strName)

```

#### Parameters

`strName` string

Name of the ground.

## Properties

### <a id="VM_Managed_DAFUL_Ground_Geometry"></a> Geometry

Gets the geometry.

```csharp
public override List<Body> Geometry { get; }

```

#### Property Value

List&lt;Body&gt;

### <a id="VM_Managed_DAFUL_Ground_GroundName"></a> GroundName

Gets or sets the name of the ground.

```csharp
public static string GroundName { get; set; }

```

#### Property Value

string

### <a id="VM_Managed_DAFUL_Ground_ReferencableImpl"></a> ReferencableImpl

Gets a value indicating whether this  is referencable \[implementation\].

```csharp
protected override sealed bool ReferencableImpl { get; }

```

#### Property Value

bool

## Methods

### <a id="VM_Managed_DAFUL_Ground_GetBuilder"></a> GetBuilder()

Gets the geometry.

```csharp
public ObjectBase[] GetBuilder()

```

#### Returns

ObjectBase\[\]

geometry container

### <a id="VM_Managed_DAFUL_Ground_GetGeomModelNavigatorInfo_System_Xml_XmlDocument_System_Xml_XmlElement_VM_Managed_DAFUL_BodyProperty_VM_Managed_CAD_Body_"></a> GetGeomModelNavigatorInfo(XmlDocument, XmlElement, BodyProperty, Body)

Gets the geometry information for model navigator.

```csharp
protected override bool GetGeomModelNavigatorInfo(XmlDocument xmlDom, XmlElement xmlEle, BodyProperty bodyProp, Body body)

```

#### Parameters

`xmlDom` XmlDocument

The XmlDocument for geometry.

`xmlEle` XmlElement

The XmlElement for geometry.

`bodyProp` [BodyProperty](VM.Managed.DAFUL.BodyProperty.md)

The body property.

`body` Body

The geometry.

#### Returns

bool

`true` if success; otherwise, `false`.

### <a id="VM_Managed_DAFUL_Ground_GetLayerImpl"></a> GetLayerImpl()

Gets the layer \[implementation\].

```csharp
protected override Layer GetLayerImpl()

```

#### Returns

Layer

`true` if success; otherwise, `false`.

### <a id="VM_Managed_DAFUL_Ground_GetMarkerArrayModelNavigatorInfo_System_Xml_XmlDocument_System_Xml_XmlElement_VM_Managed_Collections_NamedObjectDictionary_VM_Managed_DAFUL_Marker__"></a> GetMarkerArrayModelNavigatorInfo(XmlDocument, XmlElement, NamedObjectDictionary&lt;Marker&gt;)

Gets the marker array information for model navigator.

```csharp
public bool GetMarkerArrayModelNavigatorInfo(XmlDocument xmlDom, XmlElement xmlEle, NamedObjectDictionary<Marker> arMarker)

```

#### Parameters

`xmlDom` XmlDocument

The XmlDocument for marker array.

`xmlEle` XmlElement

The XmlElement for marker array.

`arMarker` [NamedObjectDictionary](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/NamedObjectDictionary.cs)&lt;[Marker](VM.Managed.DAFUL.Marker.md)&gt;

The marker array.

#### Returns

bool

`true` if success; otherwise, `false`.

### <a id="VM_Managed_DAFUL_Ground_GetModelNavigatorInformationImpl_System_Xml_XmlDocument_System_Xml_XmlElement_System_Boolean_"></a> GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)

Gets the object information for model navigator \[implementation\].

```csharp
protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlEle, bool bHasChild)

```

#### Parameters

`xmlDom` XmlDocument

The XmlDocument for object.

`xmlEle` XmlElement

The XmlDocument for object.

`bHasChild` bool

if set to `true` \[has child\].

#### Returns

bool

`true` if success; otherwise, `false`.

### <a id="VM_Managed_DAFUL_Ground_Initialize_VM_Unit_ConvertFactor_"></a> Initialize(ConvertFactor)

Initializes member through unit convert factor.

```csharp
public override void Initialize(Unit.ConvertFactor factor)

```

#### Parameters

`factor` Unit.ConvertFactor

The unit convert factor.

### <a id="VM_Managed_DAFUL_Ground_MakeReferenceImpl_System_Collections_Generic_LinkedList_VM_Managed_Reference__"></a> MakeReferenceImpl(LinkedList&lt;Reference&gt;)

Makes the reference \[implementation\].

```csharp
protected override sealed void MakeReferenceImpl(LinkedList<Reference> lstRef)

```

#### Parameters

`lstRef` LinkedList&lt;Reference&gt;

The container.

### <a id="VM_Managed_DAFUL_Ground_OnDeserialization_System_Object_"></a> OnDeserialization(object)

Called when \[deserialization\].

```csharp
protected override void OnDeserialization(object sender)

```

#### Parameters

`sender` object

The sender.

### <a id="VM_Managed_DAFUL_Ground_ReDraw"></a> ReDraw()

Redraw.

```csharp
public void ReDraw()

```

### <a id="VM_Managed_DAFUL_Ground_SetLayerImpl_VM_Managed_Layer_"></a> SetLayerImpl(Layer)

Sets the layer \[implementation\].

```csharp
protected override void SetLayerImpl(Layer layer)

```

#### Parameters

`layer` Layer

The layer.