Archicad Python API
About automating tasks in Archicad using the Python API.

Redundant views in Project Map by using Python API

rutujaG
Beginner

Hi Archicad Community, 

I am currently exploring the capabilities of the Archicad Python API, and I have a specific question regarding the retrieval of the redundant views in the Project Map. Is it possible to use the python API to identify and gather information about  the views that maybe considered redundant, such as extra sections or elevations that haven't been placed on sheet layouts?

If anyone has experience or insights into this aspect of the Python API, I would greatly appreciate your guidance. Additionally, if there are specific functions or methods within the API that could assist in this task, I'd love to hear about them.

 

1 REPLY 1
poco2013
Mentor

If by Redundant, you mean a listing of "unused views"? Graphisoft has a sample Python program on their PyPi site ("unused items in view map") which does exactly that. It returns the name info plus the GUID of the views with which you can get further info.

 

Graphisoft - Python Sample Code Site 

Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27