Here's a resonably straightforward way: c = Extract(Field, "connections"); numconnections = Inquire(c,"items"); connectionsarray = Enumerate(0, NULL, numconnections, 1); connectionsarray = Options(connectionsarray,"dep","connections"); p = Extract(Field,"positions"); numpositions = Inquire(p,"items"); positionsarray = Enumerate(0, NULL, numpositions, 1); positionsarray = Options(positionsarray, "dep", "positions");
then to show connection values: newfield = Replace(connectionsarray,Field, NULL, "data"); glyphs = AutoGlyph(newfield, "text"); or to show positions values: newfield = Replace(positionsarray,Field,NULL, "data"); glyphs = AutoGlyph(newfield,"text"); _________________________________ Donna L. Gresh, Ph.D. Visual Analysis Group IBM T.J. Watson Research Center (914) 784-5049 [EMAIL PROTECTED] denis cohen <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 12/01/2000 10:54:23 AM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: [email protected] cc: Subject: [opendx-users] node and element numbering Hello, Is there an easy way to label elements and nodes in a unstructured grid? I am able to display node numbers for meshes with less than about 500 nodes using a program similar to UsingGlyphs.net (in dxsamples/programs), but would like to do this for larger meshes and also label elements. Thank you Denis Cohen Yale University
