2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations
2020-07-27
05:39 PM
- last edited on
2021-09-15
10:31 AM
by
Noemi Balogh
2020-07-27 06:46 PM
Yi wrote:Use
I'd like to develop a plugin to export model with self-defined UI. I notice in the example ModelAccess_Test, it uses ACAPI_Register_FileType and can export model through the Archicad "Save As" choice. But if I add my own button in the UI, anyone knows how to export through the button I defined?
2020-07-27 10:52 PM
Ralph wrote:Hi, thank you for your reply. I checked the example of Markup_Test, and seems it deals with BCF file. Maybe I didn't explain well in my question, I want to export the model 3d info like polygons. I'm using ModelerAPI to get the 3d info, but how to export the polygons with a self-defined button instead of using "Save As"?
Yi wrote:Use
I'd like to develop a plugin to export model with self-defined UI. I notice in the example ModelAccess_Test, it uses ACAPI_Register_FileType and can export model through the Archicad "Save As" choice. But if I add my own button in the UI, anyone knows how to export through the button I defined?DG::FileDialog. Take a look at the Markup_Test example project, specifically the method MarkUpTest::ExportToBCF
2020-07-27 11:15 PM
Yi wrote:
Hi, thank you for your reply. I checked the example of Markup_Test, and seems it deals with BCF file. Maybe I didn't explain well in my question, I want to export the model 3d info like polygons. I'm using ModelerAPI to get the 3d info, but how to export the polygons with a self-defined button instead of using "Save As"?