Directive programmcodegen(...)
LABPP_ProgramCodeGen.cpp is in text form. Therefore, like any C++ module for ARCHICAD, it can be modified as you wish. With the help of a special programcodegen(...) command from this program, you can get information about the current state of the LABPP BIM Master dialog, which is in the program code generator mode.
Command format:
int ires = programcodegen("get_bimmaster_cur_selected_parameter_info", string genesis, string v_type, string varname, string svalue, string description, string group);
Here:
genesis is a text label that is responsible for the address of the parameter in terms of the coarse determinant.
Field value "genesis" |
Deciphering the ownership of a parameter |
"ANY" |
Any aspect |
"GDL" |
The parameter is a parameter of a GDL library element |
"EP" |
Element property |
"UP" |
Custom Parameter |
"UPb" |
Basic user setting |
"UPub" |
Base custom setting created by the user |
"UPa" |
Any of the listed user options |
"Cls" |
The parameter refers to the classification system |
"IFC" |
Parameter is related to IFC parameters |
"UTS" |
Element parameter from LABPP |
"Q" |
Quantity parameter from the Quantity section |
"AP" |
Attribute parameter |
v_type - тип параметра
Value |
Decryption |
"string" |
Text |
"double" |
Floating point number |
"int" |
Integer |
"bool" |
Boolean |
varname - name of the variable;
svalue - variable value as text;
sdescription - variable description;
sgroup - группа (pset для параметров IFC).