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

API_Attribute.header.modiTime vs API_Element.header.modiStamp

drjustice
Newcomer

Can someone explain the difference between modiStamp and modiTime?

 

I figured out that modiTime is a straight unix time stamp. 

Ex: attribute.header.modiTime = 1569584172 = Fri Sep 27 2019 11:36:12 GMT+0000

Ex: element.header.modiStamp = 46103487 = ???

 

Is there a way to convert one from the other?

 

1 REPLY 1

Tibor Lorantfy
Graphisoft
Graphisoft

Hi,

 

modiStamp is not related with time, it's just an incremental stamp. If one element's modiStamp is higher than the other's, then that element was modified later. You can interpret it as a version of the project's database. As soon as something changed, then that "version" will be increased and the actually modified/new elements get that number.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!