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

RE: Tags vs Text in Cells

$
0
0

Misunderstanding: Tags vs Item Types

[quote user="Barry Lothian"]I understand Tags no longer exist in Connect and are replaced with Item Types[/quote]

Tags continue to exist in MicroStation CONNECT.  The VBA API for tags appears unchanged.

Bentley Systems tells us that tags are deprecated, not abolished.  Prefer Item Types to tags for new work (unless you're writing VBA).

Item Types

Item Types provide all that tags provide and more.

Item Types conform to a schema, analogous to a tag set defintion.  That is, they are defined formally just as a tag definition tells you what kind of data can be stored in a tag element.  However, Item Types schemas are more flexible than tag set definitions.

When you attach a set of Item Type data to an element they can be visible or not.  Data are attached to the host element nonetheless.  If you defined an Item Type to be displayed, then MicroStation creates a text element to show its value. A consequence of that is that users can't inadvertently delete data.  If user deletes the text elements that display Item Type data, the data are still there — it's just that you can no longer see it.  That eliminates one of the drawbacks of tags — if you delete the tag element, then its data is gone too.

MicroStation CONNECT has a new table element and tools to go with it.  Item Types with tables provide in-model reporting of data.  You can export a report.

Item Types and VBA

Item Types and VBA: there is currently (Spring 2016) no support for Item Types, tables or reports in MicroStation CONNECT VBA.


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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