create MethodStatic

Create a PhysicalMaterial

create<T extends PhysicalMaterial>(iModelDb: IModelDb, definitionModelId: string, name: string): T

@returns The newly constructed PhysicalMaterial

@throws IModelError if there is a problem creating the PhysicalMaterial

Parameter Type Description
iModelDb IModelDb The IModelDb
definitionModelId string The Id of the DefinitionModel that will contain the PhysicalMaterial and provide the scope for its name.
name string The name (codeValue) of the PhysicalMaterial

Returns - T

The newly constructed PhysicalMaterial

Defined in

Last Updated: 10 May, 2024