ftroshani
ftroshani

Reputation: 11

Revit Python Shell without a project open

Trying to run the NewProjectDocument command from Revit API when no project is open but I am getting this error. It seems to work fine when a project is open. Any suggestions?

RPS Error

Upvotes: 1

Views: 175

Answers (1)

Callum
Callum

Reputation: 588

Could you please update your question with you code (rather than a link)? You can copy and paste straight from the console.

In regards to you error, its line after # Define Revit Document

Youre trying to tell RPS that doc is the currenly open Document, but not having a document open throws the error.

Upvotes: 0

Related Questions