09-20-2021
11:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-20-2021
11:50 AM
Might try a change with how you're declaring & defining the variable. There's also a Boolean to lookup if there's a current flat sheet metal pattern you can look up and use, I don't recall it off the top of my head.
Dim smlength as Single 'or Double
Dim smwidth as Single 'or Double
Try
smlength = SheetMetal.FlatExtentsLength
smwidth = SheetMetal.FlatExtentsWidth
Catch
End Try
Autodesk Inventor Certified Professional