HyperMesh 2019 Assembly View

ezzymn
ezzymn New Altair Community Member
edited October 2020 in Community Q&A

Hi all, 

 

After upgrading from 2017 to 2019, I've noticed that in the standard model browser window under 'Model View', you can see any assemblies but they do not expand in that pane. Instead you need to double click or go to 'Assemblies view'. 

 

The only issue with this, is that the 'Assemblies View' only contains components and not groups etc. 

 

Is there a setting to behave like 2017 and allow the assemblies in 'Model View' to expand?

 

Many Thanks

 

2019 - 'Model View' Unexpandable

<?xml version="1.0" encoding="UTF-8"?>Capture.PNG

 

2017 'Model View' - Expandable

<?xml version="1.0" encoding="UTF-8"?>Capture_3.PNG

 

2019 'Assemblies View' - No Groups or Properties etc

<?xml version="1.0" encoding="UTF-8"?>Capture_2.PNG

Tagged:
«1

Answers

  • tinh
    tinh Altair Community Member
    edited November 2019

    That is an inovation of a certain altair's developer :(/emoticons/default_sad.png' srcset='/emoticons/sad@2x.png 2x' title=':(' width='20' />

  • ezzymn
    ezzymn New Altair Community Member
    edited November 2019

    Thanks tinh,

     

    I had feared as much, but hopeful that there was a checkbox lying around somewhere

  • tinh
    tinh Altair Community Member
    edited November 2019

    Yes, you can right click on model view and a menu item will lead you to a dialog where you can tick on a check box to show assemblies

  • ezzymn
    ezzymn New Altair Community Member
    edited November 2019

    That's the configuration browser isn't it? 

    So that allows me to see / hide assemblies within the model view, but not the ability to expand assemblies within the model view

  • tinh
    tinh Altair Community Member
    edited November 2019

    Yes could you try it?

     

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2019

    That is an inovation of a certain altair's developer :(/emoticons/default_sad.png' srcset='/emoticons/sad@2x.png 2x' title=':(' width='20' />

     

    Yes, this is an 'idiot' feature of version 2019

  • ezzymn
    ezzymn New Altair Community Member
    edited November 2019

    Hey Tinh, 

     

    Tried that, and it doesn't do as we want I'm afraid. 

     

    Another little thing I've just noticed. Everytime you go to the 'Assembly Viewer', it switches the mesh view to 'By Assem', which is rather annoying...

  • tinh
    tinh Altair Community Member
    edited November 2019

    Hi

    When you enter the dialog 'browser cinfiguration', did you see any check box named 'Assembly Hierarchy'?

    Or you just see 'Assembly'?

     

     

    Sorry to ask too detail because I don't have hm2019.

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited November 2019

    Dear All,

     

    Please check below video to gain benefit, if you use the Part-Browser instead of assemblies.

    Unable to find an attachment - read this blog

  • ezzymn
    ezzymn New Altair Community Member
    edited November 2019

    Hi Rahul, 

     

    Thank you for the video, I learnt things that I wasn't expecting.

     

    But the problem still stands - I can't open the part browser in the other side, as we have our utility menu there. 
    The Assemblies don't expand in the Model Browser

    The Part Assemblies don't expand in the Model Browser. 

     

    The solution of opening another view on the right task bar just won't work for what we do. 

     

    @tinh - Enitities - Assemblies

  • Joe Kovacs_22609
    Joe Kovacs_22609
    Altair Employee
    edited November 2019

    Hi @ezzymn,

     

    You can disable auto color by entity type in the Browser Configuration dialog.  Uncheck 'Autocolor visualization mode' under Local Options.

     

    It is worth noting that Assembly View of Model browser shows only Assemblies and Components, so it is not possible to interact with entities such as Groups, Properties and Materials.  In Part browser, dedicated columns show you the Component, Property and Material associated with the Part.  See the image below:

     

    <?xml version="1.0" encoding="UTF-8"?>image.thumb.png.540bd5c88dc6ce5841c115e38966cc74.png

     

    Since Parts may not be relevant to your workflow, feel free to contact me via DM so I can learn more about your use case and offer additional assistance. 

     

    Cheers,

     

    Joe

  • tinh
    tinh Altair Community Member
    edited November 2019

     

     

    @tinh - Enitities - Assemblies

     

    I thought so.

    Could you please open command window (menu Views>command window) and then enter below command:

     

    set ::env(HMBR_CONTENT_HIDE_ASSEMBLYHIERARCHY_FOLDER)

     

    and then take a screenshot?

    I want to see the settings on hm2019

     

  • tinh
    tinh Altair Community Member
    edited November 2019

    Hi @ezzymn

    I seem to find out where the settings can be customized.

    It's exactly stored in below files:

    <install dir>/hm/scripts/br/views/model/regular/

     

    Please copy the folder 'regular' and zip it then post it here. I will modify settings and send back to you.

     

    Don't modify it by yourself because it's easy to be fault.

  • ezzymn
    ezzymn New Altair Community Member
    edited November 2019

    Hi @tinh

     

    set ::env(HMBR_CONTENT_HIDE_ASSEMBLYHIERARCHY_FOLDER)

    can't read '::env(HMBR_CONTENT_HIDE_ASSEMBLYHIERARCHY_FOLDER)': no such variable

     

    I feel like the functionality might be removed, but I appreciate you having a look. I've tried the crude attempt to copy over the 2017 files, but that segmentation faulted. 

     

     

    Many Thanks

    Eric 

    Unable to find an attachment - read this blog

  • Joe Kovacs_22609
    Joe Kovacs_22609
    Altair Employee
    edited November 2019

    @ezzymn

     

    As you have correctly deduced, there is no option to show the Assembly hierarchy in 2019.  Depending on the version of 2019 you are using, I can provide a patch that brings back legacy behavior - let me know if you are interested.  As mentioned in my previous post, I am still keen to meet to discuss our the paradigms and workflows we have in 2019.

     

    As a FYI, legacy behavior will return in 2020.  Additionally, Part hierarchy has never been shown in Model View, though this may change in the future.

     

     

     

     

     

  • tinh
    tinh Altair Community Member
    edited November 2019

    Hi @tinh

     

    set ::env(HMBR_CONTENT_HIDE_ASSEMBLYHIERARCHY_FOLDER)

    can't read '::env(HMBR_CONTENT_HIDE_ASSEMBLYHIERARCHY_FOLDER)': no such variable

     

    I feel like the functionality might be removed, but I appreciate you having a look. I've tried the crude attempt to copy over the 2017 files, but that segmentation faulted. 

     

     

    Many Thanks

    Eric 

     

    Hello

     

    I modify some things

    Please copy these modified files and overwrite the old ones

     

    If something's wrong, simply backup original files and let me know issues

    Unable to find an attachment - read this blog

  • ezzymn
    ezzymn New Altair Community Member
    edited November 2019

    @tinh, Thank you I'll try and find some time today to try it. 

     

    @joek, Sorry I haven't been ignoring you. I'll give this try from tinh a go, and if that doesn't work then a patch would be much appreciated

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2019

    Hi @tinh, it works ! Thank you!  :P/emoticons/default_tongue.png' srcset='/emoticons/tongue@2x.png 2x' title=':P' width='20' />

     

    HyperMesh2019.1_assem_hierarchy.png.df2a96904a87714adeefaef4910e58e4.png

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2019

    Hi @tinh, in 'Assemblies view' I can create Assembly/Component within each Assembly:

     

    Assemblies_view.png.7260a3f8c6f9489dadee54d883615f09.png

     

    But with 'Model view' (your modified version) I can not do that (maybe the same issue in initial version):

    Model_view.png.17e6f8e6e51811efa05d3a64b45df6e8.png

     

    Do you think it's possible to customize this context menu by adding 'Create ...' ?

     

    Thanks,

     

     

  • tinh
    tinh Altair Community Member
    edited November 2019

    Yes, I do.

    I will try hooking the menu. Just need a little time to find where it is.

  • Burner2k
    Burner2k Altair Community Member
    edited November 2019

    @joekI know you guys don't like to discuss product road maps on a forum like this, but will be there be another major dot release of 2019 HW suite (like 2019.2) before arrival of 2020 release (if we go by 2019 release time frame, it could happen almost 5-6 months in to next year)? There are lot of bugs and features missing, especially in HWX. I realize not all can be added or rectified but I am hoping for another major dot release to make HWX little more usable until 2020 release.

     

    Thanks...

  • tinh
    tinh Altair Community Member
    edited November 2019

    @joekI know you guys don't like to discuss product road maps on a forum like this, but will be there be another major dot release of 2019 HW suite (like 2019.2) before arrival of 2020 release (if we go by 2019 release time frame, it could happen almost 5-6 months in to next year)? There 

     

    I deem persons before become HM developers should be HM users, so they could upgrade software better. Anyway it's a really good software because we can do almost things by Tcl ;)/emoticons/default_wink.png' srcset='/emoticons/wink@2x.png 2x' title=';)' width='20' />

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2019

     

    I deem persons before become HM developers should be HM users, ....;)/emoticons/default_wink.png' srcset='/emoticons/wink@2x.png 2x' title=';)' width='20' />

    Yes, it's the ideal case. But in reality, that is not always true.

    The 'Model view' of 2019.0 & 2019.1 (with useless Assembly tree)  is a typical example of developers who don't take care of what users want.

     

  • tinh
    tinh Altair Community Member
    edited November 2019

    Yes, I do.

    I will try hooking the menu. Just need a little time to find where it is.

    Hi Mr. @Q.Nguyen-Dai

     

    I seem to find it in hm2017

    I don't have hm2019, could you please zip folder <install_dir>/hm/scripts/br  and post here.

     

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2019

    In your gmail box :-)

  • tinh
    tinh Altair Community Member
    edited November 2019

    :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' /> it is quite similar to hm2017

    I am sure that context menu settings of modelview are stored in .../br/views/common/menucreate.xml

    There are 3 menu items existing in that file: Assembly, Component, Multibody

    Same as hm2017

     

    Could you try closing HM, delete hmsettings.tcl , hmmenu.set then open it again.

     

    Other tests:

    1) right click on a white space to see full menu 'Create', are there Assembly, Component, Multibody in the menu?

    2) check if it is invisible by enter to cmd window:

    ::hmbr::createentity::isVisible Assemblies content ::hmbr::createentity

     

    above should return 'true'

    If it returns 'false', we will debug it later.

     

     

     

     

  • tinh
    tinh Altair Community Member
    edited November 2019

    Before enter the command, pls left click on an assembly on modelview.

  • tinh
    tinh Altair Community Member
    edited November 2019

    Hi,

    I think I found it.

    In file .../br/common/operations/createentity.tcl

     

    Please open it and go to line 70:

    if { $types == 'Assemblies' && $view == 'assemhierarchy' } {

     

     

    Please change it to be same as hm2017:

    if { $types == 'Assemblies' } {

     

     

    In hm2019 the line indicates that only assemblyview will show menu items Assembly, Component, Multibody

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2019

    Wow, wonderful!

    Thank you!

     

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited November 2019

    @tinh : Could you do the same customization for Hyperview? Thanks