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

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

```csharp theme={null}
public class Distance : Constraint<Distance, PropertyDistance>, ISymmetricUpdater
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
Named\<Distance> ←
Connector\<Distance, PropertyDistance> ←
Constraint\<Distance, PropertyDistance> ←
[Distance](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Symmetric.Constraints.Distance.md)

#### Implements

ISymmetricUpdater

#### Inherited Members

Constraint\<Distance, PropertyDistance>.Update(ObjectBase, ObjectBase, SymmetricType, Plane, Document),
Connector\<Distance, PropertyDistance>.Update(ObjectBase, ObjectBase, SymmetricType, Plane, Document),
Named\<Distance>.Update(ObjectBase, ObjectBase, SymmetricType, Plane, Document),
Named\<Distance>.Initialize(ISymmetricManager),
Named\<Distance>.FindObject(string, SymmetricType, Plane, Document),
Named\<Distance>.SymmetricManager

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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-r1/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-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### Distance()

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

## Methods

### Update(ObjectBase, ObjectBase, SymmetricType, Plane, Document)

Updates the symmetric objects.

```csharp theme={null}
public override bool Update(ObjectBase tool, ObjectBase target, SymmetricType sym_type, Plane sym_plane, Document doc)
```

#### Parameters

`tool` ObjectBase

The reference object.

`target` ObjectBase

The target object.

`sym_type` SymmetricType

Specifies type of symmetric.

`sym_plane` Plane

Plane of symmetric.

`doc` Document

#### Returns

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

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

### UpdateProperty(PropertyDistance, PropertyDistance, SymmetricType, Plane, Document)

```csharp theme={null}
public static bool UpdateProperty(PropertyDistance toolProperty, PropertyDistance targetProperty, SymmetricType sym_type, Plane sym_plane, Document doc)
```

#### Parameters

`toolProperty` PropertyDistance

`targetProperty` PropertyDistance

`sym_type` SymmetricType

`sym_plane` Plane

`doc` Document

#### Returns

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