create MethodStatic

Create a new CodeSpec from the specified parameters

Note: CodeSpec.id will not be valid until inserted

create(iModel: IModel, name: string, scopeType: CodeScopeSpec.Type, scopeReq?: CodeScopeSpec.ScopeRequirement): CodeSpec

@see CodeSpecs.insert

Parameter Type Description
iModel IModel  
name string  
scopeType CodeScopeSpec.Type  
scopeReq CodeScopeSpec.ScopeRequirement  

Returns - CodeSpec

Defined in

Last Updated: 21 November, 2024