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: 

Remove solid openings

1 REPLY 1
Reply
Message 1 of 2
chema.jimenez
432 Views, 1 Reply

Remove solid openings

chema.jimenez
Participant
Participant

Hello evereybody,

I am trying to create with the same geometry of another solid but removing all is openings. (eg. a wall without windows)

I have tried extratcting all external curve loops of the faces with openings and create a kind of extrusion mode in the Geometry creatio utilities class.

Unfortunately, I have found the problem when my solid, in this case a wall is curved (see attachment).

Is there any metdod in the geometry creation utilities class that allows to create a solid using non planar curve loops?

Many thanks in advace.

0 Likes

Remove solid openings

Hello evereybody,

I am trying to create with the same geometry of another solid but removing all is openings. (eg. a wall without windows)

I have tried extratcting all external curve loops of the faces with openings and create a kind of extrusion mode in the Geometry creatio utilities class.

Unfortunately, I have found the problem when my solid, in this case a wall is curved (see attachment).

Is there any metdod in the geometry creation utilities class that allows to create a solid using non planar curve loops?

Many thanks in advace.

1 REPLY 1
Message 2 of 2

jeremytammik
Autodesk
Autodesk

You could try this:

  

  • Start a transaction
  • Remove all the wall openings
  • Query the wall for its solid geometry
  • Duplicate the solid
  • Roll back the transaction to restore the wall to its original state
  • Start a new transaction
  • Use the solid to create the desired new geometry
  • Commit

  

How does that sound?

 



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

0 Likes

You could try this:

  

  • Start a transaction
  • Remove all the wall openings
  • Query the wall for its solid geometry
  • Duplicate the solid
  • Roll back the transaction to restore the wall to its original state
  • Start a new transaction
  • Use the solid to create the desired new geometry
  • Commit

  

How does that sound?

 



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

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

Post to forums  

Autodesk Design & Make Report