08-01-2019
08:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-01-2019
08:31 AM
Hi, Your rule has not given me problems.
Only I have to tell you some things, I have added some lines to activate or deactivate the thread, if it is not in the defined ranges. Because otherwise I would give error.
Feature.IsActive("Thread1")= True If dia = 0.5 in Then Feature.ThreadDesignation("Thread1") = "1/2-13 UNC" Else If dia = 0.625 in Then MessageBox.Show("Message", "Title") 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" Else Feature.IsActive("Thread1")= False End If
On the other hand, understand the difference with ipart and make an ilogic component, if you need many instances of the different measures component, with ilogic you cannot do it with the same part. You will need to copy the file with a new name and configure this new file for your need. If you face this case, a ipart would be a better solution.
I hope I have been clear, and this can help with your problem. regards
Please accept as solution and give likes if applicable.
I am attaching my Upwork profile for specific queries.
Sergio Daniel Suarez
Mechanical Designer
| Upwork Profile | LinkedIn