You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
khanaffan
changed the title
Inconsistences in itwin.js Element API related to use of navigation properties
Inconsistencies in itwin.js Element API related to use of navigation properties
Jan 27, 2025
khanaffan
changed the title
Inconsistencies in itwin.js Element API related to use of navigation properties
Inconsistencies in Element API related to use of navigation properties
Jan 27, 2025
Inconsistencies in Element Api. Mainly there is bunch of places where we have navigation properties but we name or typed them inconsistently.
Elemen.model
should have been a rRelatedModel
typeGeometricElement.category
should have been aRelatedCategory
type.Model .parentModel
should have beenRelatedModel
type.ViewDefintion.categorySelectionId
should beRelatedCategory
and it hasId
postfix unlikemodel
,category
andparentModel
ViewDefintion.displayStyleId
should beRelatedDisplayStyle
and it hasId
postfix unlikemodel
,category
andparentModel
ViewDefinition2d.baseModelId
should beRelatedModel
type and it hasId
postfix unlikemodel
,category
andparentModel
Generally all navigation properties should be defined a such
{ id: Id64String, relClassName: string }
using theRelatedElementProps
interfaceThe text was updated successfully, but these errors were encountered: