<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/119438/vba---bentley-map-detach-xfm-feature-record-from-graphical-element</link><description>Since Bentley Map has no !! way to transfer the XFM data in an ordinary database, I had to write me a VBA application. 
 The VBA Macro creates a database attachement with the XFM Feature data. The the XFM block should be deleted. 
 In the MAP Help I havn</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/369545?ContentTypeID=1</link><pubDate>Fri, 27 May 2016 16:53:07 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3a5314fe-b336-4ec5-b8f5-39d1c2aaffdc</guid><dc:creator>GRJ</dc:creator><description>&lt;p&gt;Dear Jan,&lt;/p&gt;
&lt;p&gt;now the macro works, MSLINK is attached to the right graphical element, not like before where just all elements was linked to ODBC Database., the program takes a little longer, but that&amp;#39;s no problem.&lt;/p&gt;
&lt;p&gt;The strip of XFM Data for now is not working, in the dgn file remains a lot of unnecessary data, at the moment I can at least be productive.&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;
&lt;p&gt;With regards&lt;/p&gt;
&lt;p&gt;Josef R.&lt;/p&gt;
&lt;p&gt;Attached the macro, &amp;nbsp;maybe someone has the same problem and can improve it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/5924/5305.dbXFM2DB.mvba"&gt;communities.bentley.com/.../5305.dbXFM2DB.mvba&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/369263?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 09:14:42 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:da261352-5dca-434d-b73c-9578b1b37ff8</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Josef,&lt;/p&gt;
&lt;p&gt;[quote user=&amp;quot;GRJ&amp;quot;]I have checked how Bentle Map stores the Elements, attached a schema that illustrates the file positions.[/quote]&lt;/p&gt;
&lt;p&gt;Forget file position information. It&amp;#39;s true it can help in similar discussions, but the file position is evil even in my opinion. Not only in a plain MicroStation (the last time it made sense to work with FP was MicroStation/J), but especially in Bentley Map, where features are implemented is some way, that is not very important ... and changed in V8i (SELECTseries 2) in the case of associative elements and can change anytime again.&lt;/p&gt;
&lt;p&gt;[quote user=&amp;quot;GRJ&amp;quot;]To eliminate all unnecessary data, I want to attach the MSLINK link [/quote]&lt;/p&gt;
&lt;p&gt;If I understand your requirement right, this sentece has no sense. There is no relation between mslink attachment and &amp;quot;defeaturizing&amp;quot; (removing XFM data) and these two tasks have to be discussed separately.&lt;/p&gt;
&lt;p&gt;[quote user=&amp;quot;GRJ&amp;quot;]to attach the MSLINK link at the element following the &amp;quot;Associative Region&amp;quot; - element.[/quote]&lt;/p&gt;
&lt;p&gt;There is no MicroStation element called &amp;quot;Associative Region&amp;quot;, it&amp;#39;s more a mental concept. In this old XFM version to implement this concept, a cell is used. So if there is a polygon with hole, all polygons are encapsulated into a cell (in fact into two cells).&lt;/p&gt;
&lt;p&gt;Because &amp;quot;polygon with hole(s)&amp;quot; is implemented differently in Bentley Map and MicroStation, I guess you will have to recreate the geometry in your code. In newer Bentley Map I assume it&amp;#39;s also ensure by RemoveFeatureLinkages method ... but I am not sure.&lt;/p&gt;
&lt;p&gt;[quote user=&amp;quot;GRJ&amp;quot;]How select the element subsequent to pureElement (first member of RegionElement)[/quote]&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;GetRelatedRegionElement returns top level cell header (outmost element)&lt;/li&gt;
&lt;li&gt;SubFeatureCount return a number of subfeatures (2 at your case)&lt;/li&gt;
&lt;li&gt;GetSubFeature(0) returns the 1st polygon, which I guess by implementation will be the outmost polygon&lt;/li&gt;
&lt;li&gt;GetSubFeature(1) returns the 1st hole in the polygon&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As you can see, there is &amp;quot;a gap&amp;quot; between Bentley Map feature model (there feature and subfeatures) and MicroStation implementation (cell &amp;gt; cell &amp;gt; 2 shapes).&lt;/p&gt;
&lt;p&gt;Without any testing, I think you should take geometry from 1st and 2nd subfeature and to create plain MicroStation &amp;quot;grouped hole&amp;quot; element (see &amp;quot;References an Element from its Cache&amp;quot; example in MicroStation VBA help) and when this new cell will be created, to attach mslink to it.&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/369244?ContentTypeID=1</link><pubDate>Thu, 26 May 2016 07:35:34 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:83e1f9c8-a8de-451c-852f-d0360c775786</guid><dc:creator>GRJ</dc:creator><description>&lt;p&gt;Hy Jan,&lt;/p&gt;
&lt;p&gt;I have checked how Bentle Map stores the Elements, attached a schema that illustrates the file positions.&lt;/p&gt;
&lt;p&gt;To eliminate all unnecessary data, I want to attach the MSLINK link at the element following the &amp;quot;Associative Region&amp;quot; - element.&lt;/p&gt;
&lt;p&gt;How can I do it?&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;Josef R.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;Dim ftEnum As FeatureEnumerator&lt;br /&gt; Set ftEnum = locateOp.GetLocatedFeatures&lt;br /&gt; &lt;br /&gt; Do While ftEnum.MoveNext&lt;br /&gt; Dim currentFeature As feature&lt;br /&gt; Set currentFeature = ftEnum.Current&lt;br /&gt; &lt;br /&gt; Dim pureElement As element&lt;br /&gt;&amp;#39; Set pureElement = xft.FeatureMgr.RemoveFeatureLinkages(currentFeature.Geometry)&lt;br /&gt; Set pureElement = currentFeature.GetRelatedRegionElement&lt;br /&gt; Debug.Print pureElement.FilePosition&lt;br /&gt; &lt;br /&gt; &amp;#39; ???? How select the element subsequent to pureElement (first member of RegionElement)&lt;/p&gt;
&lt;p style="margin-left:30px;"&gt;SET pureElement = ??????&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;processFeatureEelement currentFeature, pureElement&lt;/p&gt;
&lt;p&gt;Loop&lt;/p&gt;
&lt;p&gt;&lt;a href="https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/5924/Example2Elelemnts.pdf"&gt;communities.bentley.com/.../Example2Elelemnts.pdf&lt;/a&gt;&lt;a href="https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/5924/x626_5F00_x.dgn"&gt;communities.bentley.com/.../x626_5F00_x.dgn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/369046?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 05:30:55 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d028bf9b-79ee-4c02-9e72-396e4592d1e9</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;GRJ&amp;quot;]in my version of Bentley Map 08.11.07.113 does not exist.[/quote]&lt;/p&gt;
&lt;p&gt;Hmmm ... that&amp;#39;s bad. But not surprising, V8&lt;em&gt;i&lt;/em&gt; (SELECTseries 1) is quite old version and API is enhanced in every release.&lt;/p&gt;
&lt;p&gt;But a workaround still can be implemented in my opinion and should be not extremely difficult: I assume, because the source data are SHP files, the imported geometry is a simple one, so it&amp;#39;s point, line string and polygon (I am aware e.g. polygons can be imported as collection sometimes, but don&amp;#39;t make it too complex for now ;-). Every feature has Geometry and GeometryType property. You can implement &amp;quot;element factory&amp;quot; that will take the source data and will create a new element based on the data. Because there should be 3 geometry types only, we are talking about 3 quite simple functions (create point, line string and shape).&lt;/p&gt;
&lt;p&gt;I recall (long time ago) I tried to use Geometry.Clone() method to receive new clean element, but I guess it does not work as expected. But it&amp;#39;s something I recommend to try in the first step as it&amp;#39;s very simple approach.&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/369039?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 05:08:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:22c8b884-0b5b-48e4-b615-287538f229e8</guid><dc:creator>GRJ</dc:creator><description>&lt;p&gt;Hi Jan,&lt;/p&gt;
&lt;p&gt;the only trouble is that the command ...RemoveFeatureLinkages... in line no. 9 &amp;nbsp;in my version of Bentley Map 08.11.07.113 does not exist.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Josef&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/5924/ScreenShot018.gif"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-discussions-components-files/5924/ScreenShot018.gif" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/369001?ContentTypeID=1</link><pubDate>Tue, 24 May 2016 20:24:08 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:b5573caa-36f3-4696-8296-719f8c64e996</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Josef,&lt;/p&gt;
&lt;p&gt;[quote user=&amp;quot;GRJ&amp;quot;]f I understand you correctly, then I have to work through all selected features and not like my approach through the selected elements.[/quote]&lt;/p&gt;
&lt;p&gt;My experience with Bentley Map XFT API is not good enough to say if you have to and if it&amp;#39;s the only way, but it&amp;#39;s the approach that seems to work ;-)&lt;/p&gt;
&lt;p&gt;If I understand BM API approach right, the feature is the core, not element (which representing the feature geometry and is not mandatory for some feature types like collections or data). This is in parallel with GIS approach as used in e.g. OGC and presented in many APIs (GeoTools, PostGIS etc.). So if you want to &amp;quot;defeaturize&amp;quot; a particular object, you have to enumerate features, not plain elements. Maybe your approach to work with elements directly can work also, but XFT API is quite high level, so there is a limited freedom to define what exactly will happen automatically and what not.&lt;/p&gt;
&lt;p&gt;In my opinion you can use my code to receive a plain MicroStation element (this is not a new element, but the original element representing the feature geometry and now it&amp;#39;s &amp;quot;defeaturized&amp;quot;) and to add mslink to this element using already existing your code.&lt;/p&gt;
&lt;p&gt;[quote user=&amp;quot;GRJ&amp;quot;]I must substitute this approach with your code. [/quote]&lt;/p&gt;
&lt;p&gt;I assume it should not be a huge effort. Fortunately it&amp;#39;s still about the same Locate class and OnFinished method. The only important thing is that you have to drop XFM feature data from an element after you migrate XFM attributes to a database, because after the element is &amp;quot;defeaturized&amp;quot;, it&amp;#39;s not possible to receive any XFM data anymore. Something like (enumerating features step by step):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Read XFM properties from a feature&lt;/li&gt;
&lt;li&gt;Store the properties in a database (you will receive mslink)&lt;/li&gt;
&lt;li&gt;Remove XFM linkages from the feature&lt;/li&gt;
&lt;li&gt;Rewrite the element&lt;/li&gt;
&lt;li&gt;Add mslink to the element&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/368999?ContentTypeID=1</link><pubDate>Tue, 24 May 2016 18:58:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e68c070e-b1d5-4643-8e0a-332e710fc5e0</guid><dc:creator>GRJ</dc:creator><description>Hi Jan,&lt;br /&gt;
First thank you for your effort!&lt;br /&gt;
&lt;br /&gt;
If I understand you correctly, then I have to work through all selected features and not like my approach through the selected elements.&lt;br /&gt;
My basic  code is (was):&lt;br /&gt;
    Dim ee As ElementEnumerator&lt;br /&gt;
    Set ee = locateOp.GetLocatedElements&lt;br /&gt;
    ShowPrompt &amp;quot;Elements: &amp;quot; &amp;amp; CStr(locateOp.LocatedElementsCount)&lt;br /&gt;
    Do While ee.MoveNext&lt;br /&gt;
        &lt;br /&gt;
        Set ele = ee.Current&lt;br /&gt;
        ele.Redraw msdDrawingModeHilite&lt;br /&gt;
        If Not ele.HasAnyDatabaseLinks Then&lt;br /&gt;
            insertRow ele   &amp;#39; convert xfm data to ODBC record an attach  to element&lt;br /&gt;
        End If&lt;br /&gt;
    Loop&lt;br /&gt;
&lt;br /&gt;
I must substitute this approach with your code. &lt;br /&gt;
Is this correct?&lt;br /&gt;
&lt;br /&gt;
With regards,&lt;br /&gt;
Josef R.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/368964?ContentTypeID=1</link><pubDate>Tue, 24 May 2016 14:35:44 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:295fea32-4553-440a-8aaa-1757d0f3e27f</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Josef,&lt;/p&gt;
&lt;p&gt;I have had not enough time to check your code (but for the first sight it looks not bad, even if talking about its structure). I did some quick testing and in my opinion this code should work:&lt;/p&gt;
&lt;pre class="brush: vb; fontsize: 100; first-line: 1; "&gt;Dim ftEnum As FeatureEnumerator
Set ftEnum = locateOp.GetLocatedFeatures

Do While ftEnum.MoveNext
	Dim currentFeature As feature
	Set currentFeature = ftEnum.Current
	
	Dim pureElement As element
	Set pureElement = xft.FeatureMgr.RemoveFeatureLinkages(currentFeature.Geometry)
	
	&amp;#39;Do whatever you need with the new element
	pureElement.Level = ActiveDesignFile.Levels.Find(&amp;quot;Default&amp;quot;)
	
	pureElement.Rewrite
Loop&lt;/pre&gt;
&lt;p&gt;I guess you should add it to your process feature class to OnFinished method.&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/368852?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 17:10:57 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:67f05216-ec05-4ebd-84b7-4071e2fd3ef3</guid><dc:creator>GRJ</dc:creator><description>&lt;p&gt;Hi Jan,&lt;/p&gt;
&lt;p&gt;I use Bentley Map only for import SHP Files, no XFM project.&lt;/p&gt;
&lt;p&gt;Command:&lt;/p&gt;
&lt;p&gt;&amp;gt;File &amp;gt;Import &amp;gt;Gis Data Types &amp;gt;Imports &amp;gt;New Import &amp;gt;Add File &amp;gt;Import&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;Josef&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Attached my MVBA script.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/5924/dbXFM2DB.mvba"&gt;communities.bentley.com/.../dbXFM2DB.mvba&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/368851?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 17:00:38 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:27225fa6-fdd7-4d2c-886c-00643b8a38ae</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Josef,&lt;/p&gt;
&lt;p&gt;so the complete workflow is:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;There are some shape files with the same structure (cadastral map areas).&lt;/li&gt;
&lt;li&gt;There is XFM project designed based on SHP files structure. (Note: It&amp;#39;s possible to import SHP file both with and without XFM project, so it&amp;#39;s the reason of this question)&lt;/li&gt;
&lt;li&gt;You use MapInteroperability tool in Bentley Map to import SHP file&lt;/li&gt;
&lt;li&gt;You want to convert such file into &amp;quot;mslink style&amp;quot;, which includes:&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;To move properties from XFM to database&lt;/li&gt;
&lt;li&gt;To establish mslinkg to this newle created record&lt;/li&gt;
&lt;li&gt;To drop XFM element into normal MicroStation element&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Is it correct?&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/368850?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 16:50:50 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0a385a9c-e0d1-4cc0-9326-f5ed46832c5e</guid><dc:creator>GRJ</dc:creator><description>Hi Jan,&lt;br /&gt;
&lt;br /&gt;
I want to import  cadastral shape areas ( files in SHP and DBF format) in Microstation how you said as &amp;quot;old style DGN with mslink&amp;quot;.&lt;br /&gt;
For this I import the SHP/DBF files in bentley map, then I want to export the XFM data record to the odbc database connected with MSLINK  to the graphical element .&lt;br /&gt;
&lt;br /&gt;
With regards,&lt;br /&gt;
Josef&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/368848?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 16:20:59 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7a902bb6-516e-4638-861a-ecd09a6e6ab6</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi GRJ,&lt;/p&gt;
&lt;p&gt;I have no simple answer for your (sorry), but I&amp;#39;d like to ask what exactly do you want to achieve if talking about &amp;quot;no !! way to transfer the XFM data in an ordinary database&amp;quot;? Do you want to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make a one-step export of XFM data attached to XFM elements to some relation database.&lt;/li&gt;
&lt;li&gt;Convert &amp;quot;XFM project with data stored in DGN file&amp;quot; to &amp;quot;XFM project using mslink to store data in a database&amp;quot;.&lt;/li&gt;
&lt;li&gt;Drop anything related to XFM from elements and design file and to convert existing XFM DGN file into old style DGN file with mslinks (including data transfer)?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/368736?ContentTypeID=1</link><pubDate>Mon, 23 May 2016 02:02:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4d537cfe-298f-4733-b78e-44ee60d3c036</guid><dc:creator>Dan Weston</dc:creator><description>&lt;p&gt;There are several graphical methods to remove XFM data from Features, making them MicroStation elements. &amp;nbsp;See this Support Solutions for some examples: &lt;a href="/products/geospatial/desktop/w/geospatial_desktop__wiki/25440.methods-to-drop-an-xfm-features-to-plain-microstation-elements"&gt;&lt;span style="color:#000000;"&gt;Methods to drop an XFM Features to plain MicroStation elements?&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thought you were looking specifically for a VBA example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/368721?ContentTypeID=1</link><pubDate>Sat, 21 May 2016 21:51:59 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1f38ca62-5f97-4872-87b7-9ae6bd5f32f3</guid><dc:creator>wirring</dc:creator><description>Hi&lt;br /&gt;
&lt;br /&gt;
As far as I know you simply cannot remove properties from a XFM feature. You will have to extract the geometry and create a simpel microstation element with a databaselink, and then delete your XFM feature.&lt;br /&gt;
&lt;br /&gt;
Erik Wirring&lt;br /&gt;
LE34&lt;br /&gt;
DEnmark&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VBA - Bentley MAP detach XFM Feature record from graphical element.</title><link>https://communities.bentley.com/thread/368717?ContentTypeID=1</link><pubDate>Sat, 21 May 2016 14:46:16 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c0c3a8c4-01dd-49db-ade7-2f2dcb86b6db</guid><dc:creator>GRJ</dc:creator><description>&lt;p&gt;After I got neither the community nor Bentley support a useful answer, I&amp;#39;m after a long look fond at these command:&lt;br /&gt;Keyin:&lt;br /&gt; fence feature remove all&lt;/p&gt;
&lt;p&gt;But no xfm features are removed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>