Creating User Toolbars in HyperMesh
Hi
I made this package to help creating user toolbars:
It is useful for someone has many scripts and wants them to be available by one clicking on HM GUI
Please notice me if any bug occurs.
example:
Enter here to download:
https://community.altair.com/community?id=community_blog&sys_id=0e6d8e3f1b64ac90c4dfdbd9dc4bcbd5
Answers
-
Great/emoticons/default_cool.png' title='B)' />
0 -
Nice work. Will save a lot of time.
0 -
@tinh: Is there any possibility to install into user's folder instead of HM Installation folder?
0 -
When I click on 'Add Command bouton' there's error:
HW 2017.2.1
OS Linux CentOS 7 x64
0 -
Altair Forum User said:
@tinh: Is there any possibility to install into user's folder instead of HM Installation folder?
Yes, there is. But at least we need to add a package index file in hm home as an entry point for auto-start, or you have to add source $tboptsfile to hmcustom.tcl, or source it each time open hypermesh
I will make an Installer that help to select user's folder to install tbopts, this is better than you have to make it your self
0 -
About linux OS, I will check environment folder and update the error soon.
0 -
Altair Forum User said:
Yes, there is. But at least we need to add a package index file in hm home as an entry point for auto-start, or you have to add source $tboptsfile to hmcustom.tcl, or source it each time open hypermesh
I will make an Installer that help to select user's folder to install tbopts, this is better than you have to make it your self
I updated it with an installer.tcl file. Just copy folder tbopts to your own location, open hypermesh and File>Run>Tcl/Tk Scripts to run Installer.tcl
folder .../hm/script need to be writable, because pkgIndex will be copied there
0 -
Hi tinh,
Could you please tell me how to encrypt the .tcl file as you did?
Is there any free software available for encrypting?
0 -
Hello Tinh,
I'm not able to access this file.
0 -
can you download tbopts.zip here?
0 -
Hello Tinh,
I tried to use your script in my work enviroment, where I'm using multiple hmcustom files. I don't want (and cannot) modify most of them.
I would like to modify only the certain one. The one I've created and added (by appending the enviromental variable) myself.
I have managed to add 'tbopt' script in this file manually (basing on your instalation scripts). Now i would like to make your script to modify only the certain hmcustom file in the process of adding toolbars and buttons. Can you show me the way?
Regards,
Michal0 -
Hi
Tbopts.tcl does not modify hmcustom.tcl
Just installer.tcl does
0 -
Hi Mr. Tinh
The got the following error message while running add toolbar script.
tag name 'Undo-Redo' # must be alphanum should not contain any wildcharacters
tag name 'Undo-Redo' # must be alphanum should not contain any wildcharacters
while executing
'::hwtk::istagvalid $tag'
(object '::.tbopts.f1.lb' method '::hwtk::widget::HWListbox::add' body line 7)
invoked from within
'# Compiled -- no source code available
error 'called a copy of a compiled script''
(procedure 'p_mnuOptions_Invoke' line 1)
invoked from within
'p_mnuOptions_Invoke'
(in namespace inscope '::tbopts' script line 1)
invoked from within
'::namespace inscope ::tbopts p_mnuOptions_Invoke'
(menu invoke)Hm version 2019.1
Thanks in advance
0 -
Sorry, could you test it on hm2017?
I don't have v2019 so i need to confirm the bug comes from new version or something else
0 -
Hello! I want to download your script!
But I can not find... Could you share the script?
Thanks in advance.
Jiwon Seo
0 -
JiWon Seo_20453 said:
Hello! I want to download your script!
But I can not find... Could you share the script?
Thanks in advance.
Jiwon Seo
Hi Jiwon,
This is yours:
https://community.altair.com/community?id=community_blog&sys_id=0e6d8e3f1b64ac90c4dfdbd9dc4bcbd5
0 -
tinh said:
can you download tbopts.zip here?
I want to use your script! but I can not download in anywhere..
Could you share it?
Best Regards,
Jiwon Seo
0 -
How about 2021.2 version ?
0 -
Altair Forum User said:
Yes, there is. But at least we need to add a package index file in hm home as an entry point for auto-start, or you have to add source $tboptsfile to hmcustom.tcl, or source it each time open hypermesh
I will make an Installer that help to select user's folder to install tbopts, this is better than you have to make it your self
I updated it with an installer.tcl file. Just copy folder tbopts to your own location, open hypermesh and File>Run>Tcl/Tk Scripts to run Installer.tcl
folder .../hm/script need to be writable, because pkgIndex will be copied there
Hello, @tinh May I please get your email id so I can contact you directly for any query?
Also, I would like to know if there are control cards to call a .txt file for contact deformation/contact sliding distance and stress?
Thank you,
Adeline
0