Message 1 of 5

Not applicable
05-13-2014
07:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Guys & Girls,
I found this script through the forum (see below), which highlights the view scales within a drawing. I was wondering if it could be adapted, so that the rule only takes the view scales of the active sheet at the time the rule is ran?
As currently it runs the script takes all the sheets and all the views that are in the drawing document.
Any help would be greatly apprieciated. 🙂
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 5960 StartFragment: 314 EndFragment: 5928 StartSelection: 314 EndSelection: 314 SyntaxEditor Code Snippet
'active drawing documentDimoDrawDocAsDrawingDocument=ThisDrawing.Document'get scale of all views in this drawing documentForEachoSheetAsSheetInoDrawDoc.SheetsForEachoViewAsDrawingViewInoSheet.DrawingViewsMessageBox.Show("Sheet: "&oSheet.Name&vbNewLine&vbNewLine&_"View: "&oView.Name&vbNewLine&vbNewLine&_"Scale: "&oView.Scale, "View Scale")NextNext
Solved! Go to Solution.