6/26/2023 8:13 AM | |
Joined: 6/30/2014 Last visit: 8/28/2024 Posts: 463 Rating:
|
Dear Gin San, My very first suggestion would be to download the so called "DokuPack" from here: Technical documentation COMOS: Documentation Portal - ID: 109776498 - Industry Support Siemens Out of it, you can run the PDX file in it, enter as a search key the word "history" and see the results in the official documentation for COMOS, at best in the latest version of it. I hope this helps a bit, all the very best, SuperPippo |
Last edited by: Jen_Moderator at: 06/26/2023 11:39:53Link optimized. |
|
7/4/2023 8:15 AM | |
Joined: 9/16/2021 Last visit: 2/8/2024 Posts: 30 Rating:
|
Dear Superpippo, I have checked the document package. I found out that there is an option available for history management in "Standard" category of the Project settings(refer screenshot 1 in attachment) But that option only gives you just activates the history management at project level. For every object the history has to be separately enabled. In manual the information is already provided on how to enable the history on object level. This is only possible with the script.(refer screenshot 2 in attachment)
a being the desired object in the object debugger. The good part is that once enable history using this script, the history is enabled for all the objects under that object. A small example can be seen in screenshot 3. The history can be seen working layer history menu in object history option. This object history option is enabled when project setting for history management is activated. I find this feature useful but there is only one problem. We cannot set history management directly under the layer. the object history window is greyed out there.(refer screenshot 4) and every time a new object is created under the layer, the history must be manually activated manually. For admins this is not much of a problem but for normal users sometimes giving even normal script rights is also an issue. There is one way to use Subroutine "Oncreate" but as I find Class documentation manual, it is not used anymore and setting this subroutine on all the objects is also a hefty task. If anyone has any idea that how this feature can be activated with creation of any object or any other suggestion regarding this, it will be helpful. Regards AttachmentHistory management.zip (292 Downloads) |
Follow us on