Message 1 of 2
GetUserDefinedPropertyValue - Enumeration
Not applicable
09-20-2008
07:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I only saw one thread regarding the UPDs, so here's my question on it. I
simply need to extract the values, so I thought this would be nice and
simple. Unfortunately, wehn the data type of the UDP is Enumeration, I get
the "unspecified error" which Laurie spoke of in the one thread I found.
The below code does work fine with a string typed UDP.
I tried passing several different things to this, as well. The
documentation says you "Can pass in the property name, or the property
object". I tried both, neither of which did the trick.
For Each oParc In oSite.Parcels
Debug.Print oParc.Name & ": " &
oParc.GetUserDefinedPropertyValue("Type")
Next oParc
Any thoughts (beyond not using Enumerations) would be appreciated.
simply need to extract the values, so I thought this would be nice and
simple. Unfortunately, wehn the data type of the UDP is Enumeration, I get
the "unspecified error" which Laurie spoke of in the one thread I found.
The below code does work fine with a string typed UDP.
I tried passing several different things to this, as well. The
documentation says you "Can pass in the property name, or the property
object". I tried both, neither of which did the trick.
For Each oParc In oSite.Parcels
Debug.Print oParc.Name & ": " &
oParc.GetUserDefinedPropertyValue("Type")
Next oParc
Any thoughts (beyond not using Enumerations) would be appreciated.