Python modules in Ironpyhton

I’ve retrieved some parameters from a revit model. They are Autodesk.Revit.DB.Parameter object. I want to store them in a python numpy array to use them as an input to my Machine Learning model which is using Sklearn and Pandas Libraries.

My questions are:

  1. How to convert those retrieved parameters to python array?
  2. And also is the whole process possible to be accomplished in Ironpython? Because I doubt Ironpython would be able to use Sklearn libraries.

Would you please help me out on this?

Thanks in advance.

As far as I know you cannot use these modules in Iron Python. You need to change the engine to CPython in pyRevit to use them.

1 Like