gtalarico/revitpythonwrapper

Run outside RevitPythonShell

Closed this issue · 2 comments

wta12 commented

Tried to use RevitPythonWrapper outside Revit Envroment:
`` import rpw
[WARNING] Revit Application handle could not be found
[WARNING] RevitAPI References could not be added`
Could i use RevitPythonWrapper outside Revit ?

Hello wta12,
No you cannot use it outside of Revit/Dynamo environment. Revit API do not allow it.

You cannot use any part of it that touches the Revit API and any of its classes. That is a restriction imposed by Autodesk.
That said, the library is built to be loadable outside , so some functionalities that are independent of the API can be used (ie.Forms, Console: ipy -X:FullFrames -m rpw.ui.forms.console)