Revit 2026 API
Fabrication |
Gets the material gauge identifier by its GUID and material identifier.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public int GetMaterialGaugeByGUID( Guid gaugeGUID, int materialId )
Public Function GetMaterialGaugeByGUID ( gaugeGUID As Guid, materialId As Integer ) As Integer
public: int GetMaterialGaugeByGUID( Guid gaugeGUID, int materialId )
member GetMaterialGaugeByGUID : gaugeGUID : Guid * materialId : int -> int
Parameters
- gaugeGUID Guid
- The material gauge GUID.
- materialId Int32
- The material identifier. The same material gauge GUID could have different material gauge identifiers for different materials.
Return Value
Int32The gauge identifier. Returns 0 if not found.
See Also