Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Revit Model Checker - Material and parameter check

17 ANTWORTEN 17
Antworten
Nachricht 1 von 18
Anonymous
3731 Aufrufe, 17 Antworten

Revit Model Checker - Material and parameter check

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

17 ANTWORTEN 17
Nachricht 2 von 18
Viveka_CD
als Antwort auf: Anonymous

Hi @Anonymous

 

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

 

Regards,

 

Nachricht 3 von 18
Anonymous
als Antwort auf: Viveka_CD

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

Nachricht 4 von 18
Anonymous
als Antwort auf: Viveka_CD

@Viveka_CD

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

Nachricht 5 von 18
Avaris.
als Antwort auf: Anonymous
Nachricht 6 von 18
Anonymous
als Antwort auf: Avaris.

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.

Nachricht 7 von 18
Viveka_CD
als Antwort auf: Anonymous


@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,

 

Nachricht 8 von 18
Anonymous
als Antwort auf: Viveka_CD

Here are the files I use.

Nachricht 9 von 18
JasonKunkel
als Antwort auf: Anonymous

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
Nachricht 10 von 18
Anonymous
als Antwort auf: JasonKunkel

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

Nachricht 11 von 18
Anonymous
als Antwort auf: JasonKunkel

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

Nachricht 12 von 18
JasonKunkel
als Antwort auf: Anonymous

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
Nachricht 13 von 18
Anonymous
als Antwort auf: JasonKunkel

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 ?

Nachricht 14 von 18
JasonKunkel
als Antwort auf: Anonymous

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
Nachricht 15 von 18
Anonymous
als Antwort auf: JasonKunkel

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.

Nachricht 16 von 18
Mostafa.M.Ahmed
als Antwort auf: Anonymous

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

 

Nachricht 17 von 18
jzhangDZ5QR
als Antwort auf: Anonymous

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

Nachricht 18 von 18
gabrielchiew
als Antwort auf: Anonymous

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.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report