E
Erik Wanta
Guest
I am trying to write a simple function to allow the user to add a
probe to a net of type "flight".
;deselect all objects
geDeselectAll()
;have user select a net
geAddSelectPoint(hiGetCurrentWindow() nil enterPoint())
;add probe to net of type "flight"
geMakeProbeWithColor(?window hiGetCurrentWindow() ?object
car(geGetSelSet()) ?color list("y0" "drawing") ?probeType "net"
?displayStyle "flight")
How do I get the program to wait until after the user selects a point
and then hits escape? That is, I don't want to add the probe until
after the enterPoint() function is complete.
---
Erik
probe to a net of type "flight".
;deselect all objects
geDeselectAll()
;have user select a net
geAddSelectPoint(hiGetCurrentWindow() nil enterPoint())
;add probe to net of type "flight"
geMakeProbeWithColor(?window hiGetCurrentWindow() ?object
car(geGetSelSet()) ?color list("y0" "drawing") ?probeType "net"
?displayStyle "flight")
How do I get the program to wait until after the user selects a point
and then hits escape? That is, I don't want to add the probe until
after the enterPoint() function is complete.
---
Erik