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:
- OpenOptions.DetachFromCentralOption
can be set to DoNotDetach (the default) or DetachAndPreserve.
The property:
- OpenOptionsForUI.DetachFromCentralOption
can be set to DoNotDetach (the default), DetachAndPreserveWorksets or DetachAndPrompt.
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