On Fri, 6 Oct 2000, Ed Meier wrote: Sorry for the delay, I've been busy. > While I don't know Metagraf, and can't really be of any help to you other > than the obvious solution of use deftemplate to declare the classes in the > knowledge base, definstance them as they are instantiated, then use the > (call ... function to change the object. However, there must be some reason > this won't work with Metagraf data. Ok, if you have any example/trivial code I'd love to study it. Ok, the problem I see is this: Java variables and space of names is different. I can fetch and store names using pure Java, that's fine. But I'd like a Java code like this: Rete r; Metagraf_object m; r.assert(id(r), m.neighbour_left, m.kind_of_relationship); // so I have something like (122324 99994 PARALLEL_RELATIONSHIP ) And in the clips (Jess) side: (defrule all_parallels ( ?idobj1 ?idobj2 PARALLEL_RELATIONSHIP) (type_of_mg_obj (type LINE) (name ?idobj1)) (coords (name ?idobj1 ) (x ?o1x ) ( y ?o1y)) (coords (name ?idobj2) ....) ( test (not( parrallel ?o1x ?o1y ?o2x ?o2y))) => (... make changes... and write the coords of m and m.neighbour ,without doing any fetches )) Sure, you can instante new objects in a Rete engine, but the question is that I want to work with already instanteated objects, objects that live outside of the Rete objects, and fetch/store seems rather heavy for updating hundreds of values outside of Rete. --- MGA --------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] ---------------------------------------------------------------------