Bulk edit analysis point size?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bulk edit analysis point size?

    Is it possible to do this quickly? I thought paste w/parameters would work. I was wrong. Link to image


    https://i.imgur.com/JBiqkYO.png

  • #2
    You can find and replace.

    Capture.JPG
    Last edited by WM321; 01-15-2020, 11:39 AM.

    Comment


    • #3
      Originally posted by WM321 View Post
      You can find and replace.

      Capture.JPG
      you would first need to make sure that ALL parameters are being shown, I don't think F&R works for things that are hidden...
      sigpic
      Originally posted by AndersI
      I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

      Comment


      • #4
        Scratch that - Copy Parameter/Paste parameter works perfectly if you do it right!

        - open up everything on one of the features, change the GRAPHICAL ANALYSIS line so it looks like you want it
        Code:
                      GRAPHICAL ANALYSIS=YES,0.1,0.02,0.03
        - select everything on that line that you want to copy to other commands, right click on the marked area, select Copy Parameters (Ctrl + Alt + C)
        - click anywhere else, then select the commands you want to change (Ctrl + A for the whole program)
        - right click on the selected area, select Paste Parameters (Ctrl + Alt + V)

        Done! At least it works for me in 2019 R2 SP2...



        --------------------------------------------------------
        old comment

        I think you'll need to write a Basic script to be able to *change* the program code. The following PC-DMIS commands lists the names of all vector points in the pp, and the associated graphical analysis point size, but I can't find a way to do PUTTEXT with PC-DMIS commands, only in Basic.

        Code:
        ASSIGN/VI=0
        ASSIGN/V1=GETCOMMAND("VECTOR POINT (CONTACT)", "TOP", VI+1)
        ASSIGN/VID=GETTEXT("Id", 0, V1)
        
        WHILE/VID<>""
        
          ASSIGN/V2=GETTEXT("Graphic Analysis Point Size", 0, V1)
          COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
          V1
          V2
        
          ASSIGN/VI=VI+1
          ASSIGN/V1=GETCOMMAND("VECTOR POINT (CONTACT)", "TOP", VI+1)
          ASSIGN/VID=GETTEXT("Id", 0, V1)
        
        END_WHILE/
        Last edited by AndersI; 01-16-2020, 05:01 AM.
        AndersI
        SW support - Hexagon Metrology Nordic AB

        Comment


        • #5
          Thanks all, it was a bit more of a process than it deserved to be, but I got it.

          1) Expand all groups.
          2) Find "SHOW FEATURE PARAMETERS=NO", replace with "SHOW FEATURE PARAMETERS=YES". I had to do that three times for it to change all of them.
          3) Find "GRAPHICAL ANALYSIS=NO", change to "GRAPHICAL ANALYSIS=YES". Again, three times.
          4) Find "0.0508", change to ".25" For some reason, even though the program is in inch, this parameter is metric. Had to do this... three times to get all of them.

          PwP(arameters) didn't work at all, but I don't know if that's coz it was hidden...

          Comment

          Related Topics

          Collapse

          Working...
          X