pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.33k stars 337 forks source link

Print name issue #1170

Closed david939david closed 3 years ago

david939david commented 3 years ago

Describe the bug I want to set name rule to pdf's, but there is an issue. As I understand it when I use: {name}-{tblockparam:Print Setting}{rev_number}.pdf it should read Print Setting (which was created for variable sizes print and works fine) from the titleblock but for every sheet, it is empty.

I've checked and it reads something from parameter "szerokość" which is the width, and "wysokość" which is the height, but I don't know what. Width is 500mm and it reads it as 1.64041994751, but for some other sheet sizes it seems to be proportional, so maybe it's a different unit.

BTW. Thank you for guide after choosing variable sizes - it's very handy! ;)

Desktop:

eirannejad commented 3 years ago

Yeah this is potentially a bug. I'll take a look. Thanks for reporting this

eirannejad commented 3 years ago

Fixed and will be published with next release

david939david commented 3 years ago

Great!