Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Standalone application (not plug-in). Possible?

7 REPLIES 7
Reply
Message 1 of 8
Anonymous
3193 Views, 7 Replies

Standalone application (not plug-in). Possible?

Hi there,

 

Is it possible to write a standalone C# application to maniuplate the information in a .rvt file?

I'd like to write a web page that will show some data from one of the files. In this scenario there won't be a user launching the application, so the plug-in architecture won't work.

 

Thanks.

7 REPLIES 7
Message 2 of 8
augusto.goncalves
in reply to: Anonymous

Unfortunately this is not a built-in feature, there is not COM Automation for Revit.

 

One alternative can be build around Win32 APIs, as described at http://thebuildingcoder.typepad.com/blog/2008/12/driving-revit-from-outside.html

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
Message 3 of 8
Anonymous
in reply to: augusto.goncalves

Hi,

 

we are developing a .net standalone application which should extract/Read/Write Revit Files.

 

Is this feature (Stand-alone support using COM Libraries) implemented in any recent versions of Revit?

 

Is there any SDK that autodesk providing so that we can handle these files without Revit installed?

 

Thanks in advance.

Message 4 of 8
jeremytammik
in reply to: Anonymous

Dear Balu,

 

No, sorry, the situation is still exactly as Augusto already described.

 

You cannot read or modify any Revit models without havening Revit installed.

 

The Revit API is only usable in a valid Revit API context, and that is only provided within callbacks (event handler) invoked by Revit itself.

 

Ways exist to implement Revit add-ins that react to outside events, e.g. from an external application, a modeless dialogue or others processes.

 

They are discussed in all shapes and forms on The Building Coder:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.28

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 5 of 8
Anonymous
in reply to: jeremytammik

Thanks Jeremy for your quick valuable response...

Message 6 of 8
bcheruku
in reply to: Anonymous

we are developing a .net standalone application which should extract/Read/Write Revit Files.

Is this feature (Stand-alone support using COM Libraries) implemented in any recent versions of Revit?

Is there any SDK that autodesk providing so that we can handle these files without Revit installed?

 

Is there any Open Source API available to developing a .net standalone application which should extract/Read/Write Revit Files?

Message 7 of 8

>> Is this feature (Stand-alone support using COM Libraries) implemented in any recent versions of Revit?
No, Revit doesn't support COM Automation

>> Is there any SDK that autodesk providing so that we can handle these files without Revit installed?
Not from Autodesk

>> Is there any Open Source API available to developing a .net standalone application which should extract/Read/Write Revit Files?
Not that I'm aware
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
Message 8 of 8
jeremytammik
in reply to: Anonymous

Don't miss the update on this topic here:

 

http://thebuildingcoder.typepad.com/blog/2017/05/external-access-to-the-revit-api.html

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community