Gets the service identifier by its GUID.
Namespace: Autodesk.Revit.DBAssembly: 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
Int32
The service identifier. Returns 0 if not found.
See Also
Reference