Hi,
It is possible to extract xattribute data of an element using PropertyHandler and xattribute Name
For example to extract FID xattribute:
Dim oPH As PropertyHandler
Dim elem as Element
' Read Some element from file
.........
Set oPH = CreatePropertyHandler(elem)
oPH.SelectByAccessString "FID" Debug.Print oPH.GetDisplayString
My question is: How can I get a list of the xattributes names attached to an element (oPH.SelectByAccessString "XAttributes" returns the number of xattributes but I didn't find something like oPH.SelectByAccessString "XAttributes[0].Name" accessing Name by its id)?
Thanks
Jean-Claude Fischer
How about oPH.GetAccessStrings ?
HTH, YongAn
Thanks YongAn, that's what I need.
In the dgn (issued from a shape file) I am using, the xattribute names are the first members of the string array. Do you know if this is always the case and if not how can it be possible to filter the array to get the xattribute names?
Regards,