The document does not regenerate

The document does not regenerate

Anonymous
Not applicable
450 Views
2 Replies
Message 1 of 3

The document does not regenerate

Anonymous
Not applicable

Hi! I change View Sheets numbers in transaction and commit all changes, but document does not regenerate. If I save and open the document again, then all changes are visible. I tried Regenerate() method of Document class, but its not helped:\

0 Likes
Accepted solutions (1)
451 Views
2 Replies
Replies (2)
Message 2 of 3

so-chong
Advocate
Advocate

Hi,

 

Did you find this thread and was it useful for you?
https://forums.autodesk.com/t5/revit-api-forum/refresh-projectbrowser-after-renaming-sheetnumber/m-p... 


Otherwise it's something else which i honestly do not know.

Message 3 of 3

Sean_Page
Collaborator
Collaborator
Accepted solution

You would find the answer in the post @so-chong listed, but the following three lines will get you what you need after you commit the transaction.

 

DockablePaneId dpId = DockablePanes.BuiltInDockablePanes.ProjectBrowser; 
DockablePane dP = new DockablePane(dpId);
dP.Show();

 

Sean Page, AIA, NCARB, LEED AP
Partner, Computational Designer, Architect