Standalone application (not plug-in). Possible?

Standalone application (not plug-in). Possible?

Anonymous
Not applicable
3,702 Views
7 Replies
Message 1 of 8

Standalone application (not plug-in). Possible?

Anonymous
Not applicable

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.

0 Likes
3,703 Views
7 Replies
Replies (7)
Message 2 of 8

augusto.goncalves
Alumni
Alumni

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
0 Likes
Message 3 of 8

Anonymous
Not applicable

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.

0 Likes
Message 4 of 8

jeremytammik
Autodesk
Autodesk

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

0 Likes
Message 5 of 8

Anonymous
Not applicable

Thanks Jeremy for your quick valuable response...

0 Likes
Message 6 of 8

Anonymous
Not applicable

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?

0 Likes
Message 7 of 8

augusto.goncalves
Alumni
Alumni
>> 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
0 Likes
Message 8 of 8

jeremytammik
Autodesk
Autodesk

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

0 Likes