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
- core/backend/src/Material.ts Line 41
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.