Using (Transaction t = new Transaction(doc,"Set View Template"))ĭoc.ActiveView.ViewTemplateId = viewTemplate. How do I export View Templates from this article's downloadable files To export the View Templates from our project file to yours, first you must have both files open in Revit. Where v.IsTemplate = true & v.Name = "MyViewTemplate" View viewTemplate = (from v in new FilteredElementCollector(doc) public void ApplyViewTemplateToActiveView()ĭocument doc = ![]() I’m looking to devise a View Template Compare tool and access to the owner and creator of them. I am trying to list the view template’s properties so we can compare them with another old template.įor example what model elements are hidden or have overrides in a given template or which Revit links have been hidden or overridden in a given template.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |