Message 1 of 2
ElevationView orientation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I create elevation view, using next code:
Dim vft As ViewFamilyType = New FilteredElementCollector(doc).OfClass(GetType(ViewFamilyType)).Cast(Of ViewFamilyType)().FirstOrDefault(Function(x) ViewFamily.Elevation = x.ViewFamily) Dim marker As ElevationMarker = ElevationMarker.CreateElevationMarker(doc, vft.Id, min, 1) Dim v As ViewPlan = New FilteredElementCollector(doc).OfClass(GetType(ViewPlan)).Cast(Of ViewPlan)().FirstOrDefault() Dim elevationView As ViewSection = marker.CreateElevation(doc, v.Id, 0)
But for different rvt files, the X and Y coordinates in the elevation view change places.
I noticed that this is due to the fact that the elevation marker has a different direction during creation.
Does anyone know how to set the direction of the elevation marker or some other solution?