Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / EntityList Class
Properties Methods


In This Topic
    EntityList Class Members
    In This Topic

    The following tables list the members exposed by EntityList.

    Public Constructors
     NameDescription
    Public ConstructorSpecial constructor, can be used when annotation entities (devDept.Eyeshot.Entities.Text, devDept.Eyeshot.Entities.Dimension, etc.) are not involved.  
    Top
    Public Properties
     NameDescription
    Public Property Gets the maximum 3D extent of the model.  
    Public Property Gets the minimum 3D extent of the model.  
    Public Property Gets the 3D extent of the model.  
    Public Property Gets the current BlockReference.  
    Public PropertyGets the accumulated CurrentBlockReference transformation (including its parents transformations).  
    Public Property Accurate transparency. If true, skips back facing semi-tranparent triangles drawing, increasing the FPS rate.  
    Public PropertyTells if the current devDept.Eyeshot.Entities.BlockReference is open.  
    Public Property Accurate transparency. This parameter affects transparency pre-processing and redrawing speed. Valid values are between 1 and the total number of semi-transparent triangles. The lower is this value the lower will be the time need for pre-processing, penalizing redrawing speed. Higher values normally improve the FPS rate.  
    Public Property Gets the stack of the parents of the current BlockReference.  
    Public Property Gets current visual refinement tolerance.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Adds one devDept.Eyeshot.Entities.Entity at the end of this collection using the specified layer.  
    Public MethodOverloaded. Adds the entities of the specified collection to the end of this collection using the specified layer.  
    Public Methodstatic (Shared in Visual Basic) Updates the BlockReferences block names according to the specified mapping.  
    Public MethodOverridden.  Removes all items from the collection.  
    Public Method Clears selection.  
    Public MethodStops the showing of the CurrentBlockReference and goes back to the visualization of the whole scene.  
    Public MethodOverloaded.  Converts the text outlines to LinearPath.  
    Public Method Copies selected entities into the clipboard.  
    Public Method Cut selected entities into the clipboard.  
    Public Method Delete selected Entities.  
    Public MethodOverloaded.  Returns the block reference individual entity list.  
    Public Method Gets the cumulative transformation of a blockreference stack.  
    Public MethodOverloaded.  Get the statistics.  
    Public MethodOverloaded. Overridden.  Insert a block into current 3D scene.  
    Public MethodOverloaded. Overridden.   
    Public Methodstatic (Shared in Visual Basic) Finds all 3D points where the provided coplanar curves intersect.  
    Public Method Inverts selection.  
    Public MethodShows only current BlockReference on screen. The OriginSymbol and Grid are in the BlockReference reference system.  
    Public Method Pastes copied entities from the clipboard.  
    Public Method Performs semi-transparent entities pre-processing.  
    Public MethodRegens and compiles only entities that need it. Each entity is automatically regenerated and compiled when added to the ViewportLayout.Blocks or ViewportLayout.Entities collection. You need to call this function only when you change/transform an entity already in these collections.  
    Public MethodOverloaded. Regens all curved entities (devDept.Eyeshot.Entities.Circle, devDept.Eyeshot.Entities.Arc, devDept.Eyeshot.Entities.Ellipse, devDept.Eyeshot.Entities.EllipticalArc, devDept.Eyeshot.Entities.Curve, devDept.Eyeshot.Entities.Surface) to uniformize the visual refinement.  
    Public MethodOverridden.  Removes the first occurrence of a specific entity from this collection.  
    Public MethodOverridden.  Removes the entity at the specified index of this collection.  
    Public MethodOverridden. Removes a range of entities from this collection.  
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Replaces the block names in the BlockReference and Block objects found in the given entities and blocks with the ones specified by the mapping.  
    Public MethodOverloaded.  Rotates all the entities in this collection around an arbitray axis by the specified angle.  
    Public MethodOverloaded.  Scales all the entities in this collection of the specified scale factor.  
    Public Method Selects all selectable and visible entities.  
    Public Method Sets a BlockReference as current and updates the entity list with its block entities.  
    Public MethodSets a sequence of BlockReferences as current.

    When a BlockReference is set as current, the following changes happen:

    - A Block is added to the devDept.Eyeshot.ViewportLayout.ParentBlocks with the entities of the current scene except the devDept.Eyeshot.Entities.BlockReference that is set as current.

    - The ViewportLayout.Entities collection contains the current Block entities.

    - The current devDept.Eyeshot.Entities.BlockReference is pushed on the CurrentBlockReferencesData stack.

    - The BoxMin and BoxMax are updated to consider the new entities, without the CurrentTransformation.

    Since the collection is modified, this method can't be called in a Foreach loop.

    To add or remove entities from a BlockReference set as current, do it on the ViewportLayout.Entities and not on the Block.Entities.

     
    Public Method Sets the parent of the current BlockReference (if it exists) as current.  
    Public Method Sets the selected BlockReference as current (if there is one).  
    Public MethodOverloaded. Synchronizes AttributeReference entities of the devDept.Eyeshot.Entities.BlockReference referring to the blockName block with the data of its devDept.Eyeshot.Entities.Attribute entities.  
    Public MethodOverloaded.  Translates all the entities in the collection.  
    Public MethodComputes the model bounding box and updates some important variables. If the bounding box, grid, or shadow are visible, it updates them too.  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverloaded.   
    Protected Method  
    Protected MethodGets the internal refinement tolerance used by the Regen method, computed automatically from the scene dimensions.  
    Protected Method  
    Protected Method  
    Top
    See Also