3/21/2024 8:32 AM | |
Joined: 7/23/2020 Last visit: 4/4/2025 Posts: 39 Rating:
|
Actually I had high hopes on the Corporate Design tool, but to me it has really poor features. I'm still try to understand how to create your own buttons. They create siemens corporate template with some nice but adds but still you can't customize the shape. They added the rounded border button but now you cant resize the border. Basically you can just adjust color and font. This is silly, let me say it. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 03/21/2024 12:16:20New subject after splitting |
|
3/22/2024 2:59 AM | |
Joined: 11/4/2021 Last visit: 4/19/2024 Posts: 64 Rating:
|
Yep, you said it. It is really is more of a template configurator. However, there does seem to be a hacky way to modify the actual html rendering templates which is essentially what you are trying to do. I have tested this in simulation but haven't bothered to work through a full example. Please take the following as a basic proof of concept, it is not tested in production and who knows whether they will close this loop hole with another update. Basically when you create a new style it gathers all of the required rendering templates, decrypts them and dumps them into a zip file in a LocalWorkspace folder. You need to unzip, edit the svghmi files and then rezip. If you do that then save, the modified template will be pulled into the data container that it uses. Copy that style to the project and you should be able to use your modified control in TIA Portal. The one big caveat is that you can NOT change the actual property interface of the control as it is shown in TIA Portal. You either have to work within it or re-use a property. Beyond that it is pretty much the same as making your own dynamic SVGs but with access to Siemens own core templates. The folder path that you are after is in your AppData folder with a unique identifier, just find the last one modified. For example:
Using this concept it would be possible for someone to pull out all of the individual controls, put them into their own style library, improve the actual templates and then share this library with whoever wants a more flexible control. Call it a community controls library in the same spirit as LBS: https://github.com/Rynstick/LBS As usual, hopefully that helps someone else on their path and if anyone does make some better controls in a style library then please share. |
This contribution was helpful to
1 thankful Users |
Follow us on