hexagon logo

COP Export for Scan Data

When I use the COP command to export TTP strategy features in PC-DMIS it works just fine. But for whatever reason when I setup the point cloud to export scanned features, it deselects only the scanned features and never exports them in my point cloud!

  • It doesn't matter what size in my case it still doesn't work.

  • I see now, there is no REF= for the COPEXPORT1, it is exporting nothing, as there is no COP set, or is this just an example with no COP set on purpose?

  • Correct nothing is currently setup on this one

  • I've also tested this without the group or variable filename and still no luck.

  • Have you tried adding in a COP export without using any variables see if it works? This works for me

    COP1       =COP/DATA,TOTAL SIZE=36,REDUCED SIZE=36,
                FINDNOMS=NO,REF=CR1,CR2,CR3,CR4,CR5,CR6,,
    COPEXPORT1 =COP/OPER,EXPORT,FORMAT=XYZ,FILENAME=C:\CMM\TESTFILE.XYZ,
                SIZE=36,REF=COP1,,

    I actually just tested yours using the same variables, and it worked nicely. Just modified my filepath a bit, and took out the SN

    I just noticed something though. This is a bit odd. That is my code. But when I went in the Edit Window, after copying this, it emptied my point cloud and removed my REF

                ASSIGN/PROG=STR(GETTEXT(191,1,{FILEHEDR}))
                ASSIGN/TIME=SYSTEMTIME("HH'.'mm'.'ss")
                ASSIGN/VAR_FILENAME="C:\CMM\\"+"_PntCld_"+PROG+"_"+TIME+".xyz"
    COP1       =COP/DATA,TOTAL SIZE=36,REDUCED SIZE=36,
                FINDNOMS=NO,REF=CR1,CR2,CR3,CR4,CR5,CR6,,
    COPEXPORT1 =COP/OPER,EXPORT,FORMAT=XYZ,FILENAME=VAR_FILENAME,
                SIZE=36,REF=COP1,,

    Short screen recording below.

      or   Is there a reason why this would happen? The clip above is from simply pressing Ctrl + C. Right clicking and selecting Copy also does the same thing.

  • Does the REF stay the same when you use your own code? How do you select your scan features for like a cylinder?

  • Whenever I edit the COP after already having it in the REF=COP1 on the export, it does not update the hits so I have to type it in again for it to show the right number. I just F9 my COP1 and select whatever features I want, and it works like it should. Only quirk is when I copy that bit of text, it empties my COPEXPORT for some reason.

  • So really my data exports but if I F9 the COP it deselects my scan data