Hi, the attached ZIP file includes a VBA text2xfm.mvba with documentation that loads a business property from a text string. Finally you will be able to export text string to a (point) SHP file, a XFM schema is not needed.
Kind regards, Kees
text2xfm…
COMPARE function allows passing a delimeter string in the last parameter to compare a value against a delimited list of possible values.
For example...
From "Performance Notes" paragraph in the XFM Overview section of the Bentley Map Customization…
For your example # 2: COMPARE("[attributea]","True","") && ([attributeb]>0)
Ensure that attributeb has a value or the expression evaluation will fail. You could accomplish this by specifying a default value in the expression:
([attributeb|0]>0)
…
Wise forum folks,
One more question for you. XFM Schema appears to have difficulty with interpreting "complex" criteria (e.g., criteria that reference more than one attribute), such as:
([attribute1]>0) && ([attribute2]<100)
Or even better: …
Hi wise forum folks,
I'm building a workflow to import a large shapefile as a point-text XFM feature. Because the schema won't allow us to specify text height and width at the specified drawing scale (this varies depending on which .dgn we're working…
I have got a problem that at least did not exist in BentleyMap SS2. I have veryfied that it exist in Bentley Map SS3 built 95 and sadly enough also in the new service release with built no 107.
In short:
I have a small Mvba app that defines a new…
Rysiek,
I suggest using xfmFeature_create to build a new subfeature and copy geometry and properties(perhaps filtering/changing uniqueId properties) from the old sub-feature. Ensure that the geometry does not have the original elementRef by calling…
I'm trying to do something akin to this:
Criteria A = ([attribute1]<=0)
Criteria B = COMPARE("[attribute2]","True","")
Place cell "Alpha" for Criteria A
Place cell "Beta" for Criteria B
...Knowing that the two aren't mutually exclusive…