IiPartRowChangerFindRow 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: 23.0
Syntax Function FindRow (
componentName As Object,
ParamArray sizeArgs As Object()
) As Integer
int FindRow(
Object componentName,
params Object[] sizeArgs
)
Parameters
- componentName
- Type: SystemObject
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: SystemObject
A list of column header names, operators, and values, e.g. "Dia", "=", 0.5, "Length", "=", 2.0.
Return Value
Type:
Int32If a matching row is found, the row index is returned. If not, a value of -1 will be returned.
See Also