<?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>[CONNECT U7 C++] Rerference File Attachments</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/147052/connect-u7-c-rerference-file-attachments</link><description>In V8i I was able to specify a reference file attachment method by: 
 
 
 but I don&amp;#39;t see ATTACHMETHOD_CoincidentWorld nor do I see anything like display.fb_opts.attachMethod in a CONNECT DgnAttachmentP struct. 
 
 Bruce</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [CONNECT U7 C++] Rerference File Attachments</title><link>https://communities.bentley.com/thread/448510?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 19:34:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f01d8cfc-db29-41e8-adf4-2c9e6ad52516</guid><dc:creator>Robert Hook</dc:creator><description>&lt;p&gt;Hi Bruce,&lt;/p&gt;
&lt;p&gt;When &lt;a href="/members/8620a4e9_2d00_3b43_2d00_4c56_2d00_b86d_2d00_3d2552e440e5"&gt;Artur Goldsweer&lt;/a&gt;and I reviewed this issue, in addition to filing a defect we considered being able to provide a work-around (we always try to).&amp;nbsp;&amp;nbsp;Artur may need a day or two to schedule this in and test the code paths we believe may provide the desired results; until the defect is corrected possibly in MSCE SDK U9.&amp;nbsp; Please allow Artur a bit of time to see if he can confirm and provide a safe clean public work-around.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br /&gt;Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CONNECT U7 C++] Rerference File Attachments</title><link>https://communities.bentley.com/thread/448449?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 14:56:12 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:66e12809-d3f0-4ff0-894a-e2749e168501</guid><dc:creator>Bruce Reeves SRNS</dc:creator><description>&lt;p&gt;OK. So it&amp;#39;s not currently possible to set a Reference File&amp;#39;s attachment mode to &amp;quot;Coincident World&amp;quot; via code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CONNECT U7 C++] Rerference File Attachments</title><link>https://communities.bentley.com/thread/448218?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2018 14:01:11 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:21b450c9-8c46-4335-bcca-5dd028719ce3</guid><dc:creator>Artur Goldsweer</dc:creator><description>&lt;p&gt;Hi Bruce,&lt;/p&gt;
&lt;p&gt;In MSCE this function mdlRefFile_getInfo returns a pointer to a DgnAttachment object, whose members are private.&lt;br /&gt;Please see also line 24 in 0811to1000Published.remap file from SDK.&lt;br /&gt;In MSCE the function GetAttachMethod&amp;nbsp;should be used (line 35 in same file), which is missing in public SDK.&lt;br /&gt;Also missing is&amp;nbsp;enum RefAttachMethod.&lt;/p&gt;
&lt;p&gt;To address this Defect # 822809 is filed.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Artur&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CONNECT U7 C++] Rerference File Attachments</title><link>https://communities.bentley.com/thread/447853?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 13:49:28 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:43ab9cc4-9194-4de0-8d7b-b80364153596</guid><dc:creator>Bruce Reeves SRNS</dc:creator><description>&lt;p&gt;Upon searching the header files, I see a note in DgnPlatform.h in the struct for fb_opts.attachMethod: &amp;quot;&lt;em&gt;see RefAttachMethod enumeration&lt;/em&gt;&amp;quot; The enumeration seems to not exist. Also, fb_opts is a part of struct referenceFileElm as defined in DgnElements.h. How does one retrieve a Reference Attachment Element? Do you iterate the model&amp;#39;s elements, looking for type=100 and level=0? Can it be obtained from the DgnAttachment pointer?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>