event

Revit Parameter Projection Created

A Revit-facing projection of an approved ParameterKey was created, normally in `draft`.

EventStatus: Implemented in api-v1

Purpose

Records the birth of a RevitParameterProjection — one Revit expression of exactly one canonical ParameterKey. Most projections are created automatically in draft by the ensure path after ParameterKeyApproved, then completed and approved by a steward.

Payload

Envelope is { name, occurredAt, payload } (apps/api-v1/src/modules/shared/domain/events/DomainEvent.ts). All seven RevitParameterProjection* events share one payload type; occurredAt appears both on the envelope and in the payload.

FieldTypeMeaning
projectionIdstringProjection domain_id
parameterKeyIdstringThe one canonical key this projection expresses
occurredAtDateWhen the change happened

Raised by

  • RevitParameterProjection.createapps/api-v1/src/modules/bim-ontology/core/domain/revit/RevitParameterProjection.ts, only when a clock is supplied
  • CreateRevitParameterProjectionUseCaseapps/api-v1/src/modules/bim-ontology/core/application/use-cases/RevitProjectionAuthoringUseCases.ts. EnsureRevitProjectionForParameterKeyUseCase reaches it through ensureBuiltIn / ensureShared, choosing the definition form from CommonParameterProjectionPolicy on the key’s handle
  • HTTP: createRevitParameterProjection

Consumers

No subscriber in this module. No handler is registered for any of the seven projection events in bim-ontology.composition.ts; only the '*' DomainEventAuditLogger sees them. Every automatic consequence around projections is driven by a ParameterKey* or ParameterGroupChanged event flowing into the projection side.