Re: Once again, an error I don't understand [message #28276] |
Sat, 01 December 2001 07:44  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Adam Rankin (arankin@irus.rri.on.ca) writes:
> % IDLGRMODEL::ADD: Objects can only have one parent at a
> time: <ObjHeapVar3833(IDLGRIMAGE)>
>
> sigh, wish I wasn't a n00b.
> hate to waste your time, but the formation of an IDL programmer takes
> time... (yukyuk)
Probably less time, if you get rid of those common blocks. :-)
This error occurs when you try to add the same
object to more than one object hierarchy. For
example, you can generate the error by creating
an image object and trying to add the image object
to two different model objects. The idea (I think)
is that as you build an object hierarchy, each
object can have many children, but only one parent.
That is, there is only one connection from an object
in the UP direction in the hierarchy.
> this is the code in which it takes place...
Uh, I don't do code. Particularly this *much* code! :-)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|