This class defines the QTO material of sample line group
Inheritance Hierarchy
SystemObjectAutodesk.Civil.DatabaseServicesQTOMaterial
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public sealed class QTOMaterial : IEnumerable<QTOMaterialItem>, IDisposable
VB
Public NotInheritable Class QTOMaterial Implements IEnumerable(Of QTOMaterialItem), IDisposable
C++
public ref class QTOMaterial sealed : IEnumerable<QTOMaterialItem^>, IDisposable
The QTOMaterial type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Count | Gets the count of material items. | |
| Guid | Gets the GUID. | |
| IsSubcriteriaSupported | Gets the boolean value indicating whether sub criteria is supported. | |
| ItemInt32 | ||
| ItemString | ||
| MaterialGaps | Gets the collection of material gap. | |
| MaterialListGuid | Gets the GUID of its parent material list. | |
| Name | Gets or sets the name. | |
| QuantityType | Gets or sets the material quantity type. | |
| SampleLineGroupId | Gets the ObjectId of the sample line group. | |
| ShapeStyleId | Gets or Sets the ObjectId of the style used to display the material in a section view. | |
| Subcriteria | Gets all sub criteria in the material. |
Methods
| Name | Description | |
|---|---|---|
| Add(ObjectId) | Adds a material item with the sampled surface to the material. | |
| Add(ObjectId, String) | Adds a material item with the sampled corridor shape to the material. | |
| Dispose | Releases all resources used by the QTOMaterial | |
| GetEnumerator | Implement the method declare in IEnumerable<T> interface. This method return an enumerator which can be use to enumerate this collection. | |
| GetFactor | Gets the factor value. | |
| GetObjectEnumerator | Implement the method declare in IEnumerable interface. This method return an enumerator which can be use to enumerate this collection. | |
| IsFactorApplicable | Gets a boolean value indicating whether the specified factor is applicable. | |
| Remove(QTOMaterialItem) | Removes a material item from the material. | |
| Remove(String) | Removes a material item specified by name from the material. | |
| RemoveAt | Removes a material item specified by index from the material. | |
| SetFactor | Sets the factor value. |
