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

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

This class is to represent the direction picker.

```csharp theme={null}
public class PickerDirection : PickerBase
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[PickerBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md) ←
[PickerDirection](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerDirection.md)

#### Inherited Members

[PickerBase.raise\_CustomFilterEvent(object, FilterArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_raise_CustomFilterEvent_System_Object_VM_Managed_Picker_Core_FilterArgs_),
[PickerBase.Pick(bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_Pick_System_Boolean_),
[PickerBase.PickWithStartSignal(bool, ManualResetEvent)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_PickWithStartSignal_System_Boolean_System_Threading_ManualResetEvent_),
[PickerBase.Abort()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_Abort),
[PickerBase.GetPickerInfo()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_GetPickerInfo),
[PickerBase.GetValidResultXml(string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_GetValidResultXml_System_String_),
[PickerBase.GetResultXmlFromKey(UIntPtr)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_GetResultXmlFromKey_System_UIntPtr_),
[PickerBase.GetChangeNoneParametricXml(string)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_GetChangeNoneParametricXml_System_String_),
[PickerBase.Filtering(UIntPtr)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_Filtering_System_UIntPtr_),
[PickerBase.FilteringVMPID(\_VM\_ID)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_FilteringVMPID__VM_ID_),
[PickerBase.FilteringAnother(UIntPtr)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_FilteringAnother_System_UIntPtr_),
[PickerBase.FilteringReference(UIntPtr, UIntPtr)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_FilteringReference_System_UIntPtr_System_UIntPtr_),
[PickerBase.Highlight(bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_Highlight_System_Boolean_),
[PickerBase.GetAdjacentPatch(double, List\<int>)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_GetAdjacentPatch_System_Double_System_Collections_Generic_List_System_Int32__),
[PickerBase.UseEntityFiltering()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_UseEntityFiltering),
[PickerBase.SetResultImpl(ref string, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_SetResultImpl_System_String__System_Boolean_),
[PickerBase.UpdateDisplay()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_UpdateDisplay),
[PickerBase.ActiveDocument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_ActiveDocument),
[PickerBase.IsOnlyResultXml](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_IsOnlyResultXml),
[PickerBase.IsReference](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_IsReference),
[PickerBase.SymmetricType](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_SymmetricType),
[PickerBase.ResultXml](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_ResultXml),
[PickerBase.Result](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_Result),
[PickerBase.CustomFilterEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerBase.md#VM_Managed_Picker_Core_PickerBase_CustomFilterEvent)

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

### PickerDirection()

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

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

## Properties

### Result

Gets or sets the object of picking result.

```csharp theme={null}
public override object Result { get; }
```

#### Property Value

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

## Methods

### Filtering(UIntPtr)

Filtering to not proper object.

```csharp theme={null}
public override bool Filtering(UIntPtr pTarget)
```

#### Parameters

`pTarget` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

Filtering target.

#### Returns

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

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

### FilteringReference(UIntPtr, UIntPtr)

Filtering to not proper object about special target into owner.

```csharp theme={null}
public override bool FilteringReference(UIntPtr pOwner, UIntPtr pTarget)
```

#### Parameters

`pOwner` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

Filtering owner of target.

`pTarget` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

Filtering target.

#### Returns

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

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

### GetChangeNoneParametricXml(string)

Change to the result of parametric to the result of none parametric.

```csharp theme={null}
public override string GetChangeNoneParametricXml(string strXml)
```

#### Parameters

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

Result of parametric.

#### Returns

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

The result xml of none parametric.

### GetPickerInfo()

Gets information of picking type.

```csharp theme={null}
public override string GetPickerInfo()
```

#### Returns

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

### GetResultXmlFromKey(UIntPtr)

Get valid result xml according to picker key of core.

```csharp theme={null}
public override string GetResultXmlFromKey(UIntPtr key)
```

#### Parameters

`key` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

Picking destination key.

#### Returns

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

The valid result xml.

### GetValidResultXml(string)

Get valid result xml according to picker type of core.

```csharp theme={null}
public override string GetValidResultXml(string strDesireXml)
```

#### Parameters

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

Invalid result xml.

#### Returns

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

The valid result xml.

### Highlight(bool)

Picking highlight to filtered target.

```csharp theme={null}
public override void Highlight(bool bHighlight)
```

#### Parameters

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

If set to `ture` is highlight; otherwise, `false` isn't highlight.

### SetResultImpl(ref string, bool)

Sets the result for picking.

```csharp theme={null}
protected override bool SetResultImpl(ref string strXml, bool bXmlOnly)
```

#### Parameters

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

The picked data.

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

If it is true, skip the result setting.

#### Returns

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

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