Hello, I’m writing a script which basically duplicates a full sheet from one ‘template’ assembly to another assembly (without any sheets or views previously made). When running
AssemblyViewUtils.CreateDetailSection(doc, assembly.Id, AssemblyDetailViewOrientation.SetThisValue)
it requests the assembly detail view orientation (i.e. Elevation Front, Elevation Top, DetailSectionB, etc.).
Is it at all possible to get this data from another viewport? I’ve tried
and a few others but no luck. Any guidance would be greatly appreciated!