Greetings,
Civil 3D 2009. VBA.
How does GetUserDefinedPropertyValue work?
For example, I created a new property under Unclassified 'User-Defined Property Classifications (under Points Settings in Tool-space) named ABC - a string property.
Then I created Points - edited their Properties, making sure to add some data under the ABC Property.
Then I tried this code:
Dim Ent1 As AcadEntity
Dim Pnt1 As Variant
ThisDrawing.Utility.GetEntity Ent1, Pnt1
Dim C3DPnt1 As AeccPoint
Set C3DPnt1 = Ent1
Dim Str1 As String
Str1 = C3DPnt1.GetUserDefinedPropertyValue("ABC")
MsgBox Str1
The Str1 variable did not get any data. What am I missing?
Thanks,
Kevin.