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 - checking naming

2 ANTWORTEN 2
GELÖST
Antworten
Nachricht 1 von 3
jens.lathouwersMR29R
1172 Aufrufe, 2 Antworten

Revit model checker - checking naming

Hi all,

 

I'm currently working on a checkset where i want to be able to check if a  certain element has the correct naming scheme. The fist part of this scheme though, is a part where the amount of characters is not limited, and it can be both letters and numbers. What expression can i use to accomodate for this?

 

Example:

 

The naming scheme needs to be [free text]_30_DO_WB_[free text]

 

I hope this is clear. 

 

Thanks in advance.

 

Jens

Beschriftungen (1)
2 ANTWORTEN 2
Nachricht 2 von 3

There are a couple ways to tackle this, but there are some nuances to tackle:

 

.* will allow any character any number of times

[a-z,A-Z,0-9]* will allow any lower or upper case letter or number any number of times

 

I would recommend leveraging a page like Regex101 to look through the options and test things out.


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

Thanks for the reply, this is what I need. 

 

Thanks for the link as well, very usefull!

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