Revit Model Checker - Material and parameter check

Anonymous

Revit Model Checker - Material and parameter check

Anonymous
Not applicable

Hello,

 

I'm trying to configure 2 specific check :

1 - Listing all Materials names in the model

2 - I want to check if a Project Parameter or a Shared Parameter exists in the model

 

Problem :

1 - I dont know how to get this list

2 - I don't know what is the Built-in Parameter name of a Project Parameter/Shared parameter to check if it exists

0 Likes
Reply
4,116 Views
17 Replies
Replies (17)

Viveka_CD
Autodesk Support
Autodesk Support

Hi @Anonymous

 

Can you share a model to test and what version of Revit you use?

 

Regards,

 

0 Likes

Anonymous
Not applicable

Hi @Viveka_CD, I'm using Autodesk example (architectural and/or the MEP) models and Revit 2018.3.

0 Likes

Anonymous
Not applicable

@Viveka_CD

Do you want me to send the XML file I'm using for the test ?

0 Likes

Avaris.
Advisor
Advisor
0 Likes

Anonymous
Not applicable

Thank you for the APP tip but I want to use the BIM Interoperability tool so I don't have to run several tools and then concatenate datas.

0 Likes

Viveka_CD
Autodesk Support
Autodesk Support

@Anonymous wrote:

@Viveka_CD

Do you want me to send the XML file I'm using for the test ?

 


Hi @Anonymous

Yes, please send us all the files to test further.
Revit - Collecting and sending diagnostic data to Autodesk Technical Support

 

Regards,

 

0 Likes

Anonymous
Not applicable

Here are the files I use.

0 Likes

JasonKunkel
Collaborator
Collaborator

For the Material List, if you build a check with a single filter of the category OST_Materials, this should give you what you need. I have attached a sample. I'll try to dive into the parameters question. That may be more difficult.

 

 


Jason Kunkel
Senior Practice Manager, Architecture and Engineering
CADD Microsystems Blog
RVIT Blog | Twitter | LinkedIn

Anonymous
Not applicable

Ok, thank you, I'll try this option.

0 Likes

Anonymous
Not applicable

Thank you @JasonKunkel, that was exactly what I was looking for.

 

I have another question, maybe you know the answer.

 

I'm trying to build a check where I give the user an opportunity to check if a parameter is here and if it's associated to a specific category.

 

Here is what I built but it doesn't work.

 

parameter check.PNG

0 Likes

JasonKunkel
Collaborator
Collaborator

Glad the Material check worked.

For the parameters - there is no way to let users input the name of a parameter to check against a category. If you already know the category and parameter name, you can see if it has been assigned with a check like this:

myparam.png

This check will look for a parameter called "My Parameter" in the Walls category and fail if it that parameter isn't assigned to that category.

 

If you need user input for the Parameter name, you can create a check that allows that to see if it's in the model. However, you cannot filter that down to a category. That would look like this (needs some testing):

mypname.png

 

This may be way too deep, but hopefully it will help you with the Model Checker. As a rule, for the Advanced checks, the Model Checker can take "one step" deep into the Revit database. I can go to the Walls and see if they have a specific parameter because that information is in the Wall element. In the Revit database, going from the parameter to all the categories it is associated with is actually "two steps", because I have a table of parameters, but I also have a table of categories. The parameter just refers to the category table to know where it is assigned. That data isn't "inside" the parameter element.

 

I might have made that more confusing than I meant to. If you are not using the Revit Lookup tool (2019 installer here), I would strongly suggest downloading it and installing it. This gives you a peek into Revit as a database structure and is extremely useful when trying to build more complicated checks.


Jason Kunkel
Senior Practice Manager, Architecture and Engineering
CADD Microsystems Blog
RVIT Blog | Twitter | LinkedIn

Anonymous
Not applicable

Very nice plug-in you gave me ! Thank you.

 

I tried to set a test as you described and check if the "Comments" parameter existed but it gives an error.

 

I wrote this :

test.PNG

 

And it gave me this message :

fail.PNG

Any idea why it's not working ?

0 Likes

JasonKunkel
Collaborator
Collaborator

Sorry, I didn't clarify. This will only work with custom parameters. Since "Comments" is a built in parameter, this check won't find it. You need to test with a project or shared parameter that you created in the project.

 

Are you looking to see if a parameter EXISTS or if it HAS VALUES in it? I thought you were just checking if a parameter exists in the model.


Jason Kunkel
Senior Practice Manager, Architecture and Engineering
CADD Microsystems Blog
RVIT Blog | Twitter | LinkedIn
0 Likes

Anonymous
Not applicable

Oh, ok, it's fine if it checks only with custom parameters.

 

I was trying with Comments because it's a common parameter.

 

I'm looking to see if a parameter exist. Then I might look for the value but first if it exists.

0 Likes

Mostafa.M.Ahmed
Explorer
Explorer

Hii @JasonKunkel 
Speaking of the materials and the model checker.
I tried to check the material of all the placed model elements and list the elements without material but I am stuck. As an expert, you may have a solution and are happy to share it with us. Thanks in advance.

MostafaMAhmed_0-1675674661906.png

 

0 Likes

jzhangDZ5QR
Explorer
Explorer

Hi All

 

I also have a quite same question regarding on list down the project parameter in auto checker report. Is there any way to list out how per project parameter name in model checker report. thx

0 Likes

gabrielchiew
Contributor
Contributor

Hello, @Anonymous 

 

I am not sure if you found the solution since it has been years, but this helped me to search for either parameter (Komponen_IBS_jkr_sty or Tarikh_CMGD_jkr_sit) does not exist in the element. 

 

gabrielchiew_0-1713321064127.png

 

Model Checker will show the report fail, if either parameter does not exist in the listed categories. 

 

Hope this helps.

0 Likes