Closed DuncanLithgow closed 4 years ago
Hmmm. The error message Exception: A managed exception was thrown by Revit or by one of its external applications.
from Revit doesn't help me much.
Any chance I can get a stripped down copy of a model that causes the issue? I basically need to figure out what is special on your machine or model that is making the printing unhappy
Thanks so much for the awesome error report btw 👍
I can't provide you with any type of copy of this model without stripping it quiet extensively. I might probably get in trouble just sending you a stripped down template file. I assume this would make it useless to you. I can mention that this is a BIM360 Documents project if you think that makes a difference. It shouldn't. I have no problems with my other PDF export tools.
@DuncanLithgow Fair.
Are there any addons or blocks that might not allow the tool to set the current print settings? I'm looking at the line 763 on the script which is the one failing. It's print_mgr.PrintSetup.CurrentPrintSetting
and is trying to set the current print settings to the selected setting on the Print Sheets window
There are a few addins, two of them have functions that affect printing. Should I try and disable them for a session?
Maybe. Try disabling those and see. This is baffling me. Never seen this one before
Merged with https://github.com/eirannejad/pyRevit/issues/901
What is "Heisenbug"?
A bug that is hard to find hahaa
Describe the bug Failure to print to PDF
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots
Desktop (please complete the following information):
Additional context