Ruby Console:
modeldict = Sketchup.active_model.attribute_dictionary "GlaserSectionToolX", true
#<Sketchup::AttributeDictionary:0x0000000b463510>
section = modeldict["A-A"]
[1, [0, 189.71779506668338, 0], [0, 366.4931280844982, 0], false]
section[1][0].class
Fixnum
section[1][1].class
Length
C++:
SUTypedValueType type = SUTypedValueType_Empty;
SU_CALL(SUTypedValueGetType(v1Values[i], &type)); // returns 5 => Double! Wrong Type?
double testdouble = 0;
SU_CALL(SUTypedValueGetDouble(v1Values[i], &testdouble)); //=> SU_ERROR_NO_DATA. Because is "Lenght", not "Double"
Solution: Homepage | SketchUp Developer
It is not possible to get value, if it is stored as Lenght-object in Dictionary?