License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Help with Add-On GUI?

Joel Buehler
Enthusiast

Hehey evryone. 

I have to make a Archicad plugin. so far so good, i managed to get in running and all. but im comming from a c# world and i realy have a problem to unterstand how the gui of a plugin should work.

i relly like the documentation but it seems that there isnt that much help about the gui of an addon? or am i wrong?  

 

if someone could point me in the right direction would be very helpfull 😃 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
julienK
Advocate

You can look at the DG_Test example in the api documentation.

 

you have 2 main files to control the gui; addon.grc and addonfix.grc.

addon.grc defines the layout of your gui , addonfix  links icons to elements defined in addon.grc

 The behaviour is the ui id defined by a class that links the element of your gui to your code.

Not gonna lie it takes a while to get used to.

look at this article for help: https://archicadapi.Graphisoft.com/Archicad-maze-generator-add-on-tutorial-part-2

 

and:

https://archicadapi.Graphisoft.com/api_reference_chapter/uiguidelines

and :

https://archicadapi.Graphisoft.com/hello-world-part-2-dialog-with-text-svg-icon-and-button

 

 

 

 

 

View solution in original post

2 REPLIES 2
Solution
julienK
Advocate

You can look at the DG_Test example in the api documentation.

 

you have 2 main files to control the gui; addon.grc and addonfix.grc.

addon.grc defines the layout of your gui , addonfix  links icons to elements defined in addon.grc

 The behaviour is the ui id defined by a class that links the element of your gui to your code.

Not gonna lie it takes a while to get used to.

look at this article for help: https://archicadapi.Graphisoft.com/Archicad-maze-generator-add-on-tutorial-part-2

 

and:

https://archicadapi.Graphisoft.com/api_reference_chapter/uiguidelines

and :

https://archicadapi.Graphisoft.com/hello-world-part-2-dialog-with-text-svg-icon-and-button

 

 

 

 

 

Hey very cool! Thank you very much!