Message 1 of 5

Not applicable
05-26-2016
12:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I have a code snippet here, and i was wondering if i can use this to only change one certian view scale and not mess with the other scales?
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 6555 StartFragment: 314 EndFragment: 6523 StartSelection: 314 EndSelection: 314SyntaxEditor Code Snippet
Dim oDrawDoc As DrawingDocument = ThisDrawing.Document Dim oSheet As Sheet Dim oSheets As Sheets Dim oView As DrawingView Dim oViews As DrawingViews Dim oScale As Double oSheets = oDrawDoc.Sheets For Each oSheet In oSheets oViews = oSheet.DrawingViews For Each oView In oViews oScale = InputBox("Enter Desired Scale", "Scaler", "1") If oView.ScaleFromBase = False Then oView.Scale = oScale End If Next Next
Solved! Go to Solution.