cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

ElemPriority <> UIPriority?

_c_
Enthusiast

Does anyone know how the Elem <> UIPriority is calculated?

I am trying to figure out how the connectionPriority of materials in exported xml files makes sense.

_c_
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Viktor Kovacs
Graphisoft
Graphisoft

Here is the calculation method between Internal and UI priority:

uiPriority = int ((double) priority * 62.0 / 100.0 - 43.0 * 62.0 + 1.5);

Please note that this is an implementation detail surfaced in the XML, the calculation method may change in the future.

 

View solution in original post

2 REPLIES 2
Solution
Viktor Kovacs
Graphisoft
Graphisoft

Here is the calculation method between Internal and UI priority:

uiPriority = int ((double) priority * 62.0 / 100.0 - 43.0 * 62.0 + 1.5);

Please note that this is an implementation detail surfaced in the XML, the calculation method may change in the future.

 

_c_
Enthusiast

Thank you! I doubt that I would have figured that out on my own...

_c_

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!