Archicad addons11/9/2022 ![]() ![]() Note that the data types of the parameter pairs must match. "S living " - the name of the user parameter, where to transfer the value. Here - TS_LIVING_ROOM_AREA - the name of the object parameter where to get the value. ![]() Ts_table (TableDescr, "add_row ", 0, "TS_LIVING_ROOM_AREA ", 1, "S living ") in column 0 - the name of the parameter where to get the data, in column 1 - the name of the property where to write In the script there is a place where we can write pairs of properties from where and where to copy the values of the parameters: Transfer object values from internal to user parameters.cpp Transfer object values from internal to user parameters The script displays a message in the window with the Ok button. Run script = in the message window the volumes of these walls will be listed and at the end the total volume is displayed. Read and summarize volumes from elements of type "Wall " with ID = "Contour "Ĭreate a few walls in the project. To show the result of the functions - "Warm Sea", " WARM SEA ", " warm sea " to the message window Trim spaces in a string, translate to upper and lower caseĭeclares a string variable, writes " Warm Sea " into it. If the object has no such parameter, then reading and writing will be performed from/to the object ID The program reads the value from the "MY_TEXT" parameter and writes the new value "Hello, World!)))" There. ![]() Read and set the value of the element GDL parameter.cpp Hello World - Your fist C++ script on ARCHICADĭeclares a string variable, writes "Hello, World!))) " Into it, and displays it in a message box ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |