« Using Namespaces | Main | Web Service »

December 10, 2008

Comments

I have found your posts to be very interesting although i do not understand them completely. Could you give me some advice for where to find information on building codes in revit? Many thanks.

Dear T.,

Thank you very much, I am glad you find it interesting. What building codes are you interested in? Switzerland? France? Sweden? Sorry, just a joke. Actually I have no idea whatsoever. As far as I know, most countries have their own building codes. The name of the blog is indeed a pun on buiding codes and coding as in programming, but I am only involved in the programming side, and am sorry to say I have no advice at all to give relating to building codes.

Good luck and best regards, Jeremy.

Hi Jeremy,
if I have an array of 3d points how can I do to get volume information ?
Thank's in advance

Hi Max,

Thank you for the wonderful question. The answer is not simple. I will reply to it in a separate blog post very soon. Keep your eyes peeled.

Cheers, Jeremy.

Hi Max,

Here it is:

http://thebuildingcoder.typepad.com/blog/2009/06/convex-hull-and-volume-computation.html

Cheers, Jeremy.

Hi Jeremy,

Thanks for very useful posts about slab geometry. This one is probably the most advanced piece of Revit slab geometry analysis out on the internet at the moment, however I am facing a more complicated problem that seems to have never been discussed: I need to create a slab that apart from holes might have areas of different thickness (depressions, extrusions, etc.). Is there a way to do this programmatically? The only partial solution that I have come up is splitting a slab to a number of subareas of constant width and creating a separate slab for each subarea. This is involves some serious geometrical calculations and seems to be very awkward, knowing that such cases can be relatively easily be handled in Revit UI. E.g. one possible way to create a depression, described in the ‘Mastering Revit Structure 2009’ is as follows:

To create a depression in a slab:
1. Go to a plan view of the slab;
2. On the Modeling menu, click Create..;
3. Select Floors for the category and name the new family something descriptive like Depression First Floor. That puts you into Sketch mode;
4. On the Modeling menu, click Void Form -> Void Extrusion;
5. Click Lines and use the drawing tools to make the boundary of the depression;
6. Click Extrusion Properties on the Sketch menu;
7. Set the extrusion end value equal to the depth of the depression;
8, Click Finish Sketch;
10. On the toolbar click the Cut Geometry button;
11. Select the slab or deck and then select the void;
12. Click Finish Sketch, and Revit Structure creates the depression.


Any ideas would be greatly appreciated.
Kind regards,

Justas

Dear Justas,

You did not reveal to us what you did in step 9. Is that a private secret of yours? :-)

Have you tried the SlabShapeEditor class using a floor with a variable thickness layer?

Its use is demonstrated by the Revit SDK SlabShapeEditing sample.

Cheers, Jeremy.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)

Jeremy Tammik

AboutTopicsIndexSource