Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

A new generation of Python solutions

beanjs
Newcomer
Hello everyone, I am beanjs, the author of the xbimer platform. I have been exploring the use of python in archicad for more than 3 years, and today I brought a new generation of python solutions to archicad.

xBIMer is a python sdk plugin designed for Archicad. It allows developers to use python to develop plugins for archicad. Since you need to install a huge IDE when using the official C++ sdk to develop plug-ins, it is not very friendly to developers. Secondly, the official only provides c++ sdk as the only choice for archicad, not as many choices as Revit. This indirectly makes it difficult for other developers to integrate into the development of archicad plugins.

xBIMer is a solution between the official C++SDK and the official Python API, and will support Archicad 22 or above. It allows developers to use python language to access the functions in Archicad's C++SDK (if allowed), such as menus, dialog and other C++ interfaces. In addition, you can also use the official python api module in xBIMer (Requires Archicad 24 or above).Using xBIMer you will not need to install visual studio (on windows system), Xcode (on macos system, mac system will be supported in the future) can develop plug-ins for Archicad. You can write the code once and run it in the Windows system and the macos system, without the need for adaptation between different systems. Not only that, the plug-ins you develop based on xBIMer can be easily extended to different versions of Archicad without the need for additional compilation and adaptation. At the same time, with the help of Python's perfect package management mechanism, you can also easily add third-party modules on the PyPi website to the Archicad plug-in.

Not only that, xBIMer has a great possibility to solve the official legacy problems, such as i18n, etc. Today I released the first release version. Although this version only provides a complete python language runtime for Archicad, it has not yet been ported to the official C++ API (this will be a future work). For me, the next job is that I must first focus on porting GUI-related APIs (DGLib, UDLIb), because I currently need this feature. If you like this project, you can check it out on github. https://github.com/xbimer. Soon I will publish some video tutorials related to xBIMer. You can subscribe to @xbimerOfficial on twitter to get the latest news. Thanks to Github, Youtube, IFTTT, and other service providers for their support of this platform.
xBIMer is a python sdk plugin designed for Archicad. It allows developers to use python to develop plugins for archicad.If you are interested in this project you can go here: https://github.com/xbimer
23 REPLIES 23

Karl Ottenstein
Moderator
This sounds promising, but frankly I'm not confident downloading and installing something that has full access to my ARCHICAD data file (and potentially my computer file system) from someone who does not identify themselves with their real name, location and qualifications... and with youtube links that do not work and minimal documentation / examples relevant to ARCHICAD. I would caution casual users from downloading and installing this plugin.
One of the forum moderators   •   AC 25 USA and earlier   •   MacOS 11.6.1, iMac Pro

Podolsky
Mentor
Well, if links will be fixed - then yes, this is really cool. I will wait until it will have more functions and will be available on MacOS.
Because we need something like that.

By the way, by making my research on Python, I've found that earlier beta version of Python on ArchiCAD 23 was able to use C++ commands, but was very slow. I wish one day to see tool that able to make fully functional plug-ins without writing and compile C++.

beanjs
Newcomer
Karl wrote:
This sounds promising, but frankly I'm not confident downloading and installing something that has full access to my ARCHICAD data file (and potentially my computer file system) from someone who does not identify themselves with their real name, location and qualifications... and with youtube links that do not work and minimal documentation / examples relevant to ARCHICAD. I would caution casual users from downloading and installing this plugin.
At present, xBIMer has only finished building a complete python runtime in archicad and keeping it in memory for a long time. Regarding the interactive API with archicad, I have not yet ported it. I have a lot of work at the moment, so I don’t have enough time to record the video and post it to youtube. My youtube channel is youtube.com/channel/UCDZAh_-VJj_GsEXzi3KMA2Q
I am not an architect. My real profession is an IoT developer. The focus of my current work is to use Archicad in the IoT field.
xBIMer is a python sdk plugin designed for Archicad. It allows developers to use python to develop plugins for archicad.If you are interested in this project you can go here: https://github.com/xbimer

beanjs
Newcomer
Podolsky wrote:
Well, if links will be fixed - then yes, this is really cool. I will wait until it will have more functions and will be available on MacOS.
Because we need something like that.

By the way, by making my research on Python, I've found that earlier beta version of Python on ArchiCAD 23 was able to use C++ commands, but was very slow. I wish one day to see tool that able to make fully functional plug-ins without writing and compile C++.
I also hope to come soon. Because xBIMer is not perfect now.
xBIMer is a python sdk plugin designed for Archicad. It allows developers to use python to develop plugins for archicad.If you are interested in this project you can go here: https://github.com/xbimer

Karl Ottenstein
Moderator
beanjs wrote:
Karl wrote:
This sounds promising, but frankly I'm not confident downloading and installing something that has full access to my ARCHICAD data file (and potentially my computer file system) from someone who does not identify themselves with their real name, location and qualifications... and with youtube links that do not work and minimal documentation / examples relevant to ARCHICAD. I would caution casual users from downloading and installing this plugin.
At present, xBIMer has only finished building a complete python runtime in archicad and keeping it in memory for a long time. Regarding the interactive API with archicad, I have not yet ported it. I have a lot of work at the moment, so I don’t have enough time to record the video and post it to youtube. My youtube channel is youtube.com/channel/UCDZAh_-VJj_GsEXzi3KMA2Q
I am not an architect. My real profession is an IoT developer. The focus of my current work is to use Archicad in the IoT field.
If this does not do anything yet related to ARCHICAD, why did you start this thread and make posts suggesting that people download it in other threads?

I propose that this thread should just be archived for now and that you post again when you have something that is fully useful and of interest to this community. As a newcomer to Archicad Talk, starting a new thread about something that is not (yet) useful is a strange way to join the community 🙂
One of the forum moderators   •   AC 25 USA and earlier   •   MacOS 11.6.1, iMac Pro

beanjs
Newcomer
Karl wrote:
beanjs wrote:
Karl wrote:
This sounds promising, but frankly I'm not confident downloading and installing something that has full access to my ARCHICAD data file (and potentially my computer file system) from someone who does not identify themselves with their real name, location and qualifications... and with youtube links that do not work and minimal documentation / examples relevant to ARCHICAD. I would caution casual users from downloading and installing this plugin.
At present, xBIMer has only finished building a complete python runtime in archicad and keeping it in memory for a long time. Regarding the interactive API with archicad, I have not yet ported it. I have a lot of work at the moment, so I don’t have enough time to record the video and post it to youtube. My youtube channel is youtube.com/channel/UCDZAh_-VJj_GsEXzi3KMA2Q
I am not an architect. My real profession is an IoT developer. The focus of my current work is to use Archicad in the IoT field.
If this does not do anything yet related to ARCHICAD, why did you start this thread and make posts suggesting that people download it in other threads?

I propose that this thread should just be archived for now and that you post again when you have something that is fully useful and of interest to this community. As a newcomer to Archicad Talk, starting a new thread about something that is not (yet) useful is a strange way to join the community 🙂
The reason why I don't encapsulate the C + + API is that I don't have enough time to separate the code from my business project, but that doesn't mean I won't do it. The current version is not functional enough. On the one hand, it is released because some developers have such requirements. I will give a solution when I release this version. On the other hand, I believe that all people want to have a simple way to solve complex problems. Xbimer is the simple way. Soon I will write a new article to explain what xbimer can do. And how to coordinate the relationship between architects and plug-in developers through xbimer. I believe not all architects will use the official C + + SDK for plug-in development.
xBIMer is a python sdk plugin designed for Archicad. It allows developers to use python to develop plugins for archicad.If you are interested in this project you can go here: https://github.com/xbimer

Karl Ottenstein
Moderator
beanjs wrote:
The reason why I don't encapsulate the C + + API is that I don't have enough time to separate the code from my business project, but that doesn't mean I won't do it. The current version is not functional enough. On the one hand, it is released because some developers have such requirements. I will give a solution when I release this version. On the other hand, I believe that all people want to have a simple way to solve complex problems. Xbimer is the simple way. Soon I will write a new article to explain what xbimer can do. And how to coordinate the relationship between architects and plug-in developers through xbimer. I believe not all architects will use the official C + + SDK for plug-in development.
It sounds like you are confirming that there is no point to discussing Xbimer here until it is more functional. Again, I wonder why you joined Archicad Talk and brought this up here?
One of the forum moderators   •   AC 25 USA and earlier   •   MacOS 11.6.1, iMac Pro

beanjs
Newcomer
Karl wrote:
beanjs wrote:
The reason why I don't encapsulate the C + + API is that I don't have enough time to separate the code from my business project, but that doesn't mean I won't do it. The current version is not functional enough. On the one hand, it is released because some developers have such requirements. I will give a solution when I release this version. On the other hand, I believe that all people want to have a simple way to solve complex problems. Xbimer is the simple way. Soon I will write a new article to explain what xbimer can do. And how to coordinate the relationship between architects and plug-in developers through xbimer. I believe not all architects will use the official C + + SDK for plug-in development.
It sounds like you are confirming that there is no point to discussing Xbimer here until it is more functional. Again, I wonder why you joined Archicad Talk and brought this up here?
OK, I'll move the topic of xbimer to other products. Thank you for your advice.
xBIMer is a python sdk plugin designed for Archicad. It allows developers to use python to develop plugins for archicad.If you are interested in this project you can go here: https://github.com/xbimer

Podolsky
Mentor
Karl, leave this treat please.

It's great to see that someone is developing such a complicated and needed part for ArchiCAD.
If Graphisoft has a problem with third part developers - please contact developer directly and find out, what is going on. Finally invite them into official Graphisoft team - maybe that will be useful collaboration for both.

And one more thing - Graphisoft also publishing things, that is not developed properly yet. What really official Python SDK can do? Almost nothing. Change ID's.

ethanbodnar
Contributor
This sounds really exciting and sharing something that you're passionate about and working on is the best way to introduce yourself.

Thank you for sharing here, I'm not a developer but have friends who are, and from the little I understand this could be cool. I don't think we need to only share finished projects, I like hearing about the process and stories behind things, and perhaps other developers have insights, ideas or questions to share that would add to your project.

leceta
Enthusiast
I'm seconding each word by Podolsky, this is highly interesnting topic, even if its not ready yet, maybe we can give some positive energy to Beanjs.

Karl, I can hardly understand why are you being so rude with Beanjs and its very interesting initiative. At first you complained on Beanjs not using its personal name or its credentials (this doesn't bother me at all btw, this doesn't turn on my spam alarms by no means... in fact, he is sharing source code, and has publicly shared his python work in relation to archicad already two years ago.

Now you want to archive the thread because it is not developed enough. Excuse me? Did you consider if Beanjs is just searching for feedback, looking for other people to join the project, or maybe just self promoting... I really don´t care, this can´t be anything but positive for Archicad and its community, so why are you so determined to delete it?

Please, as a member of this community and as a Graphisoft customer, I ask you to leave this thread as it is, because it is of great interest to me as an Archicad user. Let me say that I think you are making a poor job as a moderator here. You should encourage the creation of a wealthy Archicad user community, instead of being a problem for this to happen.

This is incredible...

Karl Ottenstein
Moderator
OK guys, I'll leave the thread. My point as a moderator is that this does absolutely nothing yet for ARCHICAD, so is premature to even be discussed here (because it does not even offer what it will eventually provide) - and it was also posted several times in other Python threads as if it was a WORKING substitute for any other Python system within ARCHICAD, which it is not.

The point of using a real name etc is that this is an add-on that a user, rather than a developer, might download - source code or not. Anyone posting add-ons - which present a risk to the user by their very nature - should at least announce their real name and affiliation. This is the first case of an anonymous developer presenting something here and I'm not comfortable with the idea.

So, again, I will leave this here (the admin may have different feelings), and hope to be proven wrong by someone doing something useful with this. 🙂
One of the forum moderators   •   AC 25 USA and earlier   •   MacOS 11.6.1, iMac Pro

leceta
Enthusiast
Thanks Karl!

Podolsky
Mentor
Guys.
I want to say, that apart of personal opinions of anyone - developers, users, moderators or even company - exist simple fact - we NEED working Python in ArchiCAD.
Currently exist two solutions - one that started almost 3 years ago in China by third part developer and another that appeared in ArchiCAD 24 developed by Graphisoft.
Unfortunately both are promising more than doing. When I did hear first about Python in ArchiCAD - I was super exited, as I have very big need in developing Add-Ons, but cannot handle C++. When I look at C++ documentation I understand I need few years of study programming and after will be able to write my first Add-On. I had very big hope, that Python will help me with that - just because it's a script, that can be executed without compiling. I also have seen how many cool stuff is written in Python in another programs - like Blender, or GIMP.
But today, when I look to Python - I see that very little possibilities there. It can change ID's, some properties and create or delete layouts.

Why Graphisoft cannot collaborate with Beanjs and develop together useful tool? Does exist Graphisoft China? Invite Beanjs to the office, review his development, make him an offer, if this development has potential. There are so many ways to communicate! The worst that we can do - is communicate that in famous British show: "Computer says NO".

WE NEED WORKING PYTHON.

beanjs
Newcomer
Podolsky wrote:
Guys.
I want to say, that apart of personal opinions of anyone - developers, users, moderators or even company - exist simple fact - we NEED working Python in ArchiCAD.
Currently exist two solutions - one that started almost 3 years ago in China by third part developer and another that appeared in ArchiCAD 24 developed by Graphisoft.
Unfortunately both are promising more than doing. When I did hear first about Python in ArchiCAD - I was super exited, as I have very big need in developing Add-Ons, but cannot handle C++. When I look at C++ documentation I understand I need few years of study programming and after will be able to write my first Add-On. I had very big hope, that Python will help me with that - just because it's a script, that can be executed without compiling. I also have seen how many cool stuff is written in Python in another programs - like Blender, or GIMP.
But today, when I look to Python - I see that very little possibilities there. It can change ID's, some properties and create or delete layouts.

Why Graphisoft cannot collaborate with Beanjs and develop together useful tool? Does exist Graphisoft China? Invite Beanjs to the office, review his development, make him an offer, if this development has potential. There are so many ways to communicate! The worst that we can do - is communicate that in famous British show: "Computer says NO".

WE NEED WORKING PYTHON.
Hello Podolsky, nice to meet you. I am the author who first introduced python to archiacd 3 years ago. It was first used in Archicad 20 at that time. At that time, due to reasons such as ability and money, the project could not continue. And now I have overcome these hardships, so I decided to build this technology and release it. I like archicad, even though I am not an architect. I just hope that archicad's secondary development work can become simple, because I don't like to complicate simple problems.
xBIMer is a python sdk plugin designed for Archicad. It allows developers to use python to develop plugins for archicad.If you are interested in this project you can go here: https://github.com/xbimer

beanjs
Newcomer
ethanbodnar wrote:
This sounds really exciting and sharing something that you're passionate about and working on is the best way to introduce yourself.

Thank you for sharing here, I'm not a developer but have friends who are, and from the little I understand this could be cool. I don't think we need to only share finished projects, I like hearing about the process and stories behind things, and perhaps other developers have insights, ideas or questions to share that would add to your project.
Thank you very much, I don't care about Karl's point of view. Because I know that many people want this technology in Archciad. I will continue to do it so that everyone who uses archicad can get convenience from it.
xBIMer is a python sdk plugin designed for Archicad. It allows developers to use python to develop plugins for archicad.If you are interested in this project you can go here: https://github.com/xbimer

beanjs
Newcomer
leceta wrote:
I'm seconding each word by Podolsky, this is highly interesnting topic, even if its not ready yet, maybe we can give some positive energy to Beanjs.

Karl, I can hardly understand why are you being so rude with Beanjs and its very interesting initiative. At first you complained on Beanjs not using its personal name or its credentials (this doesn't bother me at all btw, this doesn't turn on my spam alarms by no means... in fact, he is sharing source code, and has publicly shared his python work in relation to archicad already two years ago.

Now you want to archive the thread because it is not developed enough. Excuse me? Did you consider if Beanjs is just searching for feedback, looking for other people to join the project, or maybe just self promoting... I really don´t care, this can´t be anything but positive for Archicad and its community, so why are you so determined to delete it?

Please, as a member of this community and as a Graphisoft customer, I ask you to leave this thread as it is, because it is of great interest to me as an Archicad user. Let me say that I think you are making a poor job as a moderator here. You should encourage the creation of a wealthy Archicad user community, instead of being a problem for this to happen.

This is incredible...
Thank you, I will continue to plump the xBIMer project. At the same time I hope you can help me. I believe this technology can greatly improve the difficulty of archicad's secondary development and make more people willing to join the archicad family.
xBIMer is a python sdk plugin designed for Archicad. It allows developers to use python to develop plugins for archicad.If you are interested in this project you can go here: https://github.com/xbimer

Podolsky
Mentor
Hi Beanjs,

Have you tried to contact Graphisoft China or Singapore (I see on the web-site there is someone in Hong Kong)? Maybe they can give you more local support? For example to help solving legal issues with that, if such issues would appear?

As I understand, Graphisoft would like to control quality of third part Add-Ons developers, that someone wouldn't develop extensions, that potentially start crashing the program and compromise the whole system. I don't think it would be nice, if situation potentially would turn the way, when Graphisoft start ban your project, just because you are completely independent and did not coordinate this development with them.

beanjs
Newcomer
Podolsky wrote:
Hi Beanjs,

Have you tried to contact Graphisoft China or Singapore (I see on the web-site there is someone in Hong Kong)? Maybe they can give you more local support? For example to help solving legal issues with that, if such issues would appear?

As I understand, Graphisoft would like to control quality of third part Add-Ons developers, that someone wouldn't develop extensions, that potentially start crashing the program and compromise the whole system. I don't think it would be nice, if situation potentially would turn the way, when Graphisoft start ban your project, just because you are completely independent and did not coordinate this development with them.
Thanks for your reminder, I will insert a disclaimer in the project. In addition, since the current xBIMer project is not enough to attract their attention, I will not take the initiative to contact the official. In the future, xBIMer will release the "App Store", whose purpose is also to control the quality of add-ons, which does not conflict with the official. I also want to use the "App Store" to allow Archicad users to install the plug-ins they want in Archicad, just like installing apps on their phones.

If the officials do not let me continue the project, I can close the project completely. Because my xBIMer project is a completely free project, I don't want to make this very complicated. If the official is interested in my project, I am willing to cooperate with them to develop xBIMer technology as a part of archicad.
xBIMer is a python sdk plugin designed for Archicad. It allows developers to use python to develop plugins for archicad.If you are interested in this project you can go here: https://github.com/xbimer

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!