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

RE: VBA and Reading DMRS Linkages - Can it be done

$
0
0

[quote user="Mark Gosine"]I need to read the HEX words from a DRMS linkage[/quote]

DMRS was Intergraph's method of attaching business data to graphic elements in IGDS.  It predates relational databases.  DMRS data is, in MicroStation terms, a user data linkage, also known as a data attribute.  That is, it's not a database linkage and VBA's DatabaseLink is not applicable.

A user data linkage has a signature word that informs you what type of linkage it is.  DMRS was the first data attribution invented and has signature ID zero.  You can get an element's DMRS linkage  using a DataBlock object.  Search for DataBlock in VBA help to find what you need.

[quote user="Mark Gosine"]I am hoping that I do not have to backtrack to old MDL language[/quote]

MDL remains a current language, and you could fall back to it.  But, once you've read about DataBlock in VBA help, you'll find that it's easier in VBA than in MDL to implement a data linkage reader/writeer.


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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