2018-09-19 04:31 AM - last edited on 2023-04-12 12:33 PM by Laszlo Simon
Solved! Go to Solution.
2018-12-17 01:44 PM
2018-09-19 10:44 AM
2018-09-19 11:36 AM
2018-09-19 06:19 PM
2018-09-22 08:12 AM
poco2013 wrote:The API has access to all of the above. Therefore, a Python wrapper potentially could too. But as Tibor says, it depends on what would provide the most benefit. Posting potential use-cases for Python scripts would be informative.
My concern is the present diversion of data access in Archicad. IFC, Properties, Expressions, GDL, & API data structures all have a slice and none have total access to all data.
2018-09-22 10:52 PM
2018-10-09 01:15 PM
poco2013 wrote:Hi,
By way of example:
Frequently a quick means of performing area analysis is required. Typically done external to Archicad using Excel, etc. By area analysis, I mean -- FARs, setbacks, permeable, impermeable, overhangs, undisturbed areas and the percent & overall of each- All in a tabulated SS. -- You get the idea. In some software, this is only a half dozen lines of code in either Python or Ruby. i.e. a macro. Generally, this requires summing selected zones and subtracting others. Certainly this can be done now with the Archicad API -- But a PETA & difficult when you need to change the formulas.
The key is a means of doing a 'quick' search, sort, selection & enumeration based on some criteria.
Also, important is the use of regular expressions to simplify discovery - RegEX. Python has this feature as a add-on -- Hopefully, it will be included?
2018-10-09 02:41 PM
2018-10-10 03:36 PM
2018-10-11 01:47 AM