2023-08-21 10:50 AM - last edited on 2024-09-17 12:58 PM by Doreena Deng
I am currently working on plugin development for ARCHICAD, I want to obtain some data for the current project from the worksheet created by the user.
Can you provide some suggestions on which API to use?
A more detailed version would be better. ^^
Thank you. ^^
Solved! Go to Solution.
2023-08-21 02:54 PM - edited 2023-08-28 12:05 AM
I am by no means an API expert, but I am led to believe there are no API functions for the interactive schedule.
More than happy to be proven wrong though. 🤞
2023-08-22 02:57 AM
That sounds correct to me.
Schedules just gather information from the model, so the API will need to do the same.
Get it from the model and not the schedules.
Barry.
2023-08-21 02:54 PM - edited 2023-08-28 12:05 AM
I am by no means an API expert, but I am led to believe there are no API functions for the interactive schedule.
More than happy to be proven wrong though. 🤞
2023-08-22 02:23 AM
lol
That not very good, ty. ^^
2023-08-22 02:57 AM
That sounds correct to me.
Schedules just gather information from the model, so the API will need to do the same.
Get it from the model and not the schedules.
Barry.
2023-08-22 04:05 AM
Yes, I think there's a problem with my thinking.
Thank you.
2023-08-24 09:33 AM
i had to do the same: implement my own version of the schedules. that really sucks since there has to go a lot of development time in to that. but on the other hand it allows you to implement a schedule version that suits you're use case the best. i built a add-on for quantification for a construction administration programm. i added a selection management like solibri, that you can add properties and other stuff: so good thing is, you can develop a schedule system that suits your requirements bestwise 🙂
some tipps i wished i knew before:
1. api calls are costly, how ever you plan to implement your schedules, you have to outline your architecture that you do as less as possible api calls.
the answers from @BerndSchwarzenbacher in this post: https://community.graphisoft.com/t5/Developer-forum/Fastest-way-to-query-Database-for-specific-User-... helped me a lot.
2. the api error codes are somethimes hard to get something meaningfull out of them. best way is to take a call that works and customizing untill you break it and never go full in.
hope that helps a little..
2023-08-24 10:44 AM
wow:)
The functions I need to implement are very similar to yours. hah
The information you provided is very rich, and I need to spend some time thinking and testing.
If possible, I would like to keep in touch with you because I have just started developing ARCHICAD Add-On.
Because I have just started developing the ARCHICAD plugin, I am not sure how to implement the desired functionality now, I am just doing some testing to Get properties. xD
Thank you.
This is very helpful 🙂
2023-08-24 03:27 PM
im allways glad if i can help 😃
thats the right way! do some testing until you get the hang of it. little step by little step. 😃
and don't forget to take a close look on the properties example solution from the development kit. and be advised: important property quantification stuff is not in the properties example but in the element example:
i found that uncool... xD
2023-08-25 02:29 AM
Thank you for taking the time. Joel.
Your example inspired me.
🙂
Best wishes,
Allen