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

RE: [CONNECT C++] Adding Item to Element Template

$
0
0
That will sort-of work, except there is a specific flag that must be set on the ECInstance indicating it is an Item attached to a Template, which enables template-specific behavior.
Without that flag, you may find some things don't work as you expect.

Unfortunately, the API for setting that flag is not exposed via the published API.
Frankly, the Template API should provide a direct method accepting an ItemType to attach to a Template.
Ideally there would also be a keyin.

Regards,
Paul

Viewing all articles
Browse latest Browse all 7260

Trending Articles



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