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:
Unlocked HDA: is it older or newer than Current Definition?
492 2 1-
- ikoon
- Member
- 213 posts
- Joined: Jan. 2016
- Offline
-
- ikoon
- Member
- 213 posts
- Joined: Jan. 2016
- Offline
This command returns time when the definition was last modified:
or just raw, to compare it with the unlocked definition:
Is it a good RFE to add the information (from my previous post) into the Node Info? Or am I missing some workflow?
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
-
- ikoon
- Member
- 213 posts
- Joined: Jan. 2016
- Offline
-
- Quick Links