> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class BodyBase<TProperty>

Namespace: [VM.Managed.DAFUL](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL)\
Assembly: VMDFBase.dll

This base class is to represent the body base.

```csharp theme={null}
public abstract class BodyBase<TProperty> : Entity<TProperty>, 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 where TProperty : BodyPropertyBase, new()
```

#### Type Parameters

`TProperty`

The type of the property.

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object\<EntityEventCore> ←
ContainerObject\<EntityEventCore> ←
EntityBase ←
Entity\<TProperty> ←
[BodyBase\<TProperty>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.BodyBase-1.md)

#### Implements

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](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.IMarkerCreatable.md),
[IFacesetCreatable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.IFacesetCreatable.md),
[ICurvesetCreatable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.ICurvesetCreatable.md),
[IConnectableNotReference](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.IConnectableNotReference.md),
IReferencable,
[IConnectableHasGeometry](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.IConnectableHasGeometry.md),
[IConnectable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.IConnectable.md),
[IMarkerParent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.IMarkerParent.md),
IEntityRelation,
IHasBody,
IBody

#### Inherited Members

Entity\<TProperty>.Initialize(Unit.ConvertFactor),
Entity\<TProperty>.GetUnnamedObjectName(object),
Entity\<TProperty>.FindLocal(string),
Entity\<TProperty>.Property,
EntityBase.Initialize(Unit.ConvertFactor),
EntityBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase),
EntityBase.PropertyRequestUpdate(object, LinkEventArgs),
EntityBase.OnDeserializationForAttribute(),
EntityBase.OnUpdatePropertyImpl(Property, LinkEventArgs),
EntityBase.LinkRequestDestroying(object, LinkEventArgs),
EntityBase.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool),
EntityBase.FixUp(ObjectBase),
EntityBase.FindLocal(string),
EntityBase.WriteTemplateImpl(XmlWriter),
EntityBase.ReadTemplateImpl(XmlReader),
EntityBase.LinkAddedToDocument(object, AddToDocEventArgs),
EntityBase.OnDeserialization(object),
EntityBase.Name,
EntityBase.FullName,
EntityBase.NonSymmetricName,
EntityBase.DisplayName,
EntityBase.IsEnabled,
EntityBase.Comment,
EntityBase.HasLayerExplicitly,
EntityBase.UntypedProperty,
EntityBase.IsFileProperty,
EntityBase.Layer,
EntityBase.IsVisible,
ContainerObject\<EntityEventCore>.Find(string),
ContainerObject\<EntityEventCore>.FindLocal(string),
ContainerObject\<EntityEventCore>.GetUnnamedObjectName(object),
ContainerObject\<EntityEventCore>.GetNewEntityName(string),
ContainerObject\<EntityEventCore>.GetNewEntityName(string, bool, int),
ContainerObject\<EntityEventCore>.GetNewEntityName(string, bool, int, int),
Object\<EntityEventCore>.GetKey(),
Object\<EntityEventCore>.Initialize(Unit.ConvertFactor),
Object\<EntityEventCore>.SetIconColor(Canvas),
Object\<EntityEventCore>.OnDeserialization(object),
Object\<EntityEventCore>.CustomGetObjectData(SerializationInfo, StreamingContext),
Object\<EntityEventCore>.RollbackEvent(),
Object\<EntityEventCore>.OnDeserializedCore(object),
Object\<EntityEventCore>.Key,
Object\<EntityEventCore>.UntypedEventCore,
Object\<EntityEventCore>.EventCore,
Object\<EntityEventCore>.Attributes,
ObjectBase.ReplaceEventCore(ObjectEventCore),
ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType),
ObjectBase.AddPostDeserialize(StreamingContext),
ObjectBase.LinkAddedToDocumentCore(IOwned, bool),
ObjectBase.SetModified(ModifiedResult.ModifiedType),
ObjectBase.SetModified(),
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\<ObjectBase>),
ObjectBase.ResetInvalidEntity(),
ObjectBase.OnDeserialization(object),
ObjectBase.IsSerializableEvent(Delegate),
ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext),
ObjectBase.CheckAndUpdateLink(HashSet\<ObjectBase>),
ObjectBase.Verify(VerifiedResult),
ObjectBase.ConnectProxy(),
ObjectBase.RollbackEvent(),
ObjectBase.LinkRequestUpdating(object, LinkEventArgs),
ObjectBase.LinkRequestUpdate(object, LinkEventArgs),
ObjectBase.LinkRequestDestroying(object, LinkEventArgs),
ObjectBase.LinkRequestDestroy(object, LinkEventArgs),
ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs),
ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs),
ObjectBase.DisposeManagedResources(),
ObjectBase.GetDestroyEventExtraData(),
ObjectBase.OnLinkReserved(ILink, object, EventArgs),
ObjectBase.CreateEntityWhenUpdateContents(Action),
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\<T>(T\[], T\[]),
ObjectBase.IsEqualList(List\<double>, List\<double>),
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.raise\_OnContentsUpdated(object, EventArgs),
ObjectBase.Dispose(bool),
ObjectBase.SkipModified,
ObjectBase.ClearChildInfoBeforeDeserialize,
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,
LinkableBase.OnDeserialization(object),
ObservableObject.Dispose(),
ObservableObject.RaisePropertyChanged(string),
ObservableObject.RaisePropertyChanged(string, object, object),
ObservableObject.Dispose(bool),
ObservableObject.DisposeManagedResources(),
ObservableObject.DisposeUnmanagedResources(),
ObservableObject.IsDisposed,
ObservableObject.TryDisposing,
ObservableObject.Disposed,
ObservableObject.Disposing,
ObservableObject.PropertyChanged

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### BodyBase()

Initializes a new instance of the BodyBase\`1 class.

```csharp theme={null}
protected BodyBase()
```

### BodyBase(string)

Initializes a new instance of the BodyBase\`1 class.

```csharp theme={null}
public BodyBase(string strName)
```

#### Parameters

`strName` [string](https://learn.microsoft.com/dotnet/api/system.string)

Name of the body base.

## Properties

### Body

Gets the body.

```csharp theme={null}
public IBody Body { get; }
```

#### Property Value

IBody

### ConnectableBody

Gets the connectable body.

```csharp theme={null}
public ObjectBase ConnectableBody { get; }
```

#### Property Value

ObjectBase

### ConnectableFullName

Gets the full name of the connectable.

```csharp theme={null}
public string ConnectableFullName { get; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### ConnectableName

Gets the name of the connectable.

```csharp theme={null}
public string ConnectableName { get; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### ConnectablePosition

Sets the connectable position.

```csharp theme={null}
public Vector ConnectablePosition { set; }
```

#### Property Value

Vector

### ConnectablePostfixName

Sets the postfix name of the connectable.

```csharp theme={null}
public string ConnectablePostfixName { set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Geometry

Gets the geometry.

```csharp theme={null}
public virtual List<Body> Geometry { get; }
```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<Body>

### HasLayerExplicitly

Gets a value indicating whether object has a layer explicitly.

```csharp theme={null}
protected override bool HasLayerExplicitly { get; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### IsVisible

Gets or sets the visible state.

```csharp theme={null}
public override bool IsVisible { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Layer

Gets or sets the layer.

```csharp theme={null}
public override Layer Layer { get; set; }
```

#### Property Value

Layer

### ParentType

Gets the type of the marker's parent.

```csharp theme={null}
public MarkerParentType ParentType { get; }
```

#### Property Value

[MarkerParentType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.MarkerParentType.md)

### ParentTypeImpl

Gets the parent type \[implementation].

```csharp theme={null}
protected virtual MarkerParentType ParentTypeImpl { get; }
```

#### Property Value

[MarkerParentType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.MarkerParentType.md)

### ReferencableImpl

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

```csharp theme={null}
protected virtual bool ReferencableImpl { get; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ReferenceFrameType

Gets the type of the marker's reference frame.

```csharp theme={null}
public MarkerReferenceFrameType ReferenceFrameType { get; }
```

#### Property Value

[MarkerReferenceFrameType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.MarkerReferenceFrameType.md)

## Methods

### FixUp(ObjectBase)

Before destroy the old object, perform a work.

```csharp theme={null}
public override bool FixUp(ObjectBase ob)
```

#### Parameters

`ob` ObjectBase

The old object.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

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

### GetArgumentList(LinkedList\<ObjectBase>)

Get argument object list.

```csharp theme={null}
public override void GetArgumentList(LinkedList<ObjectBase> lstObj)
```

#### Parameters

`lstObj` [LinkedList](https://learn.microsoft.com/dotnet/api/system.collections.generic.linkedlist-1)\<ObjectBase>

The argument object list.

### GetGeneralMarkerInfo(XmlDocument, XmlElement, Marker)

Gets the marker information for model navigator.

```csharp theme={null}
protected bool GetGeneralMarkerInfo(XmlDocument xmlDom, XmlElement xmlEle, Marker marker)
```

#### Parameters

`xmlDom` [XmlDocument](https://learn.microsoft.com/dotnet/api/system.xml.xmldocument)

The XmlDocument for marker.

`xmlEle` [XmlElement](https://learn.microsoft.com/dotnet/api/system.xml.xmlelement)

The XmlElement for marker.

`marker` [Marker](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.Marker.md)

The marker.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

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

### GetGeomModelNavigatorInfo(XmlDocument, XmlElement, BodyProperty, Body)

Gets the geometry information for model navigator.

```csharp theme={null}
protected virtual bool GetGeomModelNavigatorInfo(XmlDocument xmlDom, XmlElement xmlEle, BodyProperty bodyProp, Body body)
```

#### Parameters

`xmlDom` [XmlDocument](https://learn.microsoft.com/dotnet/api/system.xml.xmldocument)

The XmlDocument for geometry.

`xmlEle` [XmlElement](https://learn.microsoft.com/dotnet/api/system.xml.xmlelement)

The XmlElement for geometry.

`bodyProp` [BodyProperty](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.BodyProperty.md)

The body property.

`body` Body

The geometry.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

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

### GetLayerImpl()

Gets the layer \[implementation].

```csharp theme={null}
protected virtual Layer GetLayerImpl()
```

#### Returns

Layer

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

### GetTargetListForUpdate()

Gets the update objects.

```csharp theme={null}
public override List<IEventProvider> GetTargetListForUpdate()
```

#### Returns

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<IEventProvider>

### Initialize(ConvertFactor)

Initializes member through unit convert factor.

```csharp theme={null}
public override void Initialize(Unit.ConvertFactor factor)
```

#### Parameters

`factor` Unit.ConvertFactor

The unit convert factor.

### MakeReferenceImpl(LinkedList\<Reference>)

Makes the reference \[implementation].

```csharp theme={null}
protected virtual void MakeReferenceImpl(LinkedList<Reference> lstRef)
```

#### Parameters

`lstRef` [LinkedList](https://learn.microsoft.com/dotnet/api/system.collections.generic.linkedlist-1)\<Reference>

The container.

### OnUpdatePropertyImpl(Property, LinkEventArgs)

Called when \[update property].

```csharp theme={null}
protected override void OnUpdatePropertyImpl(Property prop, LinkEventArgs arg)
```

#### Parameters

`prop` Property

The property.

`arg` LinkEventArgs

The [LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md) instance containing the event data.

### SetLayerImpl(Layer)

Sets the layer \[implementation].

```csharp theme={null}
protected virtual void SetLayerImpl(Layer layer)
```

#### Parameters

`layer` Layer

The layer.
