cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
sxs
Booster

How to make plugins run automatically

  Hi,everyone.

  I want to create an automation plugin which means that once Archicad completes opening the model file, the plugin will run directly without any user intervention like clicking menu button.

  I don't know how to do that.Please give me some suggestions;

1 Solution

Accepted Solutions
Oleg
Expert
3 Replies 3
sxs
Booster

  I have tried using it ACAPI_ProjectOperation_CatchProjectEvent(APINotify_AllInputFinished, NotificationHandler) Listening to the model open event, it was found that this API needs to be called in GSErrCode Initialize (void), and Initialize does not automatically execute after archicad opening the model and needs to be triggered by the user.

Oleg
Expert
sxs
Booster

"If you want to load an addon at start of archicad, you need to return APIAddon_Preload from CheckEnvirinment function."

 

Thank you, It works.

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!