Import
Example
Notes
- The definition uses metres.
- The input can be text, a definition object, or options with a
source. - Use
updateNodePropertyorsetOPConfigto change the element. An unknown node id throws an error. getOPBufferreturns the definition as text.- Start the geometry kernel before you create this object. See
Floorkit.
extends Polyline implements IShape, PlanVectorExportable, PortOwner
Constructor
Properties
string
Map<string, THREE.Object3D>
Map<string, THREE.Object3D>
boolean
boolean
boolean
OpenElementConfig
string
Read-only.
boolean
string
boolean
boolean
Methods
parseBuffer
normalizeDefinition
getOPBuffer
getAnchorDefinition
getAnchorMatrix
getExportRoots
toDrawing
setOPConfig
beginEdit
beginEdit before endEdit keeps the first start.
endEdit
getOPConfig
getControlSchema
updateNodeProperty
getEditAnchors
applyEditAnchor
dispose
setConfig
setOPGeometry
setOPMaterial
Types
PortOwner
OpenElementConfig
OpenElementInput
OpenElementDefinition
AnchorDefinition
ControlSchema
DistributionPort
string
required
PortDomain
required
string
required
Free-form but conventional: “supplyAir”, “chilledWaterSupply”, “power”.
PortFlowDirection
required
Placement
required
Local placement on the owning element.
PortProfile
required
Cross-section the connecting run must match.
boolean
Chain-internal port of a generated run piece. Regenerated wholesale on every path edit, so
external connections must never target it — the graph rejects such connects with
INTERNAL_PORT.Record<string, string>
OpenElementOptions
OpenElementDimensions
OpenElementAnchors
PortDefinition
A distribution port authored on a.op asset.