SilverScreen Solid Modeler

SchemaList.FromBos method

SchemaList.FromBos method

Previous topic Next topic  

SchemaList.FromBos method

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

public static SchemaList FromBos(string bos_path);

public static SchemaList FromBos(BOS_NODE bos);

 

string   bos_path;   // A System.String

BOS_NODE bos;        // A SilverSharp.BOS_NODE

 

 




Synopsis

The FromBos methods return a SchemaList object that will enumerate every SilverSharp SCHEMA_NODE belonging to the bos-level entity

 

 

Parameters

bos_path is a string that is a SilverScreen path to an entity

bos is a SilverSharp.BOS_NODE whose SCHEMA_NODEs are to be enumerated

 

 

Return Value

FromBos method returns a SchemaList object

 

 

See Also

SchemaList, Enumerators

 

 

Example

The following code enumerates all of the Schemas contained in a SilverSharp BOS_NODE:

 

C# Code

 

 using SilverSharp;

 

 . . .

 

 SchemaList Schemas = SchemaList.FromBos("\\assembly\\a1\\a2\\claw\\claw2");

 

 foreach ( SCHEMA_NODE schema in Schemas )

    {

    VisitOneSchema(schema);

    }