Name | Description | |
---|---|---|
EntityList Constructor | Special constructor, can be used when annotation entities (devDept.Eyeshot.Entities.Text, devDept.Eyeshot.Entities.Dimension, etc.) are not involved. |
The following tables list the members exposed by EntityList.
Name | Description | |
---|---|---|
EntityList Constructor | Special constructor, can be used when annotation entities (devDept.Eyeshot.Entities.Text, devDept.Eyeshot.Entities.Dimension, etc.) are not involved. |
Name | Description | |
---|---|---|
BoxMax | Gets the maximum 3D extent of the model. | |
BoxMin | Gets the minimum 3D extent of the model. | |
BoxSize | Gets the 3D extent of the model. | |
CurrentBlockReference | Gets the current BlockReference. | |
CurrentTransformation | Gets the accumulated CurrentBlockReference transformation (including its parents transformations). | |
FrontFacingOnly | Accurate transparency. If true, skips back facing semi-tranparent triangles drawing, increasing the FPS rate. | |
IsOpenCurrentBlockReference | Tells if the current devDept.Eyeshot.Entities.BlockReference is open. | |
MaxCandidates | 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. | |
Parents | Gets the stack of the parents of the current BlockReference. | |
VisualRefinementTolerance | Gets current visual refinement tolerance. |
Name | Description | |
---|---|---|
Add | Overloaded. Adds one devDept.Eyeshot.Entities.Entity at the end of this collection using the specified layer. | |
AddRange | Overloaded. Adds the entities of the specified collection to the end of this collection using the specified layer. | |
AdjustBlockReferenceBlockNames | Updates the BlockReferences block names according to the specified mapping. | |
Clear | Overridden. Removes all items from the collection. | |
ClearSelection | Clears selection. | |
CloseCurrentBlockReference | Stops the showing of the CurrentBlockReference and goes back to the visualization of the whole scene. | |
ConvertToLinearPaths | Overloaded. Converts the text outlines to LinearPath. | |
CopySelection | Copies selected entities into the clipboard. | |
CutSelection | Cut selected entities into the clipboard. | |
DeleteSelected | Delete selected Entities. | |
Explode | Overloaded. Returns the block reference individual entity list. | |
GetStackTransformation | Gets the cumulative transformation of a blockreference stack. | |
GetStats | Overloaded. Get the statistics. | |
Insert | Overloaded. Overridden. Insert a block into current 3D scene. | |
InsertRange | Overloaded. Overridden. | |
Intersection2D | Finds all 3D points where the provided coplanar curves intersect. | |
InvertSelection | Inverts selection. | |
OpenCurrentBlockReference | Shows only current BlockReference on screen. The OriginSymbol and Grid are in the BlockReference reference system. | |
Paste | Pastes copied entities from the clipboard. | |
ProcessSemiTransparent | Performs semi-transparent entities pre-processing. | |
Regen | Regens 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. | |
RegenAllCurved | Overloaded. 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. | |
Remove | Overridden. Removes the first occurrence of a specific entity from this collection. | |
RemoveAt | Overridden. Removes the entity at the specified index of this collection. | |
RemoveRange | Overridden. Removes a range of entities from this collection. | |
ReplaceBlockNames | 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. | |
Rotate | Overloaded. Rotates all the entities in this collection around an arbitray axis by the specified angle. | |
Scale | Overloaded. Scales all the entities in this collection of the specified scale factor. | |
SelectAll | Selects all selectable and visible entities. | |
SetCurrent | Sets a BlockReference as current and updates the entity list with its block entities. | |
SetCurrentStack | Sets 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. | |
SetParentAsCurrent | Sets the parent of the current BlockReference (if it exists) as current. | |
SetSelectionAsCurrent | Sets the selected BlockReference as current (if there is one). | |
SynchronizeAttributes | Overloaded. Synchronizes AttributeReference entities of the devDept.Eyeshot.Entities.BlockReference referring to the blockName block with the data of its devDept.Eyeshot.Entities.Attribute entities. | |
Translate | Overloaded. Translates all the entities in the collection. | |
UpdateBoundingBox | Computes the model bounding box and updates some important variables. If the bounding box, grid, or shadow are visible, it updates them too. |
Name | Description | |
---|---|---|
CombineBoundingBox | Overloaded. | |
DeSerialize | ||
GetVisualRefinementTolerance | Gets the internal refinement tolerance used by the Regen method, computed automatically from the scene dimensions. | |
Serialize | ||
UpdateVisualRefinementTolerance |