- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Inventor Thread Size iLogic
I'm looking to make custom bolts, with threads of different sizes (bolt diameter), and I've seen at least one other forum post and it seemed the easy answer was to make multiple different iParts, one for each different bolt diameter. I'm pretty new to iLogic, but it seems to me that it is capable of handling this in one iPart.
I've put in this If-Then rule, and it runs without issue at first, but when switching to the different diameter of bolt it still gives the error code that "Problems occurred while building this Thread: Inappropriate Thread Size".
Can anyone shed any light on this? If it's not possible, I suppose we can just have different iParts for each bolt diameter. Thanks in advance.
If dia = 0.5 in Then
Feature.ThreadDesignation("Thread1") = "1/2-13 UNC"
Else If dia = 0.625 in Then
Feature.ThreadDesignation("Thread1") = "5/8-11 UNC"
Else If dia = 0.75 in Then
Feature.ThreadDesignation("Thread1") = "3/4-10 UNC"
Else If dia = 0.875 in Then
Feature.ThreadDesignation("Thread1") = "7/8-9 UNC"
Else If dia = 1 in Then
Feature.ThreadDesignation("Thread1") = "1-8 UNC"
End If