Hi All,
Is there any way to Detach the Revit Workshared model and Save it(new central) .
I want the model to be autosaved at a specific location on running my command.
Any sample code is much appreciated.
Thanks
Dear DMadhuri,
Look at the What's New section of the Revit API help file RevitAPI.chm:
New overloads for Application.OpenDocumentFile() and UIApplication.OpenAndActivateDocument()
The new overloads support parameters OpenOptions and OpenOptionsForUI, respectively, to specify how a Revit document should be opened. Both options classes currently offer the ability to detach the opened document from central if applicable.
The property:
The property:
I don't know about saving to central, though.
Best regards,
Jeremy
--
Jeremy Tammik
Autodesk Developer Network -- http://www.autodesk.com/joinadn
The Building Coder -- http://thebuildingcoder.typepad.com