LinetypeTable Methods |
The LinetypeTable type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add(Linetype) |
Adds a new linetype with specified definition to the linetype table.
|
![]() | Add(String, IEnumerableDouble) |
Adds a new linetype with specified definition to the linetype table.
|
![]() | AddReferenceLinetype |
Adds a reference linetypes that will not be saved in files.
|
![]() | Clear |
Marks all items as deleted.
(Inherited from CommonComponentTableT.) |
![]() | Delete(Linetype) | (Overrides CommonComponentTableTDelete(T).) |
![]() | Delete(IEnumerableInt32, Boolean) | Deletes multiple linetypes. |
![]() | Delete(Int32, Boolean) | Deletes linetype. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Find(String) | Finds the linetype with a given name. |
![]() | Find(Guid, Boolean) | Finds a linetype with a matching ID. |
![]() | FindId |
Uses the guid to find a model component. Deleted objects cannot be found by id.
The guid is the value that is stored in the .Id property.
In a single document, no two active objects have the same guid. If an object is
replaced with a new object, then the guid persists. For example, if the _Move command
moves an object, then the moved object inherits its guid from the starting object.
If the Copy command copies an object, then the copy gets a new guid. This guid persists
through file saving/opening operations. This function will not find grip objects.
(Inherited from CommonComponentTableT.) |
![]() | FindIndex |
Retrieves a Linetype object based on Index. This search type of search is discouraged.
We are moving towards using only IDs for all tables.
|
![]() | FindName | Finds the linetype with a given name. |
![]() | GetEnumerator | (Overrides CommonComponentTableTGetEnumerator.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUnusedLinetypeName |
Gets unused linetype name used as default when creating new linetypes.
|
![]() | GetUnusedLinetypeName(Boolean) | Obsolete.
Obsolete. Use the other overload. Gets unused linetype name used as default when creating new linetypes.
|
![]() | LinetypeIndexForObject |
Returns the effective linetype index to be used to find the
linetype definition to draw an object. If an object's linetype
source is LinetypeFromObject, the linetype index in the object's
attributes is used. If an object's linetype source is LinetypeFromLayer
the linetype index from the object's layer is used.
|
![]() | LoadDefaultLinetypes |
Fills in the linetype table with any default linetypes not already included.
|
![]() | Modify | Modify linetype settings. |
![]() | SetCurrentLinetypeIndex |
At all times, there is a "current" linetype. Unless otherwise specified, new objects
are assigned to the current linetype. The current linetype is never deleted.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Undelete | Restores a linetype that has been deleted. |
![]() | UndoModify |
If the linetype has been modified and the modification can be undone,
then UndoModify() will restore the linetype to its previous state.
|