chaitanyakapu
July 18, 2010 14:58:37
I have a curve(single primitive) with points of different colors( red, green yellow).I want to partition this curve in to multiple primitives.For every color change across the curve,I want a different primitive.Could any please tell me how to go for it.
sadhu
July 19, 2010 00:40:27
Hi. You want to partition the primitive based on the color. Use partition sop. In the rules select group by color. This way you can partition either points or primitives (Entity)
I hope this is what you are looking for
Simon
July 19, 2010 02:54:31
You could use the add sop, turn on “Delete geometry but keep the Points”, go to the Polygons tab and use “By Group” and Add “By Attribute” Cd
The problem will be that you get gaps between each new polygon, but maybe that is what you expected I don't know.
sadhu
July 19, 2010 04:15:51
Wow! Add sop.
That was really very simple. (I was thinking of using foreach sop with delete sop
)
How can we get the polygons once we add the ‘add’ sop in the network. As the output of this add sop will be only points.
Simon
July 19, 2010 04:23:40
no the add sop will output polygons. That's what the “By Group” bit does.
sadhu
July 19, 2010 04:47:28
I was coloring the points randomly.
Thanks for the reply
chaitanyakapu
July 21, 2010 12:16:08
thank you very much guys for all the replies….It really helped…