In SS4 I could Save As using the option Convert XFM 09 -> 07. After that it was possible to clip the information using fence clip.
In SS10 this does not work (for me).
I've attached two files, one having 09 linkages and one with 07 links. Neither is possible to clip.
Also, if I save the 09 file using Remove XFM Bentley Map specific data some shape turns into Polygon Collection that cannot be clipped either. Trying to drop these elements (Application turned on) will crash MicroStation.
I'm using BM for MicroStation.
Regards,
Krister
bas_SS10_xfm_07.dgnbas_SS10_xfm_09.dgn
I believe the "Export to dgn elements" comment in the Map Manager is what you need. It creates plain dgn elements, not xfm, so you should be able to do what you want with that data afterwards. What you wer using in SS4 was a conversion of XFM formats, from the newer to the older. You were bypassing some logic that made sure the xfm features maintained coherency.
Krister, I used the Drop | Clip option on another file last week with good results, so tried the same procedure on your files (thank you for uploading) and was blocked by the logic that Martin mentions. When I used his suggested Export process, I was able to clip the (Bas_Poly) elements in your file. I will continue to work on it to identify the reasons for that behavior.
Earlier work - Dropped, Clipped Current file - Exported | Clipped
The software crash should not happen, so I please create a new Service Request or send me the Exception.log file in a private message we can take a look.
This is part of an VBA-workflow that the customer uses to create plot files, hence the clipping. In this case all we need is dumb files that looks good in print so the logic is of no use. Save As works fine in this workflow but I cannot find a way to export through VBA.
/Krister
Owner consultant at Surell Consulting AB
Thanks for looking into this!
I will get a log the next time I visit the customer but it might be a while.
Just a quick update the "export through VBA" part of your comment:
For MapManager export to dgn elements, there is C-API below. But there is not a VB API for this.
FunctionPublished StatusInt xfmMapLayer_exportMapModelFeaturesToStandardElements
(
XfmMapLayerP mapLayer,
WChar* fileName,
WChar* modelName,
int displayPriority,
double scaleFactor
)
The keyin: map manager mapmodel export
…could be used, but that opens a modal dialog requiring input from the user.