hexagon logo

Make CAD from subroutine in external program file visible during execution?

I have a bunch of generic subroutines, each of them meant to measure a standard component in a position and orientation that's unknown at the time of programming. (In case you're wondering, we're building laser interferometers and use our CMM not for inspection, but rather for fine adjustment purposes.) This is working great so far, but we have all the subroutines associated with a certain standard component sitting in its own dedicated external program file which also includes the specific CAD model of the component in question. Unfortunately, these CAD models are currently not being shown on screen while the subroutines are called during execution of the main program. Is there a way to force PC-DMIS to do so? Thanks so much!
Parents
  • Never tried this! That said, you should be able to:

    import your models into the program that has the call/sub commands. say yes you want to do it as an assembly

    go to the very top of your program and create a viewset for each model. (using the cad assembly window to turn each one on/off as you create the viewsets)

    recall the viewset you need above the subroutine command. repeat above each call/sub command

    Hope this works!
Reply
  • Never tried this! That said, you should be able to:

    import your models into the program that has the call/sub commands. say yes you want to do it as an assembly

    go to the very top of your program and create a viewset for each model. (using the cad assembly window to turn each one on/off as you create the viewsets)

    recall the viewset you need above the subroutine command. repeat above each call/sub command

    Hope this works!
Children