How to Check/Output the polygon which area more than spec?

Hi sir ,
in the polygon layer (as below code sampe), I want to check which pattern that area more than spec (as the value in ruleParea )
and copy that pattern to layer 500,0.
here is my code , I think that code have some mistake.
could you please help it?
Thanks.

`
RDL=input(154,0)
ruleI=25
ruleParea=5735
AreaX =

    RDL.merged.each do |p|
    if  p.area>5735 
    AreaX << p
    end
    end
    AreaX.output(500,5)

`

Comments

Sign In or Register to comment.