Generation of RFA files part of WCF service.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to use Revit as a Service and I need to access the document object for loading family symbols and creating newFamily Instance and saving the Document as a RFA file.
I have many families loaded and use these families to create a family instance. For this the Document object is required.
If we use Revit Addin then we get the Document object through External Command Data. If we use External Application the events gives the UIApplication Object and from there we get the Document object. This is how I am creating the RFA files.
But I need create RFA files part of WCF service.
Is there any possibility to create the Document Object using COM CoCreateInstance method for loading family symbols and creating newFamily Instance and saving the Document as a RFA file.
Or else is there any alternative solution to use the revit part of WCF service to generate the RFA files.
I am using Autodesk RevitMEP 2014.
Thanks in Advance.
Regards,
Sandesh Naik