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

# Interface IChainedSegmentInfo

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

This interface is the gateway that get or set ChainedSegment data.

```csharp theme={null}
public interface IChainedSegmentInfo
```

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

## Methods

### Clear\_Connectors()

Remove all objects.

```csharp theme={null}
void Clear_Connectors()
```

### Clear\_Contacts()

Remove all objects.

```csharp theme={null}
void Clear_Contacts()
```

### Clear\_Transforms()

Remove all objects.

```csharp theme={null}
void Clear_Transforms()
```

### GetConnectors()

Gets the array of connectors.

```csharp theme={null}
ObjectBase[] GetConnectors()
```

#### Returns

ObjectBase\[]

The array of connectors(Body,NodeSet,FaceSet,PatchSet).

### GetGeometryReference()

Gets the geomerty reference.

```csharp theme={null}
ObjectBase GetGeometryReference()
```

#### Returns

ObjectBase

The geometry reference.

### GetListContact()

Gets the array of contact geometry.

```csharp theme={null}
ObjectBase[] GetListContact()
```

#### Returns

ObjectBase\[]

The array of contact geometry(FaceSet,PatchSet).

### GetSegmentHeight1()

Gets the segment height1.

```csharp theme={null}
Variable GetSegmentHeight1()
```

#### Returns

Variable

The segment height1.

### GetSegmentHeight2()

Gets the segment height2.

```csharp theme={null}
Variable GetSegmentHeight2()
```

#### Returns

Variable

The segment height2.

### GetSegmentLength()

Gets the segment length.

```csharp theme={null}
Variable GetSegmentLength()
```

#### Returns

Variable

The segment length.

### GetTransforms()

Gets the array of transforms.

```csharp theme={null}
ObjectBase[] GetTransforms()
```

#### Returns

ObjectBase\[]

The array of transform(DesignFrame,Marker).

### Get\_WorkPlane()

Get work plane.

```csharp theme={null}
Plane Get_WorkPlane()
```

#### Returns

Plane

The plane

### SetConnector(ObjectBase)

Sets the connector of chained system.

```csharp theme={null}
bool SetConnector(ObjectBase connector)
```

#### Parameters

`connector` ObjectBase

The object(Body,NodeSet,FaceSet,PatchSet).

#### Returns

bool

`true` if the specified [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md) is equal to [IChainedSegmentConnector](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.IChainedSegmentConnector.md); otherwise, `false`

### SetConnectors(ObjectBase\[])

Sets the array of connectors.

```csharp theme={null}
bool SetConnectors(ObjectBase[] _lstconnectors)
```

#### Parameters

`_lstconnectors` ObjectBase\[]

The array of connectors(Body,NodeSet,FaceSet,PatchSet).

#### Returns

bool

`true` if the specified [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md) is equal to [IChainedSegmentConnector](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.IChainedSegmentConnector.md); otherwise, `false`

### SetContact(ObjectBase)

Sets the contact geometry.

```csharp theme={null}
bool SetContact(ObjectBase contact)
```

#### Parameters

`contact` ObjectBase

The contact geometry(FaceSet,PatchSet).

#### Returns

bool

`true` if the specified [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md) include the following property [IChainedSegmentContact](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.IChainedSegmentContact.md) ; otherwise, `false`

### SetGeometryReference(ObjectBase)

Sets the geomerty reference.

```csharp theme={null}
bool SetGeometryReference(ObjectBase _geometryreference)
```

#### Parameters

`_geometryreference` ObjectBase

The geometry reference

#### Returns

bool

`true` if the specified [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md) include the following property [DesignFrame](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DesignFrame.md) or [ReferenceDesignFrame](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ReferenceDesignFrame.md); otherwise, `false`

### SetListContact(ObjectBase\[])

Sets the array of contact geometry.

```csharp theme={null}
bool SetListContact(ObjectBase[] _lstcontact)
```

#### Parameters

`_lstcontact` ObjectBase\[]

The array of contact geometry(FaceSet,PatchSet).

#### Returns

bool

### SetSegmentHeight1(Variable)

Sets the segment height1.

```csharp theme={null}
void SetSegmentHeight1(Variable _segmentheight1)
```

#### Parameters

`_segmentheight1` Variable

The segment height1.

### SetSegmentHeight2(Variable)

Sets the segment height2.

```csharp theme={null}
void SetSegmentHeight2(Variable _segmentheight2)
```

#### Parameters

`_segmentheight2` Variable

The segment height2.

### SetSegmentLength(Variable)

Sets the segment length.

```csharp theme={null}
void SetSegmentLength(Variable _segmentlength)
```

#### Parameters

`_segmentlength` Variable

The segment length

### SetTransform(ObjectBase)

Sets the transform.

```csharp theme={null}
bool SetTransform(ObjectBase transform)
```

#### Parameters

`transform` ObjectBase

the transform(DesignFrame, Marker)

#### Returns

bool

`true` if the specified [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md) include the following property [DesignFrame](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DesignFrame.md) or [ReferenceDesignFrame](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ReferenceDesignFrame.md); otherwise, `false`

### SetTransforms(ObjectBase\[])

Sets the array of transforms

```csharp theme={null}
bool SetTransforms(ObjectBase[] _lsttransforms)
```

#### Parameters

`_lsttransforms` ObjectBase\[]

The array of transforms(DesignFrame,Marker).

#### Returns

bool

`true` if the specified [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md) include the following property [DesignFrame](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DesignFrame.md) or [ReferenceDesignFrame](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ReferenceDesignFrame.md); otherwise, `false`
