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

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 class is to represent the range

```csharp theme={null}
public class Range : SubEntity, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IPointRegion, IRegion, IConnectable, IMarkerParent, IEntityRelation, IHasBody, IDraw, ITransformable, IReferencable, IMultiChangable
```

#### Inheritance

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

#### Implements

IObservableObject,
IDisposableObject,
ILinkable,
ILinkContainerEvent,
IVerifiable,
IHistoryObjectSerializable,
IAttributeContainer,
ISubEntity,
IEntityBase,
IObjectBase,
IObject,
ILinkContainer,
IOwned,
IHasID,
IEventProvider,
IHasKeyObject,
IHasName,
IEnabled,
IHasComment,
INamed,
INavigatorItem,
[IPointRegion](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.IPointRegion.md),
[IRegion](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.IRegion.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,
IDraw,
ITransformable,
IReferencable,
IMultiChangable

#### Inherited Members

SubEntity.Initialize(Unit.ConvertFactor),
SubEntity.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool),
SubEntity.FixUp(ObjectBase),
SubEntity.WriteTemplateImpl(XmlWriter),
SubEntity.ReadTemplateImpl(XmlReader),
SubEntity.Name,
SubEntity.FullName,
SubEntity.NonSymmetricName,
SubEntity.DisplayName,
SubEntity.IsEnabled,
SubEntity.Comment,
Object\<ObjectEventCore>.GetKey(),
Object\<ObjectEventCore>.Initialize(Unit.ConvertFactor),
Object\<ObjectEventCore>.SetIconColor(Canvas),
Object\<ObjectEventCore>.OnDeserialization(object),
Object\<ObjectEventCore>.CustomGetObjectData(SerializationInfo, StreamingContext),
Object\<ObjectEventCore>.RollbackEvent(),
Object\<ObjectEventCore>.OnDeserializedCore(object),
Object\<ObjectEventCore>.Key,
Object\<ObjectEventCore>.UntypedEventCore,
Object\<ObjectEventCore>.EventCore,
Object\<ObjectEventCore>.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

### Range()

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

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

### Range(string)

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

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

#### Parameters

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

Name of the sub entity.

## Properties

### AnalysisType

Gets the analysis type of the parent body.

```csharp theme={null}
public BodyAnalysisType AnalysisType { get; }
```

#### Property Value

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

### Body

Gets the body.

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

#### Property Value

IBody

### Center

Gets the center position of the object.

```csharp theme={null}
public TMatrix Center { get; }
```

#### Property Value

TMatrix

### Connectable

Gets the connectable.

```csharp theme={null}
public IConnectable Connectable { get; }
```

#### Property Value

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

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

### Hide

Gets or sets a value indicating whether this instance is hide.

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

#### Property Value

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

### ParentBody

Gets or sets the parent body.

```csharp theme={null}
public ObjectBase ParentBody { get; set; }
```

#### Property Value

ObjectBase

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

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

### Shape

Gets or sets the Shape.

```csharp theme={null}
public RangeShape Shape { get; set; }
```

#### Property Value

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

### Type

Gets the type.

```csharp theme={null}
public RegionType Type { get; }
```

#### Property Value

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

#### Exceptions

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

## Methods

### Draw(Canvas)

draw

```csharp theme={null}
public void Draw(Canvas canvas)
```

#### Parameters

`canvas` Canvas

The canvas.

### GetCirclePatchPointOnFace(VectorBase, VectorBase, double, VectorBase\[])

Gets the circle patch point on face.

```csharp theme={null}
public static void GetCirclePatchPointOnFace(VectorBase vCenterPoint, VectorBase vecNormal, double dRange, VectorBase[] arPatchPoint)
```

#### Parameters

`vCenterPoint` VectorBase

The v center point.

`vecNormal` VectorBase

The vec normal.

`dRange` [double](https://learn.microsoft.com/dotnet/api/system.double)

The d range.

`arPatchPoint` VectorBase\[]

The ar patch point.

### GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)

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

```csharp theme={null}
protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlEle, bool bHasChild)
```

#### Parameters

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

The XmlDocument for object.

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

The XmlElement for object.

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

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

#### Returns

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

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

### GetPoints()

Gets the circle patch point on face.

```csharp theme={null}
public Vector[] GetPoints()
```

#### Returns

Vector\[]

### GetTargetListForUpdate()

Gets the target list for update.

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

#### Returns

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

### LinkAddedToDocument(object, AddToDocEventArgs)

Add linked object to a document.

```csharp theme={null}
protected override void LinkAddedToDocument(object objNotifier, AddToDocEventArgs arg)
```

#### Parameters

`objNotifier` [object](https://learn.microsoft.com/dotnet/api/system.object)

The linked object.

`arg` AddToDocEventArgs

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

### LinkRequestUpdate(object, LinkEventArgs)

Links the request Update.

```csharp theme={null}
protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
```

#### Parameters

`objNotifier` [object](https://learn.microsoft.com/dotnet/api/system.object)

`arg` LinkEventArgs

### SetOldNameWithNewEntity(ObjectBase, ObjectBase)

Change for the new name.

```csharp theme={null}
public override sealed void SetOldNameWithNewEntity(ObjectBase obNew, ObjectBase obOld)
```

#### Parameters

`obNew` ObjectBase

The new object.

`obOld` ObjectBase

The old object.
