Hi @joliveira_GEG,
Building story is actually just the level the elements is attached/hosted on.
For loadable families it's mostly the parameter "Level" depending on host behavior of family.
For walls it's the parameter "Base Constraint" and so has each category it's own parameters, however the Level parameter will catch most of them.
Material name is different, as a family can contain multiple materials.
For walls, Floors and Ceilings that have a single material, "Structural Material" parameter could be used it it's checked in the type settings of the system family structure layers.
In loadable families with a single material use a Shared material parameter (and attach it to geometry) and use that in the PSet.
For loadable families with multiple materials, use a material parameter for each material. Next use a instance text parameter and define a "IfcExporter parameter expression" with the names of the material parameters.
For example the following material parameters: (these can be instance or Type)
Material_Frame
Material_Glas
Material_Door
Next use a text parameter (instance !), for example "Material_Combined"
and set it's formula to the following, include the "!:
"={$type('Material_Frame') + ',' + $type('Material_Door') + ',' + $type('Material_Glas') }"
Note the $type = for type parameter, else use $this = for instance parameters
In the user property set file add the line:
Material Name Label Material_Combined
With this the names of the materials are exported to a single line in the IFC.
for the Expressions also see: Revit IfcExporter parameter expression
Alternative is to reference all material parameters in the user property sets file (for user families).
The Building story (level) and Material name(s) can have various source parameters and can be difficult (almost impossible) to get them all.
To get all you would need a addin (like the IfcExporter itself) and save the values to dedicated project parameters which get filled in before the IFC is exported and use those in the User property sets file.
- Michel