Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The picture below pretty much sums it up:
I'm using Inventor 2023. I've used another property (ByMaterial) of DrawingViewHatchRegion with great success.
The description for the Scale property tells me it is a Double and:
Read-write property that specifies the scale of the distance between lines.
Why does the compiler tell me it expects a '('?
Private Sub Test()
Dim iDoc As DrawingDocument: Set iDoc = ThisApplication.ActiveDocument
Dim oSheet As Sheet: Set oSheet = iDoc.ActiveSheet
Dim oView As DrawingView
For Each oView In oSheet.DrawingViews
Dim oHatch As DrawingViewHatchRegion
For Each oHatch In oView.HatchRegions
oHatch.Scale = 0.2
Next oHatch
Next oView
End Sub
Solved! Go to Solution.