SilverScreen Solid Modeler

BosList.FromGroup method

BosList.FromGroup method

Previous topic Next topic  

BosList.FromGroup method

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

public static BosList FromGroup(const string group_name)

 

const string group_name; // A System.String

 

 

 




Synopsis

The FromGroup method return a BosList class that will enumerate every entity in the named group specified by group_name.

 

 

Parameters

group_name is a System.String that contains the name of a SilverScreen named group in the current drawing.

 

 

Return Value

FromQgroup returns a BosList class

 

 

Remarks

This function retrieves all entities of a named group within the current SilverScreen drawing.

 

 

See Also

BosList, EveryBosNode, FromQgroup

 

 

Example

To visit all of the entities in the named group "doors" within the current SilverScreen drawing, do this:

C# Code

 

 using SilverSharp;

 

 . . .

 

 BosList bl = BosList.FromGroup("doors");

   

 foreach ( BOS_NODE bos in bl )

    {

    VisitOneBos(bos);

    }