cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

Archicad C++ API
About Archicad add-on development using the C++ API.

GRC scripting language

Emkave
Contributor

Good day everyone. I need a help with understanding the GRC nature in order to properly define modal dialogs and other appereances.
I wonder if there is a documentation like cppreference but for GRC so I could understand this scripting language better?

I am trying to define the modal dialog, however, I get stucked with some errors sometimes when trying to add styles or else.

For example:
Here I made a wrote a simple grc for this modal dialogue...

Emkave_0-1721739094376.png

How can I get rid of that question mark thing?

ChatGPT gave me this solution:

'GDLG' 32525 Modal 10 10 300 200 "Modal" {
Style NoResizing, NoHelpButton // Add this line
/* [ 1] */ Button 130 160 30 30 LargePlain "OK"
}

However, this solution seems not being properly built when I press "Build" button to build the final project in Visual Studio.
Now I am completely lost how the syntax is organized in GRC. I need help please.


Thank you in advance!

 

 

Operating system used: Windows 10

 
 

 

 

0 REPLIES 0

Setup info provided by author