1

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?

Yongjoon Kim
  • 107
  • 1
  • 8

1 Answers1

4

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

Cyril Waechter
  • 517
  • 4
  • 16