Unlocked HDA: is it older or newer than Current Definition?

   499   2   1
User Avatar
Member
213 posts
Joined: Jan. 2016
Offline
Please, how do you approach this situation?

- open a hipfile
- see an unlocked HDA

What I do, is check both the HDAs and HIPFILEs date on disk ... and decide, what is a newer version. That could be misleading. I can also create the HDA and compare side by side the content of unlocked and Current Definition.


I assume that it is my responsibility. But, I'm just wondering if the exact data is available somewhere, such as:

- Current Definition was modified later than this Unlocked Definition
- Current Definition was modified last time from such particular hipfile:
User Avatar
Member
213 posts
Joined: Jan. 2016
Offline
This command returns time when the definition was last modified:

import time
time.ctime(hou.node('/obj/my_HDA').type().definition().modificationTime() )

or just raw, to compare it with the unlocked definition:
hou.node('/obj/my_HDA').type().definition().modificationTime()

Is it a good RFE to add the information (from my previous post) into the Node Info? Or am I missing some workflow?
Edited by ikoon - Aug. 6, 2024 05:26:58
User Avatar
Member
213 posts
Joined: Jan. 2016
Offline
I have submitted it as a RFE ID# 140362 ... if anyone wants to add or specify, I will be glad.
  • Quick Links