I have a question about a material count(on layers) and matched material and elements.

Moderator: GiD Team

jinsu421
Posts: 19
Joined: Tue Jul 10, 2018 5:38 am

I have a question about a material count(on layers) and matched material and elements.

Postby jinsu421 » Mon Mar 11, 2019 8:29 am

I want to sort by material. (pre, post mode)

What is the maximum number of materials that can be represented in a layer?

Our model has material property about 2000+ (and more).
User avatar
escolano
Posts: 1512
Joined: Thu Sep 18, 2014 3:31 pm

Re: I have a question about a material count(on layers) and matched material and elements.

Postby escolano » Mon Mar 11, 2019 12:53 pm

In preprocess the material if of an entity is stored as a signed integer of 4 Bytes (the maximum id the is 2^31=2.147.483.648)
and material is not related with Layers, a geometry/mesh entity has a Layer pointer and a material index.


In postprocess there are not materials, but depending on the variable PropertyToPost, when changing from pre to post is possible to try to have in post the same 'sets' as layers of pre (PropertyToPost=Layer, that is the default value), or try to have the same 'sets' as materials (PropertyToPost=Material)
The maximum amount of sets is also 2^31

But if there are o very big amount of materials or sets and you try to open its GUI windows,
these windows show a list widget and are not prepared to show thousands of items, it could be very very slow.

Return to “Mesh”

Who is online

Users browsing this forum: No registered users and 0 guests