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

Namespace: [VM.Models.Pre.Force](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Force)\
Assembly: VM.Models.Pre.Force.dll

This class is to represent the Shackle.

```csharp theme={null}
public class Shackle : LinkContainer, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
ObservableObject ←
LinkableBase ←
LinkContainer ←
[Shackle](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Force.Shackle.md)

#### Implements

IObservableObject,
IDisposableObject,
ILinkable,
IObject,
ILinkContainer,
IOwned,
IHasID,
IEventProvider,
ILinkContainerEvent,
IVerifiable

#### Inherited Members

LinkContainer.SetModified(),
LinkContainer.raise\_OnUpdating(object, LinkEventArgs),
LinkContainer.raise\_OnUpdate(object, LinkEventArgs),
LinkContainer.raise\_OnDestroying(object, LinkEventArgs),
LinkContainer.raise\_OnDestroy(object, LinkEventArgs),
LinkContainer.raise\_OnAdded(object, AddToDocEventArgs),
LinkContainer.raise\_OnRemoved(object, RemoveFromDocEventArgs),
LinkContainer.GetTargetListForUpdate(),
LinkContainer.SkipUpdateObjectImpl(),
LinkContainer.Initialize(Unit.ConvertFactor),
LinkContainer.SetFlagWhenXMLFile(string, bool),
LinkContainer.IsSerializableEvent(Delegate),
LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext),
LinkContainer.GetSerializedData(SerializationInfo, StreamingContext),
LinkContainer.LinkRequestUpdating(object, LinkEventArgs),
LinkContainer.LinkRequestUpdate(object, LinkEventArgs),
LinkContainer.LinkRequestDestroying(object, LinkEventArgs),
LinkContainer.LinkRequestDestroy(object, LinkEventArgs),
LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs),
LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs),
LinkContainer.OnLinkReserved(ILink, object, EventArgs),
LinkContainer.CanBeDestroy(object),
LinkContainer.DisposeManagedResources(),
LinkContainer.SetContainer(IOwned, bool),
LinkContainer.OnChildUpdated(object, LinkEventArgs),
LinkContainer.OnContainerDestroy(object, LinkEventArgs),
LinkContainer.OnDeserialization(object),
LinkContainer.Verify(VerifiedResult),
LinkContainer.GetCopy(object),
LinkContainer.Dispose(bool),
LinkContainer.ClearChildInfoBeforeDeserialize,
LinkContainer.Container,
LinkContainer.Owner,
LinkContainer.Document,
LinkContainer.ID,
LinkContainer.IsChildExternable,
LinkContainer.IsExternable,
LinkContainer.OnRemoved,
LinkContainer.OnAdded,
LinkContainer.OnDestroy,
LinkContainer.OnDestroying,
LinkContainer.OnUpdate,
LinkContainer.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-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

### Shackle()

Initializes a new instance of the [Shackle](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Force.Shackle.md) class.

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

## Properties

### ConnectionType

Gets or sets the connection type.

```csharp theme={null}
public ConnectionType ConnectionType { get; set; }
```

#### Property Value

[ConnectionType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Force.ConnectionType.md)

### ConnectorProperty

Gets or sets the connector property.

```csharp theme={null}
public PropertyBush ConnectorProperty { get; set; }
```

#### Property Value

PropertyBush

### Length

Gets the length.

```csharp theme={null}
public double Length { get; set; }
```

#### Property Value

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

### Location

Gets the location.

```csharp theme={null}
public ShackleLocationType Location { get; set; }
```

#### Property Value

ShackleLocationType

### MassProperty

Gets or sets the mass property.

```csharp theme={null}
public ShackleMass MassProperty { get; set; }
```

#### Property Value

[ShackleMass](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Force.ShackleMass.md)

### OffsetX

Gets the offset X to eye.

```csharp theme={null}
public double OffsetX { get; set; }
```

#### Property Value

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

### OuterRadius

Gets or sets the outer radius.

```csharp theme={null}
public ExpressionValueVariable OuterRadius { get; set; }
```

#### Property Value

ExpressionValueVariable

### PinRadius

Gets or sets the pin radius.

```csharp theme={null}
public ExpressionValueVariable PinRadius { get; set; }
```

#### Property Value

ExpressionValueVariable

### PositioningType

Gets the positioning type.

```csharp theme={null}
public ShacklePositonType PositioningType { get; set; }
```

#### Property Value

ShacklePositonType

### ShackleToFramePosition

Gets the shackle to frame position.

```csharp theme={null}
public (double X, double Z) ShackleToFramePosition { get; set; }
```

#### Property Value

([double](https://learn.microsoft.com/dotnet/api/system.double) [X](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.x), [double](https://learn.microsoft.com/dotnet/api/system.double) [Z](https://learn.microsoft.com/dotnet/api/system.valuetuple-system.double,system.double-.z))

## Methods

### GetEyeHolePosition(Eye, double, TMatrix?)

Get the top, bottom position of the cylindrical eye hole body.

```csharp theme={null}
public static (Vector Top, Vector Bottom) GetEyeHolePosition(Eye eye, double mainLeafWidth, TMatrix? repositionMatrix = null)
```

#### Parameters

`eye` [Eye](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Force.Eye.md)

The eye.

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

The main leaf width.

`repositionMatrix` TMatrix?

The reposition matrix.

#### Returns

(Vector [Top](https://learn.microsoft.com/dotnet/api/system.valuetuple-vm.vector,vm.vector-.top), Vector [Bottom](https://learn.microsoft.com/dotnet/api/system.valuetuple-vm.vector,vm.vector-.bottom))

The top, bottom position

### GetShackleHolePosition(Vector, double, TMatrix?)

Get the top, bottom position of the cylindrical shackle hole body.

```csharp theme={null}
public static (Vector Top, Vector Bottom) GetShackleHolePosition(Vector centerPosition, double mainLeafWidth, TMatrix? repositionMatrix = null)
```

#### Parameters

`centerPosition` Vector

The center position

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

The main leaf width.

`repositionMatrix` TMatrix?

The reposition matrix.

#### Returns

(Vector [Top](https://learn.microsoft.com/dotnet/api/system.valuetuple-vm.vector,vm.vector-.top), Vector [Bottom](https://learn.microsoft.com/dotnet/api/system.valuetuple-vm.vector,vm.vector-.bottom))

The top, bottom position

### GetShackleHolePosition(double, TMatrix?)

Get the top, bottom position of the cylindrical shackle hole body.

```csharp theme={null}
public (Vector Top, Vector Bottom) GetShackleHolePosition(double mainLeafWidth, TMatrix? repositionMatrix = null)
```

#### Parameters

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

The main leaf width.

`repositionMatrix` TMatrix?

The reposition matrix.

#### Returns

(Vector [Top](https://learn.microsoft.com/dotnet/api/system.valuetuple-vm.vector,vm.vector-.top), Vector [Bottom](https://learn.microsoft.com/dotnet/api/system.valuetuple-vm.vector,vm.vector-.bottom))

The top, bottom position

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

### InitializeMassProperty()

Initialize mass property.

```csharp theme={null}
public void InitializeMassProperty()
```
