Model Switch

The jump and setjump commands are useful in scripts where you can move back and forth between different models. The setjump command lets you assign a text string to represent a model handle and its corresponding landscape handle. Then you can use the jump command with that text string to retrieve that information as the current model handle. For example:
csp
The jump and setjump commands are useful in scripts where you can move back and forth between different models. The setjump command lets you assign a text string to represent a model handle and its corresponding landscape handle. Then you can use the jump command with that text string to retrieve that information as the current model handle. For example:
  • $ ./current mh=0xb6000f8
    current model is 0xb6000f8 current landscape is 0xb600000
  • $ ./setjump emme
    model 0xb6000f8 and landscape 0xb600000 stored under emme
  • $ ./jump emme
    current model is 0xb6000f8 current landscape is 0xb600000