Gets the material gauge identifier by its GUID and material identifier.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public int GetMaterialGaugeByGUID(
Guid gaugeGUID,
int materialId
)
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
Int32
The gauge identifier. Returns 0 if not found.
See Also
Reference