Hi, There's a question!
I have some lines , each line have two node, each node can be one or more line's start node or end node. I want to get :
for line : GetStartNode() GetEndNode()
for node : GetThroughLines()
for document: GetNodes() GetLines() and others function
Can someone help me ???
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, There's a question!
I have some lines , each line have two node, each node can be one or more line's start node or end node. I want to get :
for line : GetStartNode() GetEndNode()
for node : GetThroughLines()
for document: GetNodes() GetLines() and others function
Can someone help me ???
Not so difficult, really.
Create classes Doc, Node, Line
Create realation Doc <>-->> Node (yielding a Node iterator)
Create realation Doc <>-->> Line (yielding a Line iterator)
Create realation Node <>-->> Line, names StartNode and Line1
Create realation Node <>-->> Line, names EndNode and Line2
Success,
John
If necessary, send me an email and I can send you the CBD file
Thanks very much! I get it!