« Revit API Cases 1 | Main | Installing the Revit 2010 SDK »

April 08, 2009

Comments

hi,

I have built the application in VS 2008 Express edition and Revit 2010.
when I run the application through the code it opens Revit. Now If I try to Open the Project the revit closes and the code stops running.
has any one faced this problem, or I am going wrong any where.

Thanks,

KK

Hi Kiran,

One thing that is easily and often wrong is leaving the 'Copy Local' flag on the reference to RevitAPI.dll set to its default value of True. You need to set it to False to run Revit with your add-in.

Cheers and good luck, Jeremy.

Hello Jeremy,

Can you point me to material, blog or forum that discusses how to insert Code Regions from the SDK material into existing code?

I'm learning to code so any basic level information that you can provide me would be a big help.

I figured out how to do the Hello World tutorial located at the beginnning of the Revit 2010 API user Manual, but now I would like to expand on the information by utilizing the additional code regions supplied in the User Manual but I continue to get errors.

I'm sure it's basic in nature but because of my limited experience difficulty is around every corner.

Again, if you could supply me with a simple tutorial showing how to insert a code region into existing code would be very helpful.


Thanks alot,

Vince

Dear Vince,

Thank you for the question. I just created a new post to respond to it:

http://thebuildingcoder.typepad.com/blog/2009/10/namespaces.html

I hope that answers your question.

Cheers, Jeremy.

Hi
I am Dhiraj .I have to acess Wall Type Properties in which i want a value of "Function".The Function value Indicates Wall is "Interior"or "Exterior" etc. Please can you help me?


Thnaks
Dhiraj

Dear Dhiraj,

You can access that property via the built-in parameter FUNCTION_PARAM on the wall element.

An exampe of this is given in the method IsExterior in

http://thebuildingcoder.typepad.com/blog/2010/01/south-facing-walls.html

Cheers, Jeremy.


Hi..
Actually i'm new in Revit and BIM stuff. I need your advice. I need to develop the Application to link from Revit to Database. I knew that in revit, we can import model to database. But in my case, the requirement is the Application have to do the extraction. Is it possible to do that? What language is better to develop an application and what database can support Revit?

Thank you.
Abidah

Dear Abidah,

Sure it is possible. You can use any language you want. My preference is mostly C#, but you can just as well use VB or managed C++ or any other language supporting the .NET framework:

http://thebuildingcoder.typepad.com/blog/2010/07/visual-studio-2010-and-the-net-framework.html

Same thing for the database, you can connect any database that you like to Revit, as long as it provides an API to drive it programmatically.

You are completely free in all your choices!

This might be of interest:

http://thebuildingcoder.typepad.com/blog/2009/07/integration-with-a-database-or-erp-system.html

Cheers, Jeremy.

Hi Jeremy,

I have quite an extensive experience in Revit though I still like and am using Revit 2009.

In our typical projects, we insert quite a lot of generic models or if you like, families for the purpose of scheduling and then we tag them and adjust their position separately. While Revit allows us to use the "tag all" I wonder if we can see the model or family pre-tagged as we are inserting them as the user needs to identify visually what is being placed in the project. Is there a way of achieving this even if it is through an API?

Appreciate your response!

Thanks

Dear Ali,

I cannot say much specifically about your problem, but it sounds to me as if one powerful way to achieve what you need could be implemented using the DMU or dynamic model update.

It enables you to register an updater that reacts to specific changes in the model, so that for instance each insertion of a suitable family instance could trigger an updater to automatically tag it appropriately.

Oh no, that is Revit 2012. Sorry. Hmm, nope, for Revit 2009 I have no idea. Good luck!

Cheers, Jeremy.

Where can I find activation code from rev it architecture 2009

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