Questions in topic: "logic" https://knowledge.亚搏在线safe.com/questions/topics/single/45213.html The latest questions for the topic "logic" Complex co-located CAD block placement for CAD writing https://knowledge.亚搏在线safe.com/questions/50491/complex-co-located-cad-block-placement-for-cad-wri.html

Folks,

I have a challenge and I'm not sure if FME has this capacity.I have some Mapinfo co-located points that need to be written as attributed blocks.This I know FME can do and I have done this successfully.Now the challenge has been set to come up with "placement rules" that "move" each block insertion such that it DOES NOT overlap its co-located partners.

As far as the logic is concerned what I would want to do is test each input object(point) to see if there are co-located points.Then based on the number of co-located objects loop through the objects placing them at some fixed incrementing\decrementing Y(North South axis) coordinate.

eg var NumPoints = 5

for i = 2 to Numpoints

fetch rec(i)

insert block X,Y+(i*-10)

next

Is there any sort of construct that would support this?

I'm also aware I'd need a way to ensure I didn't test an already tested point and inserted\offset block.

Any advice appreciated.

autocad insert block logic Mon,14 Aug 2017 00:15:52 GMT andyew
Composite Test AND OR order in TestFilter https://knowledge.亚搏在线safe.com/questions/45215/composite-test-and-or-order-in-testfilter.html

Hi,

I am using the TestFilter with a composite test set up.However,the results are not what I am expecting.I believe it is something to do with my use of brackets and the AND and OR operator order.

I can't get the following composite test to work:

(1 OR 2 OR 3) AND (4 OR 5 OR 6)

Can anyone explain the order of precedence for OR and AND in the TestFilter composite test and whether the brackets are even recognised?

Thanks

testfilter compound logic operators Wed,31 May 2017 13:47:45 GMT aquamarine