Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / UtilityEx Class / GetReferencedBlocksNames Method
The entity list
The block collection

In This Topic
    GetReferencedBlocksNames Method
    In This Topic
    Returns the set of block in use (referenced by a devDept.Eyeshot.Entities.BlockReference) names.
    Syntax
    'Declaration
     
    Public Shared Function GetReferencedBlocksNames( _
       ByVal entities As IList(Of Entity), _
       ByVal blocks As Dictionary(Of String,Block), _
       Optional ByVal parentBlocks As Dictionary(Of String,Block) _
    ) As HashSet(Of String)
    public static HashSet<string> GetReferencedBlocksNames( 
       IList<Entity> entities,
       Dictionary<string,Block> blocks,
       Dictionary<string,Block> parentBlocks
    )

    Parameters

    entities
    The entity list
    blocks
    The block collection
    parentBlocks

    Return Value

    The set of block in use names.
    See Also