Share

IiPartRowChanger.FindRow Method

Finds and selects (activates) a row in the iPart (or iAssembly) table of a component occurrence or a factory.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 29.0

Syntax

VB

Function FindRow ( 
	componentName As Object,
	ParamArray sizeArgs As Object()
) As Integer

C#

int FindRow(
	Object componentName,
	params Object[] sizeArgs
)

Parameters

componentName
Type: System.Object
The component name or path. If this is an empty string, the current document (which must be an iPart or iAssembly factory) will be used.
sizeArgs
Type:  System.Object[]
A list of column header names, operators, and values, e.g. "Dia", "=", 0.5, "Length", "=", 2.0.

Return Value

Type: Int32
If a matching row is found, the row index is returned. If not, a value of -1 will be returned.

See Also

Reference

Was this information helpful?