[Ri...] Posted April 2, 2025 Share Posted April 2, 2025 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 https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/ Share on other sites More sharing options...
[Ma...] Posted April 2, 2025 Share Posted April 2, 2025 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 https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/#findComment-129521 Share on other sites More sharing options...
[Ch...] Posted April 2, 2025 Share Posted April 2, 2025 Try this (for inch units ; for metric remove /25.4) : PlanePathCenter=(getActual("Plane1").measElement.technology.actSegmentObject.diameter)/25.4 😃 Link to comment https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/#findComment-129541 Share on other sites More sharing options...
[Ri...] Posted April 3, 2025 Share Posted April 3, 2025 Chris, just an FYI, but there is now a convert function built into PCM. 🙂 convert(1, "length", "mm", "inch") Link to comment https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/#findComment-129607 Share on other sites More sharing options...
[Ch...] Posted April 3, 2025 Share Posted April 3, 2025 Richard, Yes thank you I was aware of this havent used it much, I should start, thanks again - very helpful ! Link to comment https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/#findComment-129619 Share on other sites More sharing options...
[Ri...] Posted April 3, 2025 Share Posted April 3, 2025 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 https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/#findComment-129621 Share on other sites More sharing options...
[Ri...] Posted April 4, 2025 Author Share Posted April 4, 2025 (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 April 4, 2025 Link to comment https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/#findComment-129685 Share on other sites More sharing options...
[Ma...] Posted April 4, 2025 Share Posted April 4, 2025 (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 April 4, 2025 Link to comment https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/#findComment-129697 Share on other sites More sharing options...
[Ch...] Posted April 4, 2025 Share Posted April 4, 2025 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 https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/#findComment-129703 Share on other sites More sharing options...
[Mi...] Posted April 9, 2025 Share Posted April 9, 2025 Please sign in to view this quote. Use getNominal instead of getActual. Link to comment https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/#findComment-129897 Share on other sites More sharing options...
[Ri...] Posted April 10, 2025 Author Share Posted April 10, 2025 That worked, thank you. Link to comment https://qualityforum.zeiss.com/topic/22967-get-the-scan-diameter-from-a-plane/#findComment-130045 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