cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Joel Buehler
Enthusiast

Help with Add-On GUI?

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 Solution

Accepted Solutions
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

 

 

 

 

 

Go to post

2 Replies 2
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

 

 

 

 

 

Joel Buehler
Enthusiast

Hey very cool! Thank you very much! 

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!