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

Moderator: GiD Team

Post Reply
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.

Post by jinsu421 »

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: 1915
Joined: Sun Sep 05, 1982 10:51 pm

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

Post by escolano »

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.
Post Reply