« Room Boundary Location | Main | Door Marks »

September 14, 2009

Comments

Jeremy

If Revit were Jesus. You would be one of his 12 deciples.

Thank you for your hard work. Now if I could only wrap my head around this whole API thing. Enjoy your trip!

aj

Dear Jeremy,

How to use Transform class. I want transform 3d curve to reference level.
please help me about Transform class.

Thank you,
Prasad.

Dear Prasad,

Have you had a look at the following posts, which demonstrate various ways to use the Transform class?

http://thebuildingcoder.typepad.com/blog/2009/03/transform.html

http://thebuildingcoder.typepad.com/blog/2008/12/polygon-transformation.html

http://thebuildingcoder.typepad.com/blog/2009/03/transform-instance-coordinates.html

Cheers, Jeremy.

Dear Alan,

Thank you for the kudos and good luck with the API!

Cheers, Jeremy.

HI,
Thanks for your website.
I have a few questions on REVIT MEP, Arch, and Structure in general. What are the major highlights on each API? I downloaded the SDK and tried to read through. But could not get my head around it as it is very overwheleming. It would be great if you could post something in the difference between these three flavors both in terms of API and in general use. They seem to do the same thing in many cases.. I am confsued.
Thanks.
Maher

Dear Maher,

It is a pleasure, glad you like it.

By far the major part of the Revit API is identical for the three flavours, and to get started with it you need not worry about the differences. All the basic functionality and most objects that I have ever had occasion to use are provided in all three flavours.

If you try to access a property that is not available in the particular flavour of Revit that your application is running in, the property will generally simply return a null value.

You can check what flavour you are running in by querying the application object.

If you really want to know the exact differences between the three flavours of the API, it is easy enough to find out: The class diagram in the Revit SDK provided in "Revit API Class Diagram.png" shows all of the namespaces and classes defined in the Revit API and colour codes them into various groups, including separate groups for the three product flavours.

Cheers, Jeremy.

Dear Maher,

Actually, I liked your question so much I created a blog post to answer it:

http://thebuildingcoder.typepad.com/blog/2009/11/revit-api-flavours.html

Thank you for the inspiration!

Cheers, Jeremy.

Hi Jeremy,

I am loading a family in revit application.I want to add that family as connector on a particular XYZ LOCATION.
I am able to get those points xyz coordinate but not able to add as a connector. Please suggest.

Thanks in advance

Dear Neetu,

I would suggest taking a look at the Revit SDK samples. AvoidObstruction, for instance, creates new duct elements and connects them up with each other.

Cheers, Jeremy.

Hi Jeremy,

Thanks for your Support.

Regards,
Neetu

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