- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi.
Im trying to write a program that will automatically modifiy a part (hydraulic fluid port) depending on what type of port you want and what size (OSB, NPT, BSP, etc...) using iLogic. To modify the internal threads, im using the "feature.setThread" function, because the type of thread can change every time. The code runs fine for AINSI unified threads, but I cant get it to work with NPT threads. I always get this error message
At the moment, the line of code responsible looks like this:
Feature.SetThread("Thread2", "NPT","1/4-18 NPT","")
I have tried using "1/4", 1/4, "1/4 - 18", and many other variations but nothing seems to work. I tried following the following recommendation:
So I use "" for the thread class but I have no idea what they mean my "use thread size instead of designation", since "1/4" doesn't work. Anybody has insight on how to use this functiuon with NPT threads? Thanks
Solved! Go to Solution.