hexagon logo

Easiest Way to have a flip in a program

What's the easiest way to have a flip in a program? The only way I've been able to do it was to have 2 separate programs and then merge them together. I have found its hard to edit the program offline when they are merged together.
Parents
  • If you need to dimension features measured on one side of the part relative to features on the other side of the part, you will need to do an Equate alignment.

    However, based on the phrasing of your question, I'm guessing that isn't important for your application. It sounds more like you want to have two separate programs run back to back and are looking for a way to avoid having two separate reports and a lot of opening and closing of programs. In that case, here is the easiest way I can think to do that.
    1. Go to the very end of the first measuring routine and recall the startup alignment. That sort of rests the coordinates as if you are starting a measuring routine from scratch - Online, it will put the CMM in machine coordinates.
    2. Insert an operator comment to instruct the operator to flip the part.
    3. Then, open the 2nd measuring routine, the one you want to tack onto the end of the original measuring routine, select all the code after the initial startup alignment (Basically, select the entire program). Then, copy the code with Ctrl+C (or however you prefer to copy stuff). (Handy tip: if you press Ctrl+Shift+End, it will automatically select all the code between the current cursor position and the end of the measuring routine)
    4. Go back to the first measuring routine and go to Edit -> Pattern, to open the paste with pattern settings. Adjust the settings to do one copy with no shift, no rotation, no mirror. The idea is that you won't want to change the positions or orientations of features at all, you just want to make sure that features will have a unique feature ID. Then, click ok to close that dialog window.
    5. Put your cursor on the very last line of the first measuring routine, right after the operator comment saying to flip the part. Then, go to Edit -> Paste with Pattern. This will copy over the entire second measuring routine. Doing a 'Paste with Pattern' instead of a normal Paste operation will ensure that no two features will have the same name (feature ID). If any features from second measuring routine have the same feature ID as a feature in the first measuring routine, they will be given a new unique ID during the paste with pattern operation.
    6. The last, optional, step is to go through the newly pasted code and adjust the names of features as needed. Maybe the dimension ID names will need to be adjusted or something like that. If you find yourself doing this often you will learn little tricks to make the automatically assigned feature IDs work more to your liking, but that is outside of the scope of "easiest".
Reply
  • If you need to dimension features measured on one side of the part relative to features on the other side of the part, you will need to do an Equate alignment.

    However, based on the phrasing of your question, I'm guessing that isn't important for your application. It sounds more like you want to have two separate programs run back to back and are looking for a way to avoid having two separate reports and a lot of opening and closing of programs. In that case, here is the easiest way I can think to do that.
    1. Go to the very end of the first measuring routine and recall the startup alignment. That sort of rests the coordinates as if you are starting a measuring routine from scratch - Online, it will put the CMM in machine coordinates.
    2. Insert an operator comment to instruct the operator to flip the part.
    3. Then, open the 2nd measuring routine, the one you want to tack onto the end of the original measuring routine, select all the code after the initial startup alignment (Basically, select the entire program). Then, copy the code with Ctrl+C (or however you prefer to copy stuff). (Handy tip: if you press Ctrl+Shift+End, it will automatically select all the code between the current cursor position and the end of the measuring routine)
    4. Go back to the first measuring routine and go to Edit -> Pattern, to open the paste with pattern settings. Adjust the settings to do one copy with no shift, no rotation, no mirror. The idea is that you won't want to change the positions or orientations of features at all, you just want to make sure that features will have a unique feature ID. Then, click ok to close that dialog window.
    5. Put your cursor on the very last line of the first measuring routine, right after the operator comment saying to flip the part. Then, go to Edit -> Paste with Pattern. This will copy over the entire second measuring routine. Doing a 'Paste with Pattern' instead of a normal Paste operation will ensure that no two features will have the same name (feature ID). If any features from second measuring routine have the same feature ID as a feature in the first measuring routine, they will be given a new unique ID during the paste with pattern operation.
    6. The last, optional, step is to go through the newly pasted code and adjust the names of features as needed. Maybe the dimension ID names will need to be adjusted or something like that. If you find yourself doing this often you will learn little tricks to make the automatically assigned feature IDs work more to your liking, but that is outside of the scope of "easiest".
Children
No Data