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.

Automation when publishing

Rob C
Contributor

Hi all,

 

I'm looking into executing commands automatically when the user attempts to publish a drawing. From looking at the API docs it seems like the only thing we have access to is inserting a new format into the already-existing publisher dialog (shown in the FormatRegisterTest example).

 

Is it possible to react and run code automatically when the user asks to publish?

 

Thanks

2 REPLIES 2
Akos Nagy
Graphisoft
Graphisoft

Hi Rob,

Unfortunately, there is no way to get notified when this event occurs. As you mentioned, the only thing you can do is inserting a new format and react when the publishing of the inserted format is called.

Best Regards,
Ákos

Rob C
Contributor

Hi Ákos,

 

Thanks for the response. That's unfortunate, hopefully the API will allow for a more broad spectrum of reactions to user actions soon.

 

Thanks