Hello all,
I try to use DFS in a really simple structured project with only a few features. Here's an example: a linear element (line, line string) on Level 2 which is blue (color 3) should be designated as "my.feature". I tried the following syntax in my dfs.xml file:
<FeatureScoringRules minScore="3">
<Feature useCriteria="" name="my.feature"><Rule type="CExpr" score="1">XFMCompareElementLevelName("Level 2")</Rule><Rule type="CExpr" score="1">XFMCompareElementColor(3)</Rule><Rule type="Element" score="1" ElementType="3-4" checkZeroLengthLineElementType="false"/></Feature>
</FeatureScoringRules>
MS_GEOXFM_NO_LEVELFEATURES and MS_GEOXFM_NO_CELLNAMEFEATURES are turned off, because I'd like to control what happens in my dfs file. I don't like any features to be assigned by just by level or just by cellname.
In addition, I renamed the file FEATURESCORING.XML which is automatically created by the GSA system during the export process. My goal is to make it inactive this way, so I renamed it to .xml_. What I don't really understand is: if there are two dfs control files and both are recognized by the system, there is a chance that they have contradictory contents. Which one is evaluated by Bentley Map in that case?
Now, when I open a dgn file using my above dfs I expected the existing elements that reach the minScore of 3 as well as new elements to turn into native "my.feature". Instead, I find two things: first, none of my existing blue line strings on Level 2 turn into features. Second, if I digitize new lines on Level 2 in blue, they become "Inferred feature: my.feature". But, the system doesn't care what element type they are!! That is, a blue circle or a blue text on Level 2 also becomes "my.feature", which makes no sense. The syntax I used is exactly like it is explained in the "Bentley Map-DFS Notes.docx" document.
It seems to me that the dfs is working in principle, being the problem that the rule type "Element" is always considered true. If I set the minScore to 4, then no new elements become features any more.
Any ideas? Thanks in advance, Uwe
Versions in use: MicroStation 08.11.09.357 Bentley Map 08.11.09.107
Uwe:In response to your references to Geographics and the use of Feature Attach Best, and Active Feature tools. I believe using the Promote tool in Map can be used in place of the Feature Attach Best. This tool allows you to create generic elements and then later 'featureize' them. This tool works with selection sets, individual elements, and fences. You need to add this functionality to the feature definition in the GSA for the features you wish to 'promote'. Unlike DFS, this will create native features out of the geometry.As for the fence create areas, once again there is no automatic way to do this. I again refer back to the promote tool to perform this functionality after the areas ( polygons) are created.HTHJerry
View online
You received this notification because you subscribed to the forum. To unsubscribe from only this thread, go here.
Flag this post as spam/abuse.