What is the dummy number used for in the objects.inp file?

Tekla Structures objects.inp
Not version-specific
Tekla Structures
Environment
Not environment-specific
Question:
In the object.inp file in the explanations section I see:

object(int *dummy_number, char *object_name)

dummy_number:       dummy parameterobject_name:        unique name for object (part || bolt || welding ...)

What is the function of the dummy number?

Answer:
The dummy_number in the objects.inp file is dummy, it has no effect. It is needed only because the objects are defined in the same way as macros, joints, and details in the applications inp files.

In the applications inp files the same number has a meaning, it is the macro/joint/detail number and it is used together with the macro/joint/detail name.
Image
dummy number.jpg


The usage of this number is documented for example in system_macros.inp as follows:

usermacro(int *macro_number, char *macro_name)

macro_number:       unique number for macromacro_name:         unique name for macro

¿Le ha resultado útil?