> ## 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 OrientationBase

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

This class is to represent the orientation base.
Getting the information of orientation(OMatrix type) through Value property.
After picking, Getting information of OrientationBase through picker.

```csharp theme={null}
public class OrientationBase : Expression, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IExpression, IOrientationBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasReplaceableEntity
```

#### Inheritance

object ←
ObservableObject ←
[LinkableBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs) ←
[LinkContainer](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md) ←
[Expression](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md) ←
[OrientationBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.OrientationBase.md)

#### Derived

[OrientationEulerAngle](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.OrientationEulerAngle.md),
[OrientationLink](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.OrientationLink.md),
[OrientationMatrix](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.OrientationMatrix.md),
[OrientationOneDirection](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.OrientationOneDirection.md),
[OrientationThreePoints](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.OrientationThreePoints.md),
[OrientationTwoDirections](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.OrientationTwoDirections.md)

#### Implements

IObservableObject,
IDisposableObject,
ILinkable,
[ILinkContainerEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ILinkContainerEvent.md),
[IVerifiable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.IVerifiable.md),
IExpression,
IOrientationBase,
IObject,
ILinkContainer,
IOwned,
IHasID,
IEventProvider,
IHasReplaceableEntity

#### Inherited Members

[Expression.g\_bSkipUpdate](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_g_bSkipUpdate),
[Expression.m\_pExpressionHandler](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_m_pExpressionHandler),
[Expression.m\_strValue](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_m_strValue),
[Expression.m\_dicReferenceObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_m_dicReferenceObject),
[Expression.m\_lstReferenceObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_m_lstReferenceObject),
[Expression.m\_linkCollectionReferenceObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_m_linkCollectionReferenceObject),
[Expression.Initialize()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_Initialize),
[Expression.UpdateByReferenceObject(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_UpdateByReferenceObject_System_Object_VM_Managed_LinkEventArgs_),
[Expression.AddReferenceObject(UIntPtr)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_AddReferenceObject_System_UIntPtr_),
[Expression.CheckReferenceObject()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_CheckReferenceObject),
[Expression.SetDefaultString(ref string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_SetDefaultString_System_String__),
[Expression.ConvertToValue(string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_ConvertToValue_System_String_),
[Expression.ParseToValue(char\*)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_ParseToValue_System_Char__),
[Expression.GetNumericValue()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_GetNumericValue),
[Expression.OnDeserialization(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_OnDeserialization_System_Object_),
[Expression.Uninitialize()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_Uninitialize),
[Expression.String](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Expression.md#VM_Managed_Expression_String),
[LinkContainer.SetModified()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SetModified),
[LinkContainer.raise\_OnUpdating(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnUpdating_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnUpdate(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnUpdate_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnDestroying(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnDestroying_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnDestroy(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnDestroy_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.raise\_OnAdded(object, AddToDocEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnAdded_System_Object_VM_Managed_AddToDocEventArgs_),
[LinkContainer.raise\_OnRemoved(object, RemoveFromDocEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_raise_OnRemoved_System_Object_VM_Managed_RemoveFromDocEventArgs_),
[LinkContainer.GetTargetListForUpdate()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_GetTargetListForUpdate),
[LinkContainer.SkipUpdateObjectImpl()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SkipUpdateObjectImpl),
[LinkContainer.Initialize(Unit.ConvertFactor)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Initialize_VM_Unit_ConvertFactor_),
[LinkContainer.SetFlagWhenXMLFile(string, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SetFlagWhenXMLFile_System_String_System_Boolean_),
[LinkContainer.IsSerializableEvent(Delegate)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_IsSerializableEvent_System_Delegate_),
[LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_CustomGetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_),
[LinkContainer.GetSerializedData(SerializationInfo, StreamingContext)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_GetSerializedData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_),
[LinkContainer.LinkRequestUpdating(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkRequestUpdating_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.LinkRequestUpdate(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkRequestUpdate_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.LinkRequestDestroying(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkRequestDestroying_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.LinkRequestDestroy(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkRequestDestroy_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkAddedToDocument_System_Object_VM_Managed_AddToDocEventArgs_),
[LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_LinkRemovedFromDocument_System_Object_VM_Managed_RemoveFromDocEventArgs_),
[LinkContainer.OnLinkReserved(ILink, object, EventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnLinkReserved_VM_Managed_ILink_System_Object_System_EventArgs_),
[LinkContainer.CanBeDestroy(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_CanBeDestroy_System_Object_),
[LinkContainer.DisposeManagedResources()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_DisposeManagedResources),
[LinkContainer.SetContainer(IOwned, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_SetContainer_VM_Models_Pre_IOwned_System_Boolean_),
[LinkContainer.OnChildUpdated(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnChildUpdated_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.OnContainerDestroy(object, LinkEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnContainerDestroy_System_Object_VM_Managed_LinkEventArgs_),
[LinkContainer.OnDeserialization(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnDeserialization_System_Object_),
[LinkContainer.Verify(VerifiedResult)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Verify_VM_Managed_VerifiedResult_),
[LinkContainer.GetCopy(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_GetCopy_System_Object_),
[LinkContainer.Dispose(bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Dispose_System_Boolean_),
[LinkContainer.ClearChildInfoBeforeDeserialize](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_ClearChildInfoBeforeDeserialize),
[LinkContainer.Container](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Container),
[LinkContainer.Owner](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Owner),
[LinkContainer.Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_Document),
[LinkContainer.ID](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_ID),
[LinkContainer.IsChildExternable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_IsChildExternable),
[LinkContainer.IsExternable](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_IsExternable),
[LinkContainer.OnRemoved](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnRemoved),
[LinkContainer.OnAdded](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnAdded),
[LinkContainer.OnDestroy](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnDestroy),
[LinkContainer.OnDestroying](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnDestroying),
[LinkContainer.OnUpdate](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnUpdate),
[LinkContainer.OnUpdating](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkContainer.md#VM_Managed_LinkContainer_OnUpdating),
[LinkableBase.OnDeserialization(object)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs),
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/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/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/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### OrientationBase(string)

Initializes a new instance of the [OrientationBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.OrientationBase.md) class.

```csharp theme={null}
public OrientationBase(string strValue)
```

#### Parameters

`strValue` string

The value of Variable(string type).

### OrientationBase()

Initializes a new instance of the [OrientationBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.OrientationBase.md) class.

```csharp theme={null}
public OrientationBase()
```

## Properties

### AngleType

Gets the specifies angle type.

```csharp theme={null}
public virtual AngleTypes AngleType { get; }
```

#### Property Value

AngleTypes

### IsParameterized

Gets the parametric.

```csharp theme={null}
public virtual bool IsParameterized { get; }
```

#### Property Value

bool

### RotationAngles

Gets the list of ration angles.

```csharp theme={null}
public virtual double[] RotationAngles { get; }
```

#### Property Value

double\[]

### RotationAxis

Gets the rotation axes type.

```csharp theme={null}
public virtual RotationAxes RotationAxis { get; }
```

#### Property Value

RotationAxes

### RotationType

Gets the specifies rotation type.

```csharp theme={null}
public virtual RotationTypes RotationType { get; }
```

#### Property Value

RotationTypes

### UseExpression

Gets the UseExpression.

```csharp theme={null}
public bool UseExpression { get; }
```

#### Property Value

bool

### Value

Gets the information of orientation(OMatrix type).

```csharp theme={null}
public virtual OMatrix Value { get; set; }
```

#### Property Value

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

### ValueImpl

Get the VectorBase(x, y, z).

```csharp theme={null}
virtual OMatrix ValueImpl { get; }
```

#### Property Value

OMatrix

## Methods

### GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface,
you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic)
from this method, and instead, if specifying a custom schema is required,
apply the XmlSchemaProviderAttribute to the class.

```csharp theme={null}
public virtual XmlSchema GetSchema()
```

#### Returns

XmlSchema

### HasReplaceableEntity(IObjectBase)

Gets a value indicating whether this instance has replacable entity.

```csharp theme={null}
public virtual bool HasReplaceableEntity(IObjectBase oldObject)
```

#### Parameters

`oldObject` IObjectBase

The old object

#### Returns

bool

if this instance has replacable entity, the result is true.

### IsParametric()

Gets parametric.

```csharp theme={null}
public virtual bool IsParametric()
```

#### Returns

bool

If set to `true` is parametric; otherwise, `false` is none parametric.

### IsParametric(string)

Gets parametric.

```csharp theme={null}
public static bool IsParametric(string strType)
```

#### Parameters

`strType` string

Orientation picking type.

#### Returns

bool

If set to `true` is parametric; otherwise, `false` is none parametric.

### ReadXml(XmlReader)

Generates an object from its XML representation.

```csharp theme={null}
public virtual void ReadXml(XmlReader reader)
```

#### Parameters

`reader` XmlReader

The XmlReader stream from which the object is deserialized.

### ReplaceEntity(IObjectBase, IObjectBase)

Replace Entity

```csharp theme={null}
public virtual bool ReplaceEntity(IObjectBase oldObject, IObjectBase newObject)
```

#### Parameters

`oldObject` IObjectBase

The old object

`newObject` IObjectBase

The new object

#### Returns

bool

if success, the result is true.

### WriteRotationAnglesToXml(XmlWriter)

Converts an object into its XML representation about rotation angles.

```csharp theme={null}
protected void WriteRotationAnglesToXml(XmlWriter writer)
```

#### Parameters

`writer` XmlWriter

The XmlWriter stream to which the object is serialized about rotation angles.

### WriteXml(XmlWriter)

Converts an object into its XML representation.

```csharp theme={null}
public virtual void WriteXml(XmlWriter writer)
```

#### Parameters

`writer` XmlWriter

The XmlWriter stream to which the object is serialized.
