[Ir...] Posted January 28, 2025 Share Posted January 28, 2025 Hello, When I use a script to create equidistant points on a plane or surface, I can specify their names within the script itself, as shown in the code below. Nombre_puntos = 'P SC_' MCAD_ELEMENT=gom.script.inspection.inspect_by_equidistant_points ( name=Nombre_puntos, point_distance=distancia, properties=gom.Binary ('eAGll11sU2UYx38jMOdk4BB1EKMT+Qq4OYaATpKNMRCVyQJjEBJtuvZsLet6Sk/HgGA4hAuJ0RAvEK6MiTGaLCHhwogxRr0wMcaMKz+i2QXRRBNJIF6IMZGa/3v6ru3abkW7i73n4/0/z/t8/P/P6XdHWwY2tR5j145tPTv20p8OxzNeR8eOhDPqJDN9aTflpDNxxyP41XAXDfXU00B9A3ByvRuNAc/u6W3e5w5lxsNpp7m9rb29eZ+TPhqPOM194chIM5MTdWw0++/kV7MKGExOTtTQDjwIvkMCh1FCjOHhEGIIlzQh4iTxSOEQIUMclySNv09OzGMhMB/8QVxcErx8SYjGFb9Oyx6gGfwEYQaRiRAZYyaF7mkdIkWYCCOEGTbXaRyGcMz/JBEc3mqVuceBpeAP4zJKK31F+/aW7Nr1unxYAzwGTE7MZ1n5IPlymEX+6p3a0ATUl3H6GBmyf8uRe4Fa8D0ypE18hln7g/bODwz41OjqKWD5DKSIiV8yF80gwgmDoaOPEydKhhgnamWpGVgE/vaSXQem3/z2lmw9BMZzrRcBC4x/o4RJkOCrl248qSflzuYRw2Wc28dnz2mNf1YQ64D7ZhyqNKdjjBkHv+8V6APA3eD3m8x10MF+9vMcUTo+FuYhYCDn/G5gJfhtFP+1TF/Pvire1capKz9+ItyHgYYZfh81VeblijqyuTAA8j9JhoOXtVuJVWF3NerKpmW2ur78hNCqLZXVQOMMRLVVmqjxMcQorlmf6hSuTWR3wTu9uTcWmziWL4gYYdKkmLwy9YbesjiFJ1Hj6+S335GlpUBdQdftzD1987z27wLT5Vp3APdPvxnC4zhqkYBWylkobMdL1xc/IpRSQoqZSlJ7xBkyBCVWUCWlGDP4UT7fWpi7ioS0Flgy47jFY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etc., as long as there are no other points with the same names already created. The problem arises if points with the same naming structure already exist. In that case, I completely lose track of the points I created with that command. Is there any way to obtain a list of the points created by that command? Thanks in advance, Irune Link to comment https://qualityforum.zeiss.com/topic/22224-how-to-get-the-list-of-created-equidistant-points-in-a-script/ Share on other sites More sharing options...
[An...] Posted January 28, 2025 Share Posted January 28, 2025 (edited) Hello Irune... The list of points actually created by the “gom.script.inspection.inspect_by_equidistant_points” function should be stored in the MCAD_ELEMENT variable in the case of the source code shown. Edited January 28, 2025 Link to comment https://qualityforum.zeiss.com/topic/22224-how-to-get-the-list-of-created-equidistant-points-in-a-script/#findComment-125168 Share on other sites More sharing options...
[Ir...] Posted January 29, 2025 Author Share Posted January 29, 2025 Thank you! Link to comment https://qualityforum.zeiss.com/topic/22224-how-to-get-the-list-of-created-equidistant-points-in-a-script/#findComment-125234 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