Hi. i have a property set in AutoCAD. have an automatic property ObjectType (for Lines and Polylines), and formula property named Result for example.
I want to have result 1 if objecttype is "Line" and 2 if objecttype is "Polyline" and 3 if objecttype is no Line or Polyline.
i defined formula like this:
If [ObjectType] = Polyline Then
RESULT = 1
ElseIf [ObjectType] = Line Then
RESULT = 2
Else
RESULT = 3
End If
but result is always 1. i tryed to use [ or " for text string, but is the same.
what is the right expression for formula? thanks.
i