By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,002 Members | 1,171 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,002 IT Pros & Developers. It's quick & easy.

Event programming (in VrOne)

P: 1
Dear all,

I want to write a program for picking text value from Vr One mapview by click event.

Please some one help me?

Regards,
Amit
Oct 4 '06 #1
Share this Question
Share on Google+
2 Replies


bartonc
Expert 5K+
P: 6,596
Looking at the docs that I found, I was thinking that GUI support was very limited. Then I found this by following the help link:

VrOne/Python Programming ON-LINE REFERENCE DOCUMENTATION

CARDINAL SYSTEMS, LLC
386-439-2525
www.cardinalsystems.net

GUI Class Reference (PyVrGui)

VrOne/Python graphical user interface and miscellaneous system routines. More…

Note: This class is under construction with only several routines available.


That last line says a lot! I'd contact them directly.
Oct 4 '06 #2

dshimer
Expert 100+
P: 136
If I understand correctly, you want to identify text while working in Vr, then manipulate it or act based on it's attributes.
If this is the case then the easiest way to do it is to use the Id() member of the PyVrText object. For example the script...
Expand|Select|Wrap|Line Numbers
  1. text=PyVrText()
  2. print text.Id()
  3. print text.GetText()
would bring up a typical VrOne Id menu, allow the selection of a piece of text on the screen, then print a number (the entity number for the particular piece of text) and a piece of text.

I have also begun a blog which will be dedicated to the exploration and discussion of VrPython which may be of interest.
Dec 19 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.