API Reference > imodeljs-backend > Relationships > GeometricElement2dHasTypeDefinition GeometricElement2dHasTypeDefinition Class Relates a GeometricElement2d to its TypeDefinitionElement Extends RelatedElement Extended by GraphicalElement2dIsOfType Implements RelatedElementProps Methods Name Description constructor(id: Id64String, relClassName: string = GeometricElement2dHasTypeDefinition.classFullName): GeometricElement2dHasTypeDefinition Inherited methods Name Inherited from Description fromJSON(json?: RelatedElementProps): RelatedElement | undefined Static RelatedElement idFromJson(json: any): Id64String Static RelatedElement Accept the value of a navigation property that might be in the shortened format of just an id or might be in the full RelatedElement format. Properties Name Type Description classFullName Static string Inherited properties Name Type Inherited from Description id Id64String RelatedElement The Id of the element to which this element is related. none Static RelatedElement RelatedElement Used to null out an existing navigation relationship. relClassName undefined | string RelatedElement The full className of the relationship class. Defined in core/backend/src/NavigationRelationship.ts Line 88 Last Updated: 13 June, 2024