Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class PickerTransform

Last update: 16.07.2025

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

This class is to represent the transform picker.

public class PickerTransform : PickerBase

Inheritance

object ← PickerBase ← PickerTransform

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

PickerTransform()

Initializes a new instance of the class

public PickerTransform()

Properties

Result

Gets or sets the object of picking result.

public override object Result { get; }

Property Value

object

Methods

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.

GetChangeNoneParametricXml(string)

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

public override string GetChangeNoneParametricXml(string strXml)

Parameters

strXml string

Result of parametric.

Returns

string

The result xml of none parametric.

GetPickerInfo()

Gets information of picking type.

public override string GetPickerInfo()

Returns

string

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.

GetVaildAcisXml(string)

Get valid result xml of transform data for acis datas.

public string GetVaildAcisXml(string strDesireXml)

Parameters

strDesireXml string

Invalid result xml.

Returns

string

The valid result xml.

GetVaildOnNodeXml(string, VectorBase)

Get valid result xml of transform data for node of mesh. OnNode filter picking - PointAndOrientation type

public string GetVaildOnNodeXml(string strDesireXml, VectorBase vecPosition)

Parameters

strDesireXml string

Invalid result xml.

vecPosition VectorBase

The position of node.

Returns

string

The valid result xml.

GetVaildPointAndOrientationXml(string, string)

Get valid result xml of transform data for point and orientation.

public string GetVaildPointAndOrientationXml(string pointXml, string orientationXml)

Parameters

pointXml string

The result of sub picker of point.

orientationXml string

The result of sub picker of orientation.

Returns

string

The valid result xml.

GetValidLinkXml(string)

Get valid result xml of link. If result have value of delta, the Link is changed LinkDelta. If result have not value of delta, the LinkDelta is changed Link.

public string GetValidLinkXml(string strDesireXml)

Parameters

strDesireXml string

Invalid result xml of link.

Returns

string

The result xml of link.

GetValidResultXml(string)

Get valid result xml according to picker type of core.

public override string GetValidResultXml(string strDesireXml)

Parameters

strDesireXml string

Invalid result xml.

Returns

string

The valid result xml.

GetValidThreePointsXml(string)

Get valid result xml of transform data for three points.

public string GetValidThreePointsXml(string strDesireXml)

Parameters

strDesireXml string

Invalid result xml.

Returns

string

The valid result xml.

Highlight(bool)

Picking highlight to filtered target.

public override void Highlight(bool bHighlight)

Parameters

bHighlight bool

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

ResultDeserialize(string)

public object ResultDeserialize(string strXml)

Parameters

strXml string

Returns

object

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