Block Class
A block in Eyeshot is a collection of entities that create an object, grouped together to make one selectable object. Selecting one particular entity will select all entities contained within the block. They can be moved, rotated, mirrored etc and will always be treated by Eyeshot as one whole object.
Blocks are an invaluable way of quickly arranging complex pieces of a model. Selecting the object is a breeze, it is no longer necessary to painstakingly select each individual entities. Blocks also make it easy to duplicate the same object throughout a drawing, and as Eyeshot recognizes that each copy of a block is identical to the previous, the memory and processing time required by Eyeshot is reduced.
Public Class Block
Implements IEquatable(Of Block), _
ISerializable, _
IDisposable, _
ICloneable, _
IKeyedCollectionDisposableItem(Of Block)
This language is not supported or no code example is available.
public class Block : IEquatable<Block>,
ISerializable,
IDisposable,
ICloneable,
IKeyedCollectionDisposableItem<Block>
This language is not supported or no code example is available.
Name | Description | |
---|---|---|
Block(string, Point3D) | Base point constructor. | |
Block(string, Point3D, linearUnitsType) | Base point and units constructor. | |
Block(string, double, double, double) | Base point individual coordinates constructor. |
Name | Description | |
---|---|---|
BasePoint | Gets or sets block definition base point. | |
Description | Gets or sets a description text for this block definition. | |
Entities | Gets or sets entity collection. | |
Groups | Groups collection. | |
IsResolved | If true, the block is resolved. In DWG/DXF import the Block could be defined as an external reference (XRef), when true it was successfully located. | |
Name | Gets or sets block name. | |
Units | Gets or sets block unit system. |
Name | Description | |
---|---|---|
Clone() | Creates a deep copy of the Block (cloning all its entities). | |
Compile(CompileParams) | Compiles the block entities. | |
ConvertToSurrogate() | ||
Dispose() | ||
Equals(Object) | Determines whether the specified object is equal to the current object. (System.Object). | |
Equals(Block) | Compares block names ignoring cases. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetHashCode() | ||
GetKey() | Gets the key for the item of the collection. | |
GetObjectData(SerializationInfo, StreamingContext) | Populates a SerializationInfo instance with the data needed to serialize the target object. | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
GetXElement(string, StringBuilder) | For internal use only. | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
OnKeyChanged(string, string) | When the Name changes I need to notify it to the related keyed collections before changing it. | |
RegenAllCurved(RegenParams) | Regens all curved entities (Circle, Arc, Ellipse, EllipticalArc, Curve, Surface) to make uniform the visual refinement. | |
SetKey(string) | Sets the key for the item of the collection. | |
ToString() |
Name | Description | |
---|---|---|
KeyChanged |