Hello, I am writing an attribute rule that is supposed to set a value of either 1.25 or 2 in the attribute table of a newly created feature, based on the value of fcount. However, it only outputs a null value. Any insights?
var fibercable = FeaturesetByName($datastore,"attributeruletest.sde.fibercable", ['fcount'], true);
if(Count(intersects(fibercable,Geometry($feature))) > 0)
{ if(fibercable <= 48){
return 1.25;
} else {
return 2;}}