Class Scene.Object.FinishType
Represents a finish type, which is a set of available choices for one particular object's characteristic. Examples are front model, carcase colour, worktop colour, etc.
Implements
Inherited Members
Namespace: KD.SDK2
Assembly: KD.SDK2.dll
Syntax
public class Scene.Object.FinishType : IEquatable<Scene.Object.FinishType>
Properties
Name | Description |
---|---|
Code | Code of the finish type. |
Finishes | Returns all the finishes that are available for the finish type. |
Name | Name of the finish type. |
Number | Unique number of the finish type defined in the catalog it comes from. |
Rank | Rank of the finish type (some kind of position in the list of available finish types in the catalog it comes from, though it's not exact the same as a usual position since finish type may come from different catalog tables). |
Methods
Name | Description |
---|---|
Equals(FinishType) | Indicates whether the current object is equal to another object of the same type. |
Equals(object) | Determines whether the specified object is equal to the current object. |
GetFinishByCode(string) | Gets the finish with given code from the finishes available for the finish type. |
GetFinishByName(string) | Gets the finish with given name from the finishes available for the finish type. |
GetHashCode() | Serves as the default hash function. |
ToString() | Returns a string that represents the current object. |
TryGetFinishByCode(string, out Finish) | Tries to find finish with given code in the finishes available for the finish type. |
TryGetFinishByName(string, out Finish) | Tries to find finish with given name in the finishes available for the finish type. |
Operators
Name | Description |
---|---|
operator ==(FinishType, FinishType) | Determines whether two specified instances have the same value. |
implicit operator CatalogFinishType(FinishType) | Converts Scene.Object.FinishType to corresponding Appli.CatalogFinishType |
operator !=(FinishType, FinishType) | Determines whether two specified instances have different values. |