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: 

RegEX function model checker

1 ANTWORT 1
GELÖST
Antworten
Nachricht 1 von 2
f.van.keulen
409 Aufrufe, 1 Antwort

RegEX function model checker

Hello,

 

I have some troubles with the RegEx function in the Model Checker Configurator.

I would like to filter the levels with a value of zero by writing them as (0) in the regex. But the problem is that not only the levels with a value zero are filtered out. But all levels that contain a zero at all. Even if this is 11 digits after the comma. When I test this on a RegEx builder it says this shouldn't happen. 

fvankeulen_0-1642410396934.png

 

Note: I noticed that the check needs to be done in feet.

 

I think it is a bug in the function, but maybe i do something wrong. Hopefully someone can help me.

1 ANTWORT 1
Nachricht 2 von 2
f.van.keulen
als Antwort auf: f.van.keulen

I found the solution by myself. The problem is that Revit does not define its level offset as an integer. Not even de built-in parameters that has a unit type for the length. So with that knowledge i defined zero as a string. So such zero itself, it will look like this 0\z. Now it will filter the levels with value 0 out of the list.

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