Click or drag to resize
SoMFVec2dFind Method (SbVec2d, Boolean)

Finds the given targetValue in the array and returns the index of that value.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public int Find(
	SbVec2d targetValue,
	bool addIfNotFound
)

Parameters

targetValue
Type: OIV.InventorSbVec2d
addIfNotFound
Type: SystemBoolean

Return Value

Type: Int32
Remarks

in the array. If the value is not found, -1 is returned. If addIfNotFound is set, then targetValue is added to the end of the array (but -1 is still returned).

See Also