Home »
Public Forums »
archive »
selecting model objects
selecting model objects [message #20824] |
Mon, 24 July 2000 00:00 |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
Hi all,
I have a base model (a map) that contains other models (geographic
data). I need to select data within the map using the IDLgrWindow
Select method. Right now I am only getting the base model returned.
object heirarchy is: [data_model]->[map_model]->[oView]->[oWindow]
; my select code
item = oWindow->Select(oView, [event.x, event.y])
item contains the reference to map_model only.
A key point is that I need to anchor the geographic data to the map and
I need to be able to translate and scale the map. Because of this I
haven't been able to add the data objects directly to the view since
each of the objects would translate/scale independently and the
geographic data would be dereferenced from the underlying map.
is it possible to select a model (or atom) that is contained in another
model that is contained in a view?
If not, is there a way to "join" 2 or more models so when translating or
scaling they behave as 1?
thanks!
-Rick Towler
|
|
|
Current Time: Wed Oct 08 18:55:53 PDT 2025
Total time taken to generate the page: 0.00505 seconds