[Ri...] Posted Wednesday at 02:04 PM Share Posted Wednesday at 02:04 PM I thought I had asked this once before, but I am not finding anything. I have a plane; it has a value for the circle scan. Can I extract that value? Link to comment Share on other sites More sharing options...
[Ma...] Posted Wednesday at 02:58 PM Share Posted Wednesday at 02:58 PM I have tied hands, but would help this? I only got list, but i can not continue with selection - no pcm lic getNominal("Rovina1").measElement.technology.list Link to comment Share on other sites More sharing options...
[Ch...] Posted Wednesday at 05:09 PM Share Posted Wednesday at 05:09 PM Try this (for inch units ; for metric remove /25.4) : PlanePathCenter=(getActual("Plane1").measElement.technology.actSegmentObject.diameter)/25.4 😃 Link to comment Share on other sites More sharing options...
[Ri...] Posted yesterday at 01:18 PM Share Posted yesterday at 01:18 PM Chris, just an FYI, but there is now a convert function built into PCM. 🙂 convert(1, "length", "mm", "inch") Link to comment Share on other sites More sharing options...
[Ch...] Posted yesterday at 01:48 PM Share Posted yesterday at 01:48 PM Richard, Yes thank you I was aware of this havent used it much, I should start, thanks again - very helpful ! Link to comment Share on other sites More sharing options...
[Ri...] Posted yesterday at 02:04 PM Share Posted yesterday at 02:04 PM I just started using it yesterday. Before I would have used if statements haha. I'm not a huge fan of it as it's just increasing the complexity of the code, but it is nice to use if needed. Link to comment Share on other sites More sharing options...
[Ri...] Posted 2 hours ago Author Share Posted 2 hours ago (edited) Please sign in to view this quote. I generate an error. PCM doesn't like "Access Attribute = diameter". Object "#68.3,1c2 Ø.6299 Min" is a Result element. Edited 2 hours ago Link to comment Share on other sites More sharing options...
[Ma...] Posted 2 hours ago Share Posted 2 hours ago (edited) Since you can place formula into that diameter - would be better to use this approach? Or why you need to get this "hardcoded" number? Edit: BTW i just tested that formula - if you place getNominal instead of getActual - then it works ( version 6.6 ) - maybe newer version of Calypso will not work. Edited 1 hour ago Link to comment Share on other sites More sharing options...
[Ch...] Posted 27 minutes ago Share Posted 27 minutes ago I was thinking the same - I would just set this as a VARiable using a formula inside the field. Unless for some reason you need to output the value for 'proof' on report... I tested on 2023 and it output proper value. I might give this a try : in the post characteristics (and plan advanced parameters) - declare a variable : PlaneDia(getActual("Plane1").measElement.technology.actSegmentObject.diameter)/25.4 The in Result element choose 'number' instead of Length. If that doesn't work : you may be able to put this variable in the comment field (with formula) of the any feature related to this plane/scan. Good luck !🤔 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in