types with data for even one field (from available) will be selected.
"""
+ if not proxy.GetProperty("FieldsTreeInfo"):
+ return
+
proxy.UpdatePipeline()
if not hasattr(proxy, 'Entity'):
- separator = proxy.GetProperty("Separator").GetData()
-
fields_info = proxy.GetProperty("FieldsTreeInfo")[::2]
arr_name_with_dis=[elt.split("/")[-1] for elt in fields_info]
fields = []
for name in on_gauss:
- fields.append(name+separator+'GAUSS')
+ fields.append(name+_med_field_sep+'GAUSS')
for name in on_cells:
- fields.append(name+separator+'P0')
+ fields.append(name+_med_field_sep+'P0')
for name in on_points:
- fields.append(name+separator+'P1')
+ fields.append(name+_med_field_sep+'P1')
field_list = []
for name in fields:
print "FAILED"
else:
proxy.UpdatePipeline()
- _med_field_sep = proxy.GetProperty("Separator")
print "OK"
except:
print "FAILED"