constructor Method

Create a GeometryParams given a Category Id for a GeometricElement and optional SubCategory Id. The SubCategory.appearance establishes the non-overriden display properties of graphics in a GeometricElement's GeometryStreamProps. A GeometricElement refers to a single Category through GeometricElement.category, while it's graphics can appear on multiple SubCategories by adding a GeometryAppearanceProps with a SubCategory change to the GeometryStream.

GeometryParams(categoryId: string, subCategoryId: stringId64.invalid): GeometryParams

@note If a valid SubCategory Id is not supplied, the default SubCategory for the parent Category is used. To be considered valid, SubCategory.getCategoryId must refer to the specified Category Id.

Parameter Type Description
categoryId string  
subCategoryId string  

Returns - GeometryParams

Defined in

Last Updated: 04 December, 2024