span8
span4
span8
span4
Hi, I looked at many previous questions but didn't find a good answer to solve it so I make a new question with many screenshots.
My Workspace.
I create 1 box between 0,0 and 100,100 and 20 random circles with a radius of 5 with a center within that box.
I send all circles to a custom transformer "cutloop"
(I somehow need to attach a loop within here, and maybe an expressionevaluator and tester this is the main part I need help with)
My writer is a dwg with a fanout expression so if I run it as it is now I get 20 "InsideX.dwg" layers for each cut box feature.
This is very important part, I must have one file for each part of the box where a circle overlaps.
My problem as it is now, is that some circles overlap, and since all features are read as one, the inside is not working correctly and I dont get full circles. I want individual full circles for the box which is inside each circle. (Inspected before I write each circle separatly) (Blue now I want red)
Everything works nicely except I need to find a way to use the loop within the custom transformer to run the clipper 20 SEPARATE times on the same area without using the already cut box overlapping / cutting where there may be overlapping circles.
就像圆圈1,剪切盒子,其中圆圈重叠为Ine.S1.dwg
Circle 2, cut box where the circle is overlapping as Inside2.dwg (AS A FULL CIRCLE Even if its overlapping like the selected example in previous picture)
The outside1 is also wrong since it is only 1 feature that looks like a cut cheese , I want 20 individual files here as well for everything except each individual full circle that is cut away (outside the circle).
(Note the final product won't be FMEcircles but will be using a dwg input features so I cant use multiline RECTANGE(0,0)
Yes, you must clone the clippees as many times as they relate to clippers.
提到的列表在相关后爆炸是类似克隆的。
There are a couple of techniques for that. Which to use would be dependent on the amount of objects. (you would not want to clone a zillion objects...)
I think the end product will be like 40 dwg polygon areas that are touching eachother, +10 m buffer around each of them
If i want to use overlapping features to clip other features, I normally give an id to the clip areas, use a spatial relator to find which features relate to the clip areas and build a list of relationships, then a list exploder, this then goes into the clippee port of the clipper, using the clip area id as a group by
Can you give an example? I got 32 circles when I did that, but I want to cut the box, not the circles.
dynamic publish parameter in loop2 Answers
Custom transformer to evaluate custom function on dynamic set of attributes1 Answer
Create attribute in loop with counter number in its name3 Answers
Protection Custom Transformer2 Answers
Getting published parameters from within a python caller nested in several custom transformers1 Answer
© 2019 Safe Software Inc |Legal