go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Update REQ 6836]: pick function GEOMID



You can't get geomview to return the short g? forms of the picked objects;
however, you can get enough information from geomview to do the
translation yourself.  If you

(echo (all geometry))

the response will be a list of quoted strings, listed in order of their g?
numbers.  If you've never deleted anything (without deleting everything),
then the first is the full name for g1, the second is g2, etc.
If you *have* deleted something, then there might be gaps in the g? numbers,
and you won't be able to tell that from the (all geometry) response.

You could, a bit laboriously, check whether e.g. the 3rd item in the
list is actually g3, with
  (echo (real-id g3) "\n")
which will respond with the full name of that geomview object, or ``nil''.
If it wasn't the one you expected, try (real-id g4), and so on.
Pretty painful, I know.  You could efficiently check whether there were
any gaps by testing, if there were N items in the (all geometry) list,
whether gN matched the last entry.

Sorry.

  Stuart Levy


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo