Hi,
Alexander Rivilis give us a insight of this, PropertyTypeCode is the value type, meaning that 1 stand for a Real value, 5 a text (string), 12 a Point3d, and so on.
That complicate a little the things, because a dynamic block can have a lookup parameter with text values, an that imply that a 5 value in PropertyTypeCode is not necessarily a visibility state, so be careful with that.
here is the complete list from acdb.h:
enum DwgDataType { kDwgNull = 0,
kDwgReal = 1,
kDwgInt32 = 2,
kDwgInt16 = 3,
kDwgInt8 = 4,
kDwgText = 5,
kDwgBChunk = 6,
kDwgHandle = 7,
kDwgHardOwnershipId = 8,
kDwgSoftOwnershipId = 9,
kDwgHardPointerId = 10,
kDwgSoftPointerId = 11,
kDwg3Real = 12,
kDwgInt64 = 13,
kDwgNotRecognized = 19 };
Gaston Nunez