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: 

Calculated value in Autodesk Model Checker

9 ANTWORTEN 9
GELÖST
Antworten
Nachricht 1 von 10
Anonymous
1330 Aufrufe, 9 Antworten

Calculated value in Autodesk Model Checker

I'm trying to create a check in Autodesk Model Checker (BIM Interoperability Tools) that verifies if a calculated value is bigger than zero, but the rule doesn't works. Is there a way to use calculated value parameters to create a rule?

9 ANTWORTEN 9
Nachricht 2 von 10
JasonKunkel
als Antwort auf: Anonymous

A calculated value in a schedule is not tied to the individual elements. It's tied to the schedule itself so there is no way for the Model Checker to see the value that is generated there. Maybe do some conditional formatting in the schedule? Not ideal, but might be the closest to getting what you are looking for.


Jason Kunkel
Senior Practice Manager, Architecture and Engineering
CADD Microsystems Blog
RVIT Blog | Twitter | LinkedIn
Nachricht 3 von 10
Anonymous
als Antwort auf: JasonKunkel

Thank you very much Jason. I'll try to use some conditional formatting to the schedule. What about Material Parameters? I've created a Project Parameter called "Classe" to the category Material (see an image attatched) and now i'm trying to check if it is with the correct value. Is there a way to create a check that verifies a material parameter's value?

Nachricht 4 von 10
JasonKunkel
als Antwort auf: Anonymous

Checking a custom parameter attached to a Material definitely should be doable. I made a simple checkset that looks for the parameter Classe with a value of TEST and it listed the expected Materials from the project. The filters for the check were:

 

2020-12-21_17-15-59.png

 

I did not use a shared parameter, but it should not matter. The Model Checker does not distinguish between shared parameters and project parameters.


Jason Kunkel
Senior Practice Manager, Architecture and Engineering
CADD Microsystems Blog
RVIT Blog | Twitter | LinkedIn
Nachricht 5 von 10
Anonymous
als Antwort auf: JasonKunkel

Thank you very much again Jason. I tryed the method you explained but it seems that i'm doing something wrong. When i run the rule to give me an error when a value "Concreto estrutural" is found in a material it doesn't show me an error. See on image 2 the checkset that i'm using if there's something wrong. I'm sending attached either the Revit file that i'm working on (the schedule called "Levantamento.AUX" shows the parameter Classe).

 

Actually, i'm using this checkset to test if the Autodesk Model Checker reads a custom Material Parameter, but what i'm really trying to do is to check if this parameter is within a list of possible values ("Concreto Estrutural", or "Terraplenagem", or "Formas"....). Any hints to achieve this result? Thanks in advance!

Nachricht 6 von 10
JasonKunkel
als Antwort auf: Anonymous

By default, the = check is case sensitive. I noticed your check is looking for "Concreto estrutural" while the value in the parameters is actually "Concreto Estrutural". Capitalizing that E in the second word resolved the issue for me when I was testing. There is also a toggle for Case Insensitivty that could bypass the issue, unless you needed it to match precisely. Letter case is often part of documenation standards, so the default is that case matters.

 

To the larger issue of checking versus a list of values, I would suggest you look at the Matches RegEx or Doesn't Match RegEx conditions for the checks. That is specifically designed to let you build a Regular Expression to check against. That will let you do wildcards, multiple values, etc. There are some good resources online to learn the basics. I like to use RegEx 101 to build my Regular Expressions and test them before putting them into a checkset. This is another page that I used when I was first learning RegEx.


Jason Kunkel
Senior Practice Manager, Architecture and Engineering
CADD Microsystems Blog
RVIT Blog | Twitter | LinkedIn
Nachricht 7 von 10
Anonymous
als Antwort auf: JasonKunkel

Thank you very much Jason! It's working fine now.

Nachricht 8 von 10
Anonymous
als Antwort auf: JasonKunkel

Just one more thing: is there a way to verify only the materials aplyed to an element? When i run the check the way you told me it verifyes all the materials in the project. I only want to check the materials that are aplyed to some element.

Nachricht 9 von 10
Anonymous
als Antwort auf: JasonKunkel

I'm having a new issue now regarding the use of Regular Expression. The problem is that i want to check the exact match from a list and when i use "Matches RegEx" it doesn't look for the exact match. For example: the regular expression (Take off|BM-[0-9][0-9]) should allow any value like "Take off", or "BM-10", or "BM-15"....But if i put something like "Take offs" or "iTake off" or even "BM-15j" it also allow. Is there any way to do this without using a filter for any possible value or using RegEx that checks for the exact match?

Nachricht 10 von 10
JasonKunkel
als Antwort auf: Anonymous

The characters ^ and $ can indicate the start and end of the string in RegEx. You can use these to limit to only what is between those characters. I am not a Regular Expression expert, so please be sure to use online resources to test and research.


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

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