Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[Connect C++] How to read all linkages and XAttributes contents

$
0
0

Hi Experts,

I have a model and one of the element contains 14 linkages and 1 xAttributes but don't know how to read them all out.

I read out all engineer content associated with this element, and also use following codes to read all xmlFragment properties, seems there still missing some property.

 

        XmlFragmentListPtr linkageFragments = XmlFragmentList::ExtractFromElement(eh);
        if (linkageFragments.IsValid())
        {
            for each (XmlFragmentPtr fragment in (*linkageFragments))
            {
                if (fragment.IsValid())
                ...
            }
        }

When opening this model in the AECOsim Building Designer I saw some properties were not be read out, but I don't know if they are the 14 linkages and also don't know how can I read them out with API.


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>