Gets the service identifier by its GUID.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public int GetServiceByGUID( Guid serviceGUID )
Parameters
- serviceGUID Guid
- The service GUID.
Return Value
Int32The service identifier. Returns 0 if not found.
