Hi Donna,sorry that's what I did. But unfortunately it seems to be that AutoColor returns for each field of the group a separate color map.
Hi Chris,also thank you for your suggestions. As it is an example I tried to simplify it. In reality I do not know the number of fields inside a group beforehand. Therefore, I need a list containing the values of all fields in the data file.
HartwigTo demonstrate the problem here is a dx data file output and attached a small demo net file that I am using. This data file has only one group having two members but there could also be more groups and/or more members per group.
# node positions:object "triangles_positions" class array type float rank 1 shape 2 items 3 data follows
0 0 2 0 1 1 # node connections (element description):object "triangles_connections" class array type int rank 1 shape 3 items 1 data follows
0 1 2 attribute "element type" string "triangles" attribute "ref" string "positions" # function data:object "triangles_data" class array type float rank 0 items 3 data follows
0 1 2 attribute "dep" string "positions" # field definition: object "triangles_field" class field component "positions" value "triangles_positions" component "connections" value "triangles_connections" component "data" value "triangles_data" # node positions:object "quads_positions" class array type float rank 1 shape 2 items 4 data follows
-1 0 0 0 0 1 -1 1 # node connections (element description):object "quads_connections" class array type int rank 1 shape 4 items 1 data follows
0 3 1 2 attribute "element type" string "quads" attribute "ref" string "positions" # function data: object "quads_data" class array type float rank 0 items 4 data follows 0 1 2 3 attribute "dep" string "positions" # field definition: object "quads_field" class field component "positions" value "quads_positions" component "connections" value "quads_connections" component "data" value "quads_data" # create sub-group of a geometrical object: object "function_group" class group member 0 value "triangles_field" member 1 value "quads_field" end
OpenDXScheme.pdf
Description: Adobe PDF document
