Alien
1
I’ve whinged a lot recently about moving from Revit 21 to Revit 23…
However… I wanna say… whooooo to finally being able to use f strings everywhere 
FullPath = f'P:\\{office}\\{year}\\{subfolder}\\03-Published\\02-IssuedInfo\\Models\\{today_date} - Model Issue\\{match.group(3)}_detached.rvt'
Always annoyed me I couldn’t make them work in IronPython… So whoooo to this 
3 Likes
it’s works on IronPython3 too
Alien
3
But it didn’t work in Revit 21.
And I’m biting the bullet and upgrading 
yes, because Revit21 use Ironpython2.7 (based on python2.7) and fstring
is python3.5+ feature
however it should be noted that the fstring
function is regularly updated in the python lifecycle
Alien
5
Yep… Which is why I’m happy 
I’ve wanted to use them in Dynamo for ages 
1 Like