Jump to content

Check in scripting whether project is fully calculated?


---
 Share

Recommended Posts

Is there a function or a variable in the scripting to query whether the currently open project is completely calculated? Or do you have to make do with it, e.g. to go through all the actual elements and check them to see if they are calculated or not? 
Thank you in advance for any help!

Link to comment
Share on other sites

Hello,

is this supposed to mimic the behavior of the status bar? 

There is "gom.app.project.project_statistics.all.number_of_computed" and "gom.app.project.project_statistics.all.total_number" in Statistics -> Project statistics -> all elements. It considers visible elements only though.

Link to comment
Share on other sites

The metrology technician should be provided with a script that is executed before the "publication" of a project and which checks the project for various things. One of the checks should be whether the project is fully calculated, so that no project is stored in an "undefined" state, so to speak.

Link to comment
Share on other sites

Please sign in to view this quote.

A small correction to this: of the two commands, the visible inspections are considered, not all visible elements in general.

Link to comment
Share on other sites

 Share

×
×
  • Create New...