HM drag and drop

tinh
tinh Altair Community Member
edited December 2023 in Community Q&A

Hi all

 

I made drag and drop feature for Hm

 

 

https://www.youtube.com/watch?v=ZEjagCOMg0I

 

 

Hoping new versions will have such feature 

 

 

ownload here:

 

Attachment is no longer available.

 

 

https://community.altair.com/community?id=community_question&sys_id=e33648761b2bd0908017dc61ec4bcba7

 

 

 

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2015

    Hi Tinh,

    It works well with HM 13.0.112 Win64 image/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'>

    Thanks,

  • alpha_21885
    alpha_21885 Altair Community Member
    edited June 2015

    Hi Tin,

     

    Cool!

    It works pretty well on my HyperMesh as well. Thanks a lot. I wait for this feature from Altair for many years but it sounds hopeless. I have to copy/paste folder location containing *.hm file everyday.

    I believe that you can create macro to drag and drop *.key, *.fem, *.nas also soon.

  • tinh
    tinh Altair Community Member
    edited June 2015

    Hi Tin,

     

    Cool!

    It works pretty well on my HyperMesh as well. Thanks a lot. I wait for this feature from Altair for many years but it sounds hopeless. I have to copy/paste folder location containing *.hm file everyday.

    I believe that you can create macro to drag and drop *.key, *.fem, *.nas also soon.

     

    Hello Alpha

    sure above macro can accept .key, .fem, .nas file

    just drop them into your hypermesh

    if you want to import them (instead of opening), hold down Ctr key while droping the files

  • alpha_21885
    alpha_21885 Altair Community Member
    edited July 2015

    Hello Alpha

    sure above macro can accept .key, .fem, .nas file

    just drop them into your hypermesh

    if you want to import them (instead of opening), hold down Ctr key while droping the files

     

    Hi

     

    I found the serious issue with this macro. After I install drag and drop macro, my hypermesh batch mesher does not work.

    After I delete the macro folder, I can use Batch Mesh normally.

     

    then, everyone should be careful when using this macro.

     

    Thx

  • tinh
    tinh Altair Community Member
    edited July 2015

    Hi

    I fixed the problems

    but i think you rarely use batch mesh because quality of HM batchmesh not so good

     

    just neglect loading drag-n-drop mechanism when batchmesh loading pkgIndex.tcl

    if {[lsearch $::auto_path */hm/scripts/batchmesh]==-1} {source [file join [file dirname [info script]] HmDnD.tbc]}

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2015

    Thanks for this patch.

    Yeah, I never use 'batch meshing' since ... Hypermesh 8.0 image/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'>

  • alpha_21885
    alpha_21885 Altair Community Member
    edited July 2015

    Thanks Tinh. I will test with your recommendation.

     

    Yes. The former of HM13, mesh did not caputure geometry features well. But I am OK with mesh quality in HM13. Perhaps, my models are more simple than yours.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2015

    Hello,

      How can i integrete this in to my Hypermesh.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2015

    Hello,

      How can i integrete this in to my Hypermesh.

     

    Have a look at file 'READ_ME.txt' :

    //Guide

    Copy folder tkdnd2.6 into ...\hm\scripts folder

    No need any other setting

    Internal use only

    regards,

    t*****@gmail.com

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2018

    Tinh, this script works only if its copied into hm/scripts folder. Can we please update that so it works outside the installation?

  • tinh
    tinh Altair Community Member
    edited March 2018

    Hi,

    I have just updated it. Please download it again and

    - copy folder 'tkdnd2.6' to any folder you want

    - open hypermesh

    - enter menu File>Run>Tcl tk script and browse to the folder 'tkdnd2.6' to run Installer.tcl file

    - restart hypermesh

     

    The same method can be applied to above packages 'hmcp' and 'tbopts'

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2019

    its not working on hm 17.1

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2019

    Hello Tinh

     

    This drag and drop script is not working in Hypermesh 2017.2 version.

    I have tried installing the script using the above mentioned method.

    But, it didn't work.

    Can you please help it work with HM 17 also?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2019

    Hello Tinh

     

    This drag and drop script is not working in Hypermesh 2017.2 version.

    I have tried installing the script using the above mentioned method.

    But, it didn't work.

    Can you please help it work with HM 17 also?

    there is a mistake on uploading the file,, you can use 'tbopts ' file to activate drag and drop

  • tinh
    tinh Altair Community Member
    edited April 2019

    Really???, Installer.tcl is missing from folder tkdnd2.6, isn't it?

     

    Yes you can copy Installer.tcl from folder tbopts to folder tkdnd2.6

    It functions same except final message box title!

  • karthik karunakaran
    karthik karunakaran New Altair Community Member
    edited August 2021

    Can you please share script for drag and drop files here?

  • RAJA R
    RAJA R Altair Community Member
    edited June 2022
    tinh said:

    Hi,

    I have just updated it. Please download it again and

    - copy folder 'tkdnd2.6' to any folder you want

    - open hypermesh

    - enter menu File>Run>Tcl tk script and browse to the folder 'tkdnd2.6' to run Installer.tcl file

    - restart hypermesh

     

    The same method can be applied to above packages 'hmcp' and 'tbopts'

    Hi,
    I searched to download the script but not able to find it. can you share it here???

    Thanks,

    Raja.

     

  • Suganesh Selvaraju
    Suganesh Selvaraju Altair Community Member
    edited July 2022

    Hi Tinh,

    Can you please share the drag and drop script files here?

    Cannot the access files above.

    Thank you.

  • Alihan Alayoğlu_22549
    Alihan Alayoğlu_22549 Altair Community Member
    edited September 2022

    @tinh  Could you please share the macro ? Its not available anymore