Hi,
Can anyone enlighten me as to how I get the GUID for a Microstation geometry element through VBA?
Thanks
gustav: Can anyone enlighten me as to how I get the GUID for a MicroStation geometry element through VBA?
Can anyone enlighten me as to how I get the GUID for a MicroStation geometry element through VBA?
Each element in a DGN file has a unique 64-bit ElementID. The uniqueness belongs to the DGN file, so it is not globally unique. Two DGN files can contain elements having the same 64-bit ElementID.
The property that returns an ElementID is simply Element.ID. Note: the ID returned is a DLong UDT, two 32-bit values packed into a structure.
Regards, Jon Summers LA Solutions