I have not been able to see how to change a view family type to a different view family name...
For example, I have "Detail Views (Detail)"
, which is the default location in the browser it places a new ViewSection.CreateDetail
section. But I want to place the view in another browser location I've created, called "Detail Views (Beam Top Detail Views)"
.
What I've tried is section.get_Parameter(BuiltInParameter.VIEW_TYPE)
, which gives me the name it has used, but it will not let me follow that up with .Set(NewViewName)
(same transaction). Is there a way to set it directly during the CreateDetail
entry, or do I have to run a separate transaction looking for all views of a given pattern, and change the setting there?