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

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

The utility class to find the reference objects.

```csharp theme={null}
public class ReferenceFinder
```

#### Inheritance

object ←
[ReferenceFinder](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Operation.Util.ReferenceFinder.md)

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

### ReferenceFinder()

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

## Methods

### FindReferenceConnectable(InstanceContainer, IConnectable)

To find reference connectable from the instance container.

```csharp theme={null}
public static ReferenceConnectable FindReferenceConnectable(InstanceContainer container, IConnectable prototype)
```

#### Parameters

`container` [InstanceContainer](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/InstanceContainer.cs)

To find from the instance container.

`prototype` IConnectable

The prototype of reference connectable.

#### Returns

[ReferenceConnectable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/ReferenceConnectable.cs)

The reference connectable.

### FindReferenceConnectableFromAllSubsystem(Document3D, ref List\<ReferenceConnectable>)

To find reference connectable from subsystem.

```csharp theme={null}
public static void FindReferenceConnectableFromAllSubsystem(Document3D activeDocument, ref List<ReferenceConnectable> lstReferenceConnectable)
```

#### Parameters

`activeDocument` Document3D

The active document.

`lstReferenceConnectable` List\<[ReferenceConnectable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/ReferenceConnectable.cs)>

The reference connectables.

### FindReferenceContactable(InstanceContainer, IContactable)

To find reference contactable(rigid 3D) from the instance container.

```csharp theme={null}
public static IContactableRigid3D FindReferenceContactable(InstanceContainer container, IContactable prototype)
```

#### Parameters

`container` [InstanceContainer](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/InstanceContainer.cs)

To find from the instance container.

`prototype` IContactable

The prototype of reference contactable.

#### Returns

IContactableRigid3D

The reference contactable.

### FindReferenceDesignFrameFromAllSubsystem(Document3D, ref List\<ReferenceDesignFrame>)

Finds the Reference design frame from all subsystem.

```csharp theme={null}
public static void FindReferenceDesignFrameFromAllSubsystem(Document3D activeDocument, ref List<ReferenceDesignFrame> lstReferenceDF)
```

#### Parameters

`activeDocument` Document3D

The active document.

`lstReferenceDF` List\<[ReferenceDesignFrame](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/ReferenceDesignFrame.cs)>

The reference design frames.

### FindReferenceDesignPoint(InstanceContainer, DesignPoint)

To find reference design point from the instance container.

```csharp theme={null}
public static ReferenceDesignPoint FindReferenceDesignPoint(InstanceContainer container, DesignPoint prototype)
```

#### Parameters

`container` [InstanceContainer](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/InstanceContainer.cs)

To find from the instance container.

`prototype` [DesignPoint](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/DesignPoint.cs)

The prototype of reference connectable.

#### Returns

[ReferenceDesignPoint](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/ReferenceDesignPoint.cs)

The reference connectable.

### FindReferenceDesignPointFromAllSubsystem(Document3D, ref List\<ReferenceDesignPoint>)

Finds the Reference design point from all subsystem.

```csharp theme={null}
public static void FindReferenceDesignPointFromAllSubsystem(Document3D activeDocument, ref List<ReferenceDesignPoint> lstReferenceDP)
```

#### Parameters

`activeDocument` Document3D

The active document.

`lstReferenceDP` List\<[ReferenceDesignPoint](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/ReferenceDesignPoint.cs)>

The reference design points.

### FindReferenceDesignVariableFromAllSubsystem(Document3D, ref List\<ReferenceDesignVariable>)

To find reference design variable from subsystem.

```csharp theme={null}
public static void FindReferenceDesignVariableFromAllSubsystem(Document3D activeDocument, ref List<ReferenceDesignVariable> lstReferenceDV)
```

#### Parameters

`activeDocument` Document3D

The active document.

`lstReferenceDV` List\<[ReferenceDesignVariable](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMObjBase/ReferenceDesignVariable.cs)>

The reference design variables.
