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

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 general entity picker.

```csharp theme={null}
public abstract class PickerGeneral : 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) ←
[PickerGeneral](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Picker.Core.PickerGeneral.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

### PickerGeneral(ICollection\<Type>)

```csharp theme={null}
public PickerGeneral(ICollection<Type> arTypes)
```

#### Parameters

`arTypes` [ICollection](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1)\<[Type](https://learn.microsoft.com/dotnet/api/system.type)>

### PickerGeneral(Type, bool)

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

```csharp theme={null}
public PickerGeneral(Type type, bool bIsInterface)
```

#### Parameters

`type` [Type](https://learn.microsoft.com/dotnet/api/system.type)

The type of entity for pick.

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

Whether interface or not.

## Properties

### AllowChildSubsystem

Get the flag of picking the reference objects.

```csharp theme={null}
public bool AllowChildSubsystem { get; set; }
```

#### Property Value

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

### PickableTypes

Get array of pickable type.

```csharp theme={null}
public Type[] PickableTypes { get; }
```

#### Property Value

[Type](https://learn.microsoft.com/dotnet/api/system.type)\[]

## Methods

### ConvertKeyToInstanceContainerImpl(ObjectBase)

```csharp theme={null}
protected abstract UIntPtr ConvertKeyToInstanceContainerImpl(ObjectBase obj)
```

#### Parameters

`obj` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.md)

#### Returns

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

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

### GetBodyImpl(UIntPtr, bool)

```csharp theme={null}
protected abstract ObjectBase GetBodyImpl(UIntPtr pKey, bool bIgnoreMarker)
```

#### Parameters

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

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

#### Returns

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

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

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

### HighlightCurveset(ObjectBase, bool)

```csharp theme={null}
protected void HighlightCurveset(ObjectBase obj, bool bHighlight)
```

#### Parameters

`obj` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.md)

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

### HighlightFaceset(ObjectBase, bool)

```csharp theme={null}
protected void HighlightFaceset(ObjectBase obj, bool bHighlight)
```

#### Parameters

`obj` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.md)

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

### HighlightGeometry(ObjectBase, bool)

```csharp theme={null}
protected void HighlightGeometry(ObjectBase obj, bool bHighlight)
```

#### Parameters

`obj` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.md)

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

### HighlightImpl(ObjectBase, bool)

```csharp theme={null}
protected abstract bool HighlightImpl(ObjectBase obj, bool bHighlight)
```

#### Parameters

`obj` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.md)

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

#### Returns

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

### HighlightInstanceContainer(ObjectBase, bool)

```csharp theme={null}
protected void HighlightInstanceContainer(ObjectBase obj, bool bHighlight)
```

#### Parameters

`obj` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.md)

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

### HighlightOpenDesigner(ObjectBase, bool)

```csharp theme={null}
protected void HighlightOpenDesigner(ObjectBase obj, bool bHighlight)
```

#### Parameters

`obj` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.md)

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

### HighlightReferenceFaceset(ObjectBase, bool, bool)

```csharp theme={null}
protected void HighlightReferenceFaceset(ObjectBase obj, bool bHighlight, bool bUpdate)
```

#### Parameters

`obj` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.md)

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

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

### IsAcceptedPickAndModifiedTargetObject(ref ObjectBase)

Picked object should be include setted interface.

```csharp theme={null}
public bool IsAcceptedPickAndModifiedTargetObject(ref ObjectBase obj)
```

#### Parameters

`obj` [ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.md)

The picked object.

#### Returns

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

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

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