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. | |
ConvexHull | The convex hull of the surface. | |
CustomData | Gets or sets a custom object that will be stored to the Eyeshot Proprietary File Format. | |
Description | Gets or sets a description text for this block definition. | |
Entities | Gets entity collection. | |
FullPath | Gets or sets the forced full path for saving the file representing this block. Default value is null/Nothing. | |
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. | |
MassUnits | Gets or sets the block mass units of measurement. | |
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() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
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. | |
GetShallowCopy() | Creates a deep copy of the Block (without cloning all its entities). | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
GetXElement(string, StringBuilder) | For internal use only. | |
GroupSelection() | Creates a single unit from selected entities. | |
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. | |
SetKey(string) | Sets the key for the item of the collection. | |
ToString() | ||
Ungroup(int) | Removes the group status from the specified group. |
Name | Description | |
---|---|---|
KeyChanged | Occurs when the Name changes. |
Name | Description | |
---|---|---|
_convexHull |