Yongjoon Kim
Yongjoon Kim

Reputation: 127

How can I use NumPy in IronPython for Revit API?

I'm writing a script in Revit API by using python. I'm looking to use NumPy since I'm trying to generate a lattice grid of points to place families to. However, I know NumPy is not compatible with IronPython since it's written in CPython. Is there a solution for this? If not, is there any good way to generate a lattice grid of points without using external packages like NumPy?

Upvotes: 1

Views: 530

Answers (1)

Cyril Waechter
Cyril Waechter

Reputation: 535

pyRevit has a CPython engine available. The post I linked was the beta announcement. It is now available in pyRevit master release. Some people have already sucessfully used pandas and numpy. pyRevit use pythonnet

Upvotes: 4

Related Questions