Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66776

Automatic Creation of Void Extrusion Element/ Retrieve Cut Area from element

$
0
0

Hello Everybody,

 

I’m finding it difficult to find any informative material on a subject in the API that I was hoping might have already been explored.

 

Specifically I was hoping there would be an instance where a “model in place” void element is programmatically created in the model using given parameters for shape and dimensions.

 

For my purposes I was hoping to find a way to use an existing Solid Extrusion Element’s Geometry to define the geometry of this void as I create it.

 

The overall point would be to:

 

Have a Transparent extrusion hidden in the model that represents the Property Boundary for the Site of the Building, and the area 900 mm in from it (like a 3D cubic Object that represents the legal fire rating zone).
Create a list of elements from the exterior of the building that need to be tested for needing a fire proof layer; (such as Walls, Soffits ETC).


Then in the same transaction:

create a void Extrusion element the same shape and size as the Solid extrusion,
Iterate through each of the elements in need of testing and attempt to cut them with the void,
if the cut is successful record the cut area of the element that is being tested,
Keep that as the area of that element that needs to be fire rated,
Then having tested all the relevant elements Rolling back the transaction.

 

I Don’t Know if that is even possible, but I thought it might allow me to automatically store the required fire rated area for each element. All the drafts person has to do is draw in a Solid extrusion 900 mm wide and as tall as the building based on the plan of subdivision and hide it in the model.

 

I would be really Stoked for any advice, references or links that seem relevant to the task. it would be much appreciated.

 

I have attached an image that may help with visualizing the problem.

 

Regards,

Jack.


Viewing all articles
Browse latest Browse all 66776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>