Project: HiCAD Feature Technology

item_id(...)

This function searches a table in the catalogue for any criteria and returns the index of the first entry found.

 

Syntax

item_id('table';('column';'value');('column2';'value2');...)

The first parameter is the internal name of the table to be searched in the catalogue. You get this by right-clicking the desired table in the Catalogue Editor and selecting the entry Change alias name in the context menu. The internal name of the table is then displayed in the Entry field in the dialogue box that appears. You can then close this dialogue by clicking on the Cancel button.

You can also enter as many search filters as you like, but at least one. Search filters consist of a list that consists of the name of the column as a string and the value to be searched for as a number or string. Examples of search filters are:

The brackets are necessary to identify the list and cannot be omitted.

As a return value, this function returns the line number of the first entry that matches all search filters. If there is no matching entry, 0 is returned.

 

Examples


Obsolete: item_id_v(...), item_id_sv(...)

These formulae have been replaced with the newer function item_id, but can still be used.

Feature Parameter Formulas

© Copyright 1994-2021, ISD Software und Systeme GmbH
Version 2601 - HiCAD Feature Technology
Date: 20/10/2021     Language: 1033

> Feedback on this topic

Data protectionTerms and ConditionsCookiesContactLegal notes and Disclaimer