« Migrating VSTA Macros to SharpDevelop | Main | DevCamp and Refresh Display for a Kinetic Facade »

April 05, 2012

Comments

I am also in the process of upgrading some existing code in Revit 2012 and was running into an issue. I was previously using famiysymbol class to reference light fixture types. In the process of upgrading my FamilySymbols to ElementTypes, I noticed that the Family property is missing. It is no longer an option in the API as it was with FamilySymbol.family and I did not see any reference to it in the DB snoop (although Light Fixtures are still classified as FamilySymbols in Revit 2012). Any idea how I can access the family of an ElementType? Thanks.

How to get the element in Revit 2011 API?

Dear Aleksey,

In C#, you can use

doc.get_Element( id );

Cheers, Jeremy.

Hai JEREMY TAMMIK
how do i retrieve the element parameters properties and their values

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