Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class PickerMultiGeneral

Last update: 16.07.2025

Namespace: VM.Managed.Picker.Core
Assembly: VMAppCore.dll

This class is to represent the general multi entity picker.

public abstract class PickerMultiGeneral : PickerMulti

Inheritance

object ← PickerBase ← PickerMulti ← PickerMultiGeneral

Inherited Members

PickerMulti.SetHighlight(List<UIntPtr>, bool, bool), PickerMulti.GetResultXmlFromKey(UIntPtr[]), PickerBase.raise_CustomFilterEvent(object, FilterArgs), PickerBase.Pick(bool), PickerBase.PickWithStartSignal(bool, ManualResetEvent), PickerBase.Abort(), PickerBase.GetPickerInfo(), PickerBase.GetValidResultXml(string), PickerBase.GetResultXmlFromKey(UIntPtr), PickerBase.GetChangeNoneParametricXml(string), PickerBase.Filtering(UIntPtr), PickerBase.FilteringVMPID(_VM_ID), PickerBase.FilteringAnother(UIntPtr), PickerBase.FilteringReference(UIntPtr, UIntPtr), PickerBase.Highlight(bool), PickerBase.GetAdjacentPatch(double, List<int>), PickerBase.UseEntityFiltering(), PickerBase.SetResultImpl(ref string, bool), PickerBase.UpdateDisplay(), PickerBase.ActiveDocument, PickerBase.IsOnlyResultXml, PickerBase.IsReference, PickerBase.SymmetricType, PickerBase.ResultXml, PickerBase.Result, PickerBase.CustomFilterEvent

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

PickerMultiGeneral(Type[])

public PickerMultiGeneral(Type[] arTypes)

Parameters

arTypes Type[]

PickerMultiGeneral(Type, bool)

public PickerMultiGeneral(Type type, bool bIsInterface)

Parameters

type Type

bIsInterface bool

Properties

AllowChildSubsystem

Get the flag of picking the reference objects.

public bool AllowChildSubsystem { get; set; }

Property Value

bool

PickableTypes

Get array of pickable type.

public Type[] PickableTypes { get; }

Property Value

Type[]

Methods

ConvertKeyToInstanceContainerImpl(ObjectBase)

protected abstract UIntPtr ConvertKeyToInstanceContainerImpl(ObjectBase obj)

Parameters

obj ObjectBase

Returns

UIntPtr

Filtering(UIntPtr)

Filtering to not proper object.

public override bool Filtering(UIntPtr pTarget)

Parameters

pTarget UIntPtr

Filtering target.

Returns

bool

true if success; otherwise, false.

FilteringReference(UIntPtr, UIntPtr)

Filtering to not proper object about special target into owner.

public override bool FilteringReference(UIntPtr pOwner, UIntPtr pTarget)

Parameters

pOwner UIntPtr

Filtering owner of target.

pTarget UIntPtr

Filtering target.

Returns

bool

true if success; otherwise, false.

GetBodyImpl(UIntPtr, bool)

protected abstract ObjectBase GetBodyImpl(UIntPtr pKey, bool bIgnoreMarker)

Parameters

pKey UIntPtr

bIgnoreMarker bool

Returns

ObjectBase

GetPickerInfo()

Gets information of picking type.

public override string GetPickerInfo()

Returns

string

GetResultXmlFromKey(ObjectBase[])

public string GetResultXmlFromKey(ObjectBase[] arResults)

Parameters

arResults ObjectBase[]

Returns

string

GetResultXmlFromKey(UIntPtr[])

Get valid result xml according to picker keys of core.

public override string GetResultXmlFromKey(UIntPtr[] arKey)

Parameters

arKey UIntPtr[]

Returns

string

The valid result xml.

GetResultXmlFromKey(UIntPtr)

Get valid result xml according to picker key of core.

public override string GetResultXmlFromKey(UIntPtr key)

Parameters

key UIntPtr

Picking destination key.

Returns

string

The valid result xml.

HighlightCurveset(ObjectBase, bool)

protected void HighlightCurveset(ObjectBase obj, bool bHighlight)

Parameters

obj ObjectBase

bHighlight bool

HighlightFaceset(ObjectBase, bool)

protected void HighlightFaceset(ObjectBase obj, bool bHighlight)

Parameters

obj ObjectBase

bHighlight bool

HighlightGeometry(ObjectBase, bool)

protected void HighlightGeometry(ObjectBase obj, bool bHighlight)

Parameters

obj ObjectBase

bHighlight bool

HighlightImpl(ObjectBase, bool)

protected abstract bool HighlightImpl(ObjectBase obj, bool bHighlight)

Parameters

obj ObjectBase

bHighlight bool

Returns

bool

HighlightInstanceContainer(ObjectBase, bool)

protected void HighlightInstanceContainer(ObjectBase obj, bool bHighlight)

Parameters

obj ObjectBase

bHighlight bool

HighlightReferenceConnectable(ObjectBase, bool)

protected void HighlightReferenceConnectable(ObjectBase obj, bool bHighlight)

Parameters

obj ObjectBase

bHighlight bool

HighlightReferenceFaceset(ObjectBase, bool, bool)

protected void HighlightReferenceFaceset(ObjectBase obj, bool bHighlight, bool bUpdate)

Parameters

obj ObjectBase

bHighlight bool

bUpdate bool

HighlightSubsystem(ObjectBase, bool)

protected void HighlightSubsystem(ObjectBase obj, bool bHighlight)

Parameters

obj ObjectBase

bHighlight bool

SetHighlight(List<UIntPtr>, bool, bool)

public override void SetHighlight(List<UIntPtr> lstSelectedObject, bool bHighlight, bool bUpdate)

Parameters

lstSelectedObject List<UIntPtr>

bHighlight bool

bUpdate bool

SetResultImpl(ref string, bool)

Sets the result for picking.

protected override bool SetResultImpl(ref string strXml, bool bXmlOnly)

Parameters

strXml string

The picked data.

bXmlOnly bool

If it is true, skip the result setting.

Returns

bool

true if success; otherwise, false.

Connect with Ansys