Product(s): | MicroStation | ||
Version(s): | 10.17.02.61 | ||
Environment: | N\A | ||
Area: | Properties | ||
Subarea: | Item Types |
Item Type Expression to set a GUID as Property value
Request from User:
My question was if it is possible to generate a random GUID and put it into a Item Type. A GUID is a Globally Unique Identifier. Also known as a UUID, or Universally Unique Identifier. It’s basically a 128bit number. I am looking to use this to link our Item Type information in MicroStation or OpenRoads Designer to asset information in GIS.
Currently it's not possible to get/set, GUID/UUID via Item Type Expressions. Post it as an Idea
YongAn Fu (Support Manager • Global Technical Support) has provided a sample VBA code for this requirement.
Sample Code, File:
communities.bentley.com/.../AssignUUID.mvba
communities.bentley.com/.../Elements.dgn
Original Author: | Leonard Jones |