Gets the specification identifier by group and name.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public int LocateSpecification(
string group,
string name
)
Parameters
- group String
-
The specification group.
- name String
-
The specification name.
Return Value
Int32
The specification identifier. Returns -1 if not found.
Exceptions
See Also
Reference