2022-11-05 11:46 AM - edited 2022-11-05 02:23 PM
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 😃
Solved! Go to Solution.
2022-11-07 09:28 AM
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
2022-11-07 09:28 AM
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
2022-11-08 03:43 PM
Hey very cool! Thank you very much!