Update Hypermesh Extensions
Hello everybody
This is a script to project nodes on elems:
< a simple script so i do not make package index & installer, you have to source it or invoke menu File>Run>Tcl/Tk Script
I made a new function for Hypermesh to export entity by right-click on model browser
Open Hypermesh, from menu File>Run>Tcl/Tk Script , browse to Installer.tcl in folder MenuExportDeck to install it in hmcustom.tcl
I made a new function for Hypermesh to copy mesh among sessions
<updated for HM2017> + <update installer.tcl to install in any folder>
Please announce me if any error.
- 'Extract here' package hmcp.zip, copy the folder 'hmcp' to anywhere you want to store.
- Open hypermesh and run Installer.tcl file by enter menu File>Run >Tcl/Tk Script
- start Hypermesh, it should shows an icon and provide some information like below:
<?xml version="1.0" encoding="UTF-8"?>
- You can copy elements selected in any current panel:
- Once again, this topic is to introduce extensions for Hypermesh. I let updated version of hmdnd (drag and drop function) here
<updated installer.tcl so you can install it to any folder, just open hypermesh and File>Run>Tcl/tk script to run installer.tcl>
related post:
https://community.altair.com/community?id=community_question&sys_id=633648761b2bd0908017dc61ec4bcba6
- And a package to help making your own toolbars: tbopts.zip
<update installer.tcl so you can install it to any folder>
<fix bugs while running on HM2019.1>
related post
https://community.altair.com/community?id=community_question&sys_id=ab3648761b2bd0908017dc61ec4bcba6
Answers
-
Hello,
I have tried this script and works fine in hm 13 and 14 sessions.
Seems not OK when I have tried to copy some elements between hm 12 sessions 'Error while copying data'.
Is there any way to add nodes option to be copied between sessions?
I create nodes using coordinates from one session to other.
Thank you.
0 -
Hi,
yes, it is possible to copy node only, i may add this feature. But just now you can copy elements and then shift f2 > add temp nodes > delete elems
i also face problem with HM12, but should we forget it soon? higher version is better anyway
0 -
Hi @tinh,
How to make your customization toolbar appear below 'fixed point' toolbar?
(See yellow mark on attach picture)
Thank you,
Best regards,
Iron_Man
0 -
Hi,
open command window and type in:
HM_Framework::p_GetMinibarIconList Display
you will see the code to add a button to the toolbar
you can create your own toolbars, But hypermesh 2017 turn to release new GUI, I think much nicer, so forget these toolbars.
refer to:
0 -
-
Hello @Udhay Rohith
Because I am using hm13, so I will check it on hm2017 and update to you soon.
0 -
Thanks @tinh for this. I am new to hypermesh and I want to learn TCL scripting for hm. Can you guide me from where I should start?
0 -
hI
To start learning tcl scripting in hm, enter menu Help > Altair Help Home .
=> Reference Guide => Hypermesh
In Hypermesh Reference Guide, read section 'Scripts'
do some examples, and read some sample scripts in ~altair/14.0/hm/scripts
0 -
Altair Forum User said:
Hi,
I checked it with hm2017, there is a change in dataname so output version of copied data is incorrect
This is update package to use with HM2017:
[above link was updated, please download it]
0 -
Update a function to export entity by righ-click on model browser
(Download MenuExportDeck.zip at 1st post)
It can save geometry of components ! so if you want do divide cad parts, you don't need to delete-then-save
0 -
Hi @tinh I was wondering if you are able to share the source code of your MenuExportDeck.zip file. I noticed that the source .tcl file is bytecode. I'm looking to add my own scripts to the right-click menu in the model browser and was hoping to use your MenuExportDeck as a guide.
Can you also point me in the right direction for any documentation on how to do this?
Thanks
0