Skip to content

Files

Latest commit

 

History

History
19 lines (18 loc) · 1.38 KB

Anno0400Scale.csv

File metadata and controls

19 lines (18 loc) · 1.38 KB
1
NAMEDESCRIPTIONTYPESUBTYPEFIELDISEDITABLETRIGGERINSERTTRIGGERDELETETRIGGERUPDATESCRIPTEXPRESSIONERRORNUMBERERRORMESSAGEEXCLUDECLIENTEVALUATIONISENABLEDBATCHSEVERITYTAGSCATEGORYCHECKPARAMETERS
2
GetMapNumberAssigns the MapNumber to the feature when it is added. CALCULATIONMAPNUMBERTrueTrueFalseFalse// When creating a anno get map number from mapindex polygon layer // Within will return the map number value from the map index. // If none found nothing is returned var fsMapIndex = FeatureSetByName($datastore,"MapIndex",["MapNumber"]) var fsIntersectMap = within(fsMapIndex, Centroid($feature)) var MapIndex = first(fsIntersectMap) if (MapIndex == null) return {"errorMessage": "No Map Index Feature Found"} return MapIndex.MapnumberFalseTrueFalse{"type":"PropertySet","propertySetItems":[]}
3
MapScale RuleCheck if Mapindex Mapscale matches annoscale. CONSTRAINTTrueTrueFalseFalse// When creating a anno check mapscale 400 Scale map var fsMapIndex = FeatureSetByName($datastore,"MapIndex",["MapScale"]) var fsIntersectMap = Intersects(fsMapIndex,$feature) var MapIndex = first(fsIntersectMap) if (MapIndex == null) return false; if (MapIndex.MapScale == 4800) return true; else return false;400Error - MapIndex Mapscale does not match annoscale.FalseFalseFalse{"type":"PropertySet","propertySetItems":[]}