SilverScreen Solid Modeler

Enumerators

Enumerators

Previous topic Next topic  

Enumerators

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

Enumerators

 

 


Enumerators allow C# programmers to make use of the foreach statement to traverse the geometry of a SilverScreen drawing much more simply. The SilverSharp platform includes useful enumerators to improve the interaction with C#.

 

 


The enumerators are:

 

Name

Meaning

AttributeList

A list of SilverSharp.ATTRIBUTE_NODE objects

BosList

A list of SilverSharp.BOS_NODE objects

EdgeList

A list of SilverSharp.EDGE_NODE objects

PrimList

A list of SilverSharp.PRIM_NODE objects

SchemaList

A list of SilverSharp.SCHEMA_NODE objects

TagList

A list of SilverSharp.TAG_NODE objects

VertexList

A list of SilverSharp.VERTEX_NODE objects

 

The normal way to work with enumerators is to create one, then iterate through the collection using the C# foreach statement. All of the enumerators listed in the table above provide examples of their usage.