Hi,
i am trying to Auto-Calculate the area while digitizing / editing a xfm-feature. I followed the description "Geospatial Administrator Tips and Tricks" but with no success.
using: Bentley Map / Geospatial Administrator 08.11.05.49
I tried the following steps, without success, no messages or error messages
any ideas?
In Geospatial Administrator
Ceate a Feature --> XY; Add Property --> MyArea Add a New Initial Value for the Property In "New Initial Value - Dialog" --> key = edit | Sync Pref's = OFF | Value Type = cexpression | Value = [([XY.MyArea])]
After digitizing and editing the feature there is no Auto-calculation of the area!
Thanks
Burkhard
Burkhard,
For your MyArea property, the initial value, editing key, the cexpression should be [XY.Area] rather than [XY.MyArea]. Attached is an example schema with a single feature class "Zone" which has a single "MyArea" property that automatically calculates acreage during edit operations.
Regards,
Jeff Bielefeld [Bentley]
Jeff,
thanks, it works!
There is a mistake in the documentation "Tips and Tricks ..." in the "Initial Value Dialog field key" you have to type in "editing" instead of "edit".
I work with an english Version of Bentley Map on a german VISTA. There are some problems in calculating the correct area and length, to solve this problem i have to turn the system parameter from Germany to US (english)
Thank you for the confirmation and I've updated the Geospatial Administrator Tips Tricks Wiki article with the "editing" key correction. Also you might be interested to know that the Bentley Map V8i SELECT Update release coming later this year will have automatically calculated geometric properties (e.g. area, perimeter, length) for all polygon and linear feature instances, including collections.
Hi, I'm using PowerMap v8i and unfortunately I have problem with cexpresion and expressionEvaluator. When I use Your Area1.xml, instead of some value, I get "Expression handler error: -1". However I use expressionEvaluator e.g.: key = editing | Synch Preference = OFF | Value Type = expressionEvaluator | Value = Zone.Area or ( [Zone.Area], (Zone.Area), [([Zone.Area])] ), I get nothing ,but in PBA I have: [Zone.Area] and this value is display.
I don't now if I doing somthing wrong or PM :)
regards
Adrian,
What version of Bentley PowerMap are you using? Using Bentley PowerMap V8i 08.11.05.18 I was able to load and run the areas1.xml schema you had attached to your post w/o any errors.