item_id_v(..), item_id_sv (..)

This formula uses given criteria to find IDs from any HiCAD standard files (IPT files).

Syntax: item_id_v('standard file';'column name';value)

v = value

 

Type of variable

Description

String

Name of the standard file

String

Name of the column (type INT or DBL)

Real

Value searched for (type INT or DBL)

Real

Item ID which describes the part searched for

 

item_id_sv('standard file';'column name 1';'value 1';'column name 2';value 2)

sv = string,value

  Type of variable Description

1st parameter

String

Name of the standard file

2nd parameter

String

Name of the 1st column (type STR)

3rd parameter

Real

Value searched for (type STR)

4th parameter

String

Name of the 2nd column (type INT or DBL)

5th parameter

Real

Value searched for (type INT or DBL)

Return value

Real

Return value item ID, which describes the part searched for

 

Examples:

Influence front plate thickness and material:

Front plate feature: Parameter ID: item_id_sv ('SHEET';'MATERIAL';'S235JRG2';'S';20)

Girder height of an I-beam:

I-beam feature: Parameter ID: item_id_v('DIN_1025-1';'H';200)

 

Explanation

How do I access the standard description?

Let us assume that the thickness of a front plate needs to be parameterised. The thickness itself is not made available in the feature, as it results from a row of a standard file. If you expand the generation feature of the front plate, you will see 'Catalogue: 127'. 127 is the internal representation of the standard file for sheets. To infer the name of the standard file from the number, you open file \Kataloge\sys\TBLIDs.DAT. Here, you look for the row with value 127 and thereby obtain the precise description of the standard file: 'SHEET'.

How do I access the column names?

You now find file 'BLECH.ipt' in the \Catalogues directory, using a text editor to open it. You will find the columns with their precise descriptions and data types in plain text here.

This is a normaltext paragraph.

Feature Parameter Formulas