Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create floor Revit api 2023

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
manson.chen
810 Views, 4 Replies

Create floor Revit api 2023

mansonchen_0-1656491937243.png

Whats Api replace to

  • Autodesk.Revit.Creation.Document.NewFloor()
  • Autodesk.Revit.Creation.Document.NewSlab()
  • Autodesk.Revit.Creation.Document.NewFoundationSlab()

thanks~

4 REPLIES 4
Message 2 of 5
architect.bim
in reply to: manson.chen

Hi!

There are static methods in appropriate classes. For example, Floor.Create.


Maxim Stepannikov | Architect, BIM Manager, Instructor
Message 3 of 5

thanks ~

Message 4 of 5

thank you~
Message 5 of 5

Hi,

 

The previous code (Create.NewFloor) took a List<CurveArray>. Floor.Create() takes a List<CurveLoop>. Is there a way to convert one to the other?

 

Thanks,

Dan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report