简体   繁体   中英

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM