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: 

Crete a face as offset of another one using revit API

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
926 Views, 2 Replies

Crete a face as offset of another one using revit API

Hello friends!

Needs your help. Is there a way to crete a face as offset of another one using revit API? 

just for show what i need: as it usually happens while creating a roof by face.

123213.png

 

Tags (3)
2 REPLIES 2
Message 2 of 3
jeremytammik
in reply to: Anonymous

The CurveLoop class has a CreateViaOffset method:

 

https://apidocs.co/apps/revit/2019/6cffc624-d197-0f3b-b68c-26b9c9a0adf8.htm

 

However, it does look as if the face class provides any creation methods at all.

 

Maybe a Face can only be obtained as a read-only view of a solid or something?

 

Cheers,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 3
Anonymous
in reply to: jeremytammik

Thanks Jeremy! Seems the BRepBuilder class the best way to do what I want. I loked up through your exsamples about solid creation with that class. But i haven't found a way to make a hole in face when the face is creating. Maybe there no any sence to have an opprtynity making that and boolian operation cover all situations... My final goal is to create the solid by picked faces in the same way the roof by face create

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

Post to forums  

Autodesk Design & Make Report