Skip to main content
Namespace: VM.Managed.Picker.Core
Assembly: VMAppCore.dll
This class is to represent the general entity picker.

Inheritance

object ← PickerBase ← PickerGeneral

Inherited Members

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

PickerGeneral(ICollection<Type>)

Parameters

arTypes ICollection<Type>

PickerGeneral(Type, bool)

Initializes a new instance of the PickerGeneral class

Parameters

type Type The type of entity for pick. bIsInterface bool Whether interface or not.

Properties

AllowChildSubsystem

Get the flag of picking the reference objects.

Property Value

bool

PickableTypes

Get array of pickable type.

Property Value

Type[]

Methods

ConvertKeyToInstanceContainerImpl(ObjectBase)

Parameters

obj ObjectBase

Returns

UIntPtr

Filtering(UIntPtr)

Filtering to not proper object.

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.

Parameters

pOwner UIntPtr Filtering owner of target. pTarget UIntPtr Filtering target.

Returns

bool true if success; otherwise, false.

GetBodyImpl(UIntPtr, bool)

Parameters

pKey UIntPtr bIgnoreMarker bool

Returns

ObjectBase

GetPickerInfo()

Gets information of picking type.

Returns

string

GetResultXmlFromKey(UIntPtr)

Get valid result xml according to picker key of core.

Parameters

key UIntPtr Picking destination key.

Returns

string The valid result xml.

Highlight(bool)

Picking highlight to filtered target.

Parameters

bHighlight bool If set to ture is highlight; otherwise, false isn’t highlight.

HighlightCurveset(ObjectBase, bool)

Parameters

obj ObjectBase bHighlight bool

HighlightFaceset(ObjectBase, bool)

Parameters

obj ObjectBase bHighlight bool

HighlightGeometry(ObjectBase, bool)

Parameters

obj ObjectBase bHighlight bool

HighlightImpl(ObjectBase, bool)

Parameters

obj ObjectBase bHighlight bool

Returns

bool

HighlightInstanceContainer(ObjectBase, bool)

Parameters

obj ObjectBase bHighlight bool

HighlightOpenDesigner(ObjectBase, bool)

Parameters

obj ObjectBase bHighlight bool

HighlightReferenceFaceset(ObjectBase, bool, bool)

Parameters

obj ObjectBase bHighlight bool bUpdate bool

IsAcceptedPickAndModifiedTargetObject(ref ObjectBase)

Picked object should be include setted interface.

Parameters

obj ObjectBase The picked object.

Returns

bool true if accepted; otherwise, false.

SetResultImpl(ref string, bool)

Sets the result for picking.

Parameters

strXml string The picked data. bXmlOnly bool If it is true, skip the result setting.

Returns

bool true if success; otherwise, false.