Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Mirrored Sheet Metal Parts

AnthonyB7
Enthusiast

Mirrored Sheet Metal Parts

AnthonyB7
Enthusiast
Enthusiast

Good day Everyone! 

 

I have a sheet metal template in inventor where in I have linked the bounding box of the flat pattern to my custom iproperties. I also have linked this iproperty with the parts list template for the width and height. Now my issue is I have a mirrored part of the same thing and the properties for the flat pattern differs on the iproperty and its giving me BOM errors. The original part was measured with a height of 58.047431006501 and the mirrored part as measured with a height of 58.0474310065012. It was a difference of 0.xxx-xxxxxxxx2! -_-

0 Likes
Reply
Accepted solutions (1)
325 Views
4 Replies
Replies (4)

dalton98
Collaborator
Collaborator

It might be giving an error because the value is to long. Try a rounding function

Dim extents_length As String = Round(SheetMetal.FlatExtentsLength, 3)
'or
roundedClosest = Round(Round(SheetMetal.FlatExtentsLength,4) / 0.0625) * 0.0625 & " in" MessageBox.Show(roundedClosest)
0 Likes

AnthonyB7
Enthusiast
Enthusiast
Thank you for the reply. Where do I add this code Dalton?
0 Likes

dalton98
Collaborator
Collaborator
Accepted solution

Replace the extent string values in your other code 

Dim extents_length As String = SheetMetal.FlatExtentsLength
Dim extents_width As String = SheetMetal.FlatExtentsLength

 with

Dim extents_length As String = Round(SheetMetal.FlatExtentsLength, 3)
Dim extents_width As String = Round(SheetMetal.FlatExtentsWidth, 3)

AnthonyB7
Enthusiast
Enthusiast
Thank you Dalton, This works way better now. Thank you again.
0 Likes