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

Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

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

Questions regarding the limit of python in archicad?

_JJ_
Contributor

So i asked a question yesterday that i worded badly so ill give it another go in hopes of some clarification regarding the Python link.

1. Is it possible to to make Python write in tables?

2. When i try to extract ElementID it gives me the GUID. i dont need the GUID i need the name. example: YV-001

 

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Mathias Jonathan
Advocate

1-You can extract value and put them in an excel file. You can't modify an archicad schedule.

2- You need the GUID of the element and the GUID of the property to retrieve a value:

 

GetPropertyValuesOfElements(elements: List[ElementIdArrayItem], properties: List[PropertyIdArrayItem]) → List[PropertyValuesOrError]

    Returns the property values of the elements for the given property.

    Parameters:

            elements (list of ElementIdArrayItem) – A list of elements.

            properties (list of PropertyIdArrayItem) – A list of property identifiers.

    Returns:

        A list of property value lists.
    Return type:

        list of PropertyValuesOrError

 

View solution in original post

2 REPLIES 2
Solution
Mathias Jonathan
Advocate

1-You can extract value and put them in an excel file. You can't modify an archicad schedule.

2- You need the GUID of the element and the GUID of the property to retrieve a value:

 

GetPropertyValuesOfElements(elements: List[ElementIdArrayItem], properties: List[PropertyIdArrayItem]) → List[PropertyValuesOrError]

    Returns the property values of the elements for the given property.

    Parameters:

            elements (list of ElementIdArrayItem) – A list of elements.

            properties (list of PropertyIdArrayItem) – A list of property identifiers.

    Returns:

        A list of property value lists.
    Return type:

        list of PropertyValuesOrError

 

Thanks for the reply @Mathias Jonathan. if you look at my latest post there is more info on what i need to make. and lets say it as it is. its not making. its very frustrating.