I found this on Autocad 2016 online help
Updates the sheet view components in the sheet set of the provided AcadDatabase object.Syntax
Sync( pXDb As IAcadDatabase) As ObjectI'm attempting to "refresh" the sheet view programmatically
Document acDoc = Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument;
Database acadDatabase = acDoc.Database;
AcSmSheetSetMgr mgr
= new AcSmSheetSetMgr
();
AcSmDatabase db
= new AcSmDatabase
(); db.LockDb(db);
AcSmSheetSet ss = db.GetSheetSet();
.....
.....
db.UnlockDb(db, true);
ss.Sync(acadDatabase);
mgr.Close(db);
The above doesn't seem to work
The error shows
CS1503 Argument 1: cannot convert from 'Autodesk.AutoCAD.DatabaseServices.Database' to 'AXDBLib.AcadDatabase'Question: How do i get to AXDBLib.AcadDatabase or convert the variable acadDatabase to its proper form?
Thank you in advance
pBe