getById Method

Look up a CodeSpec by Id. The CodeSpec will be loaded from the database if necessary.

getById(codeSpecId: Id64String): CodeSpec

throws IModelError if the Id is invalid or if no CodeSpec with that Id could be found.

Parameter Type Description
codeSpecId Id64String The Id of the CodeSpec to load

Returns - The CodeSpec with the specified Id

Defined in

Last Updated: 08 January, 2020