3/25/2024 7:45 AM | |
Joined: 6/30/2014 Last visit: 8/12/2024 Posts: 462 Rating:
|
Dear Shippai, Good to see you here in the forum. Here you see what I have found, for your question: To reload a tab and reflect newly created attributes without the need to close and reopen the object, you can use the "Refresh static links on tab" command if the attributes are statically linked. This command can be found in the context menu and is used to refresh the statically linked attributes of the visible tab123. Here is an example of how you might use a script to refresh the tab:
This is a conceptual example, and the actual implementation may vary based on the specific scripting language and API provided by COMOS. You would need to use the appropriate COMOS scripting functions to refresh the tab and the object. If the attributes are not statically linked, or if the above method does not work, there may not be a direct way to refresh the tab via script. In such cases, you might need to look into the COMOS API documentation for a method that can refresh the tab or the object's display to show the new attributes. Feel free to download the latest "DokuPack" from here: Technical documentation COMOS: Documentation Portal - ID: 109776498 - Industry Support Siemens In case you prefer to outsource such tasks, you may get in touch with the customizers, "Services": COMOS Overview - ID: 109739837 - Industry Support Siemens All the very best, SuperPippo |
Last edited by: Jen_Moderator at: 03/25/2024 13:01:30Links optimized. |
|
3/26/2024 6:46 AM | |
Joined: 2/4/2020 Last visit: 3/26/2024 Posts: 41 Rating:
|
Thanks for your reply Pippo. I found the command Workset.lib.RefreshCurrentChapterBySpecOwner(Object) |
Follow us on