How can I convert components to properties? Now my inherited model consists of several components that are grouped under the same property...

Jonas Björk
Jonas Björk Altair Community Member
edited November 2020 in Community Q&A

Now my inherited model consists of several components that are grouped under the same property.

And hence outside hypermesh I cannot sort one component from the other.

Tagged:

Answers

  • Richard Heslouin_22010
    Richard Heslouin_22010
    Altair Employee
    edited November 2020

    Hello,

    Could you give more details ? Do you try to import a solver deck model ? Which solver do you use ? 

    If you import a solver deck, at the import, you can choose how to organize your model (by one component, by property...)

    If your question is that you need to export a model organized by property to be able to sort your model outside HyperMesh, you have to create the equivalent property. If you specify your solver deck, we could create a simple macro to create one property per component.

    Thanks in advance for your feedback.

  • Jonas Björk
    Jonas Björk Altair Community Member
    edited November 2020

    Optistruct is the deck I use. A macro sounds great!

     

  • Richard Heslouin_22010
    Richard Heslouin_22010
    Altair Employee
    edited November 2020

    Can you tell me what kind of elements (1D ? , 2D ? , 3D ? )do you use ? If I understood correctly, you need to export a model where you didn't yet define the properties, is it correct ? 

    If it is an OptiStruct deck in which software do you want to go where you cannot sort by component ? 

  • Jonas Björk
    Jonas Björk Altair Community Member
    edited November 2020

    I use 3D elements. All components have an assigned property but some components share the same property. I would like each component to have its on property.

  • Richard Heslouin_22010
    Richard Heslouin_22010
    Altair Employee
    edited November 2020

    Please find in attached a simple macro to create one property per component. The name of the property will be the same as the component.

    To avoid any mistake, can you delete the already properties assigned to your component ? 

    At the end, you will need to assign material to the properties created. 

    Let me know if it works in your case.

  • tinh
    tinh Altair Community Member
    edited November 2020

    Hi,

    you can use "Auto Property" tool in tab Utility [FEA]

    you need to display only comps sharing same property and then click on this button.

    image