Geomview For Windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Closed REQ 6903]: Geomview question
> I have a quick question about Geomview which is, as best I can tell, > unanswered in the manual or FAQ. > > Is it possible to enable/disable inertia using GCL commands? Obviously > it can be done manually through the Motion menu, but I'm developing an > application which just uses the Geomview camera window, and hides the > other panels. I need a way to toggle the inertia state > programmatically. Any suggestions? > > I could probably do a hack by sending the appropriate keystroke command > with rawevent, but is there a better way? Sorry, no, there's not a better way. I need to add this to the FAQ real soon now. Here's the answer that I sent someone else a few months ago: Well, you can manually turn off inertia each time by typing "ui" in a window, or by using the Motion menu on the main panel. Sadly, it looks like we didn't ever define a GCL command to control this. But there's a total hack that you can use in such cases: the GCL command that simulates an ASCII keyboard event will provide the same effect as if you'd typed "u" then "i". You'd put this in your .geomview file: (rawevent 117 1 0 0 0) (rawevent 105 1 0 0 0) so that this happens every time you start up Geomview. > Thanks, and please keep up the great work on Geomview! Glad you like it :) Tamara
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
site hosted by