I'm not really sure about what scale your wanting to check the Flat Pattern View's scale to, because the sheet doesn't really have a scale property, only the views. But here is a fairly simple iLogic rule that will find any FlatPatternView within the active sheet of your drawing, and display its name, its Scale, its ScaleString, and whether or not it is inheriting its scale from a base view.
If ThisApplication.ActiveDocumentType <> DocumentTypeEnum.kDrawingDocumentObject Then
MsgBox("This rule '" & iLogicVb.RuleName & "' only works for Drawing Documents.",vbOKOnly, "WRONG DOCUMENT TYPE")
Return
End If
Dim oDDoc As DrawingDocument = ThisDrawing.Document
Dim oSheet As Inventor.Sheet = oDDoc.ActiveSheet
For Each oView As DrawingView In oSheet.DrawingViews
If oView.IsFlatPatternView Then
MsgBox("View Name = " & oView.Name & vbCrLf & _
"View.Scale (Double) = " & oView.Scale.ToString & vbCrLf & _
"View.ScaleString = " & oView.ScaleString & vbCrLf & _
"View.ScaleFromBase = " & oView.ScaleFromBase, vbOKOnly, " ")
End If
Next
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click 'LIKE' 👍.
If you have time, please... Vote For My IDEAS 💡and Explore My CONTRIBUTIONS
Inventor 2021 Help | Inventor Forum | Inventor Customization Forum | Inventor Ideas Forum
Wesley Crihfield

(Not an Autodesk Employee)