Skip to main content

Blockly Examples

Interactive visual programming tutorials

Workspace Examples

Explore these interactive Blockly workspace templates to learn PIComposer visual programming

Template Name Description Source Open Workspace
2-storey (2m height) 2 storey spatial template View source Open Workspace
5-storey (2m height) spatial teamplate with 5 storeys View source Open Workspace
ap214-brep-box ap214 model generator with rectangular brep View source Open Workspace
boolean-substraction CSG solid, buildingsmart bathtub example captured as instance template View source Open Workspace
circular wall extruded circular wall (input angles are in degree) View source Open Workspace
data-transfer data transfer demo View source Open Workspace
export-model export model to part21 file View source Open Workspace
half-circle swept disc half circle swept disc View source Open Workspace
ifc-brep-box ifc brep rectangular box View source Open Workspace
ifc-platonic-cube the cubic platonic solid View source Open Workspace
ifc-platonic-dodecahedron platonic dodecahedron brep View source Open Workspace
ifc-platonic-icosahedron platonic icosahedron brep View source Open Workspace
ifc-platonic-octahedron platonic octahedron brep View source Open Workspace
ifc-platonic-tetrahedron platonic brep tetrahedron View source Open Workspace
ifcextruded-solid generates a rectangular extruded solid View source Open Workspace
IfcProduct-translate translate a product local place by the user input vector View source Open Workspace
IfcProduct-x-axis-rotation rotates a product placement around the x-axis (angle in degree) View source Open Workspace
IfcProduct-y-axis-rotation rotate a Product placement around the y-axis (angle in degrees) View source Open Workspace
IfcProduct-z-axis-rotation rotate a IfcProduct local placement around z-axis by a given degree View source Open Workspace
partial-model-to-part21 export part of model to a part21 file View source Open Workspace
poly curve profile poly curve profile with one arc. View source Open Workspace
procedural house procedural house. This procedure utilize other procedures. View source Open Workspace
procedural rebar reinforce bar with swept solid View source Open Workspace
procedural wall simple extruded procedure wall (thickness = y direction) View source Open Workspace
procedural-shelf procedural book shelf View source Open Workspace
procedural-table procedural table with circular legs. View source Open Workspace
procedural-wall-door procedural wall with door and window View source Open Workspace
Pset_BeamCommon beam common property set View source Open Workspace
Pset_SpaceCommon space common pset View source Open Workspace
Qto_WallBaseQuantities wall base quantities View source Open Workspace
rotation-around-axis rotate product placement around any axis (angle in degree) View source Open Workspace
test-loop-function loop and function test View source Open Workspace
test-user-defined-entity test user defined entity View source Open Workspace
Trapezoidal Prism Brep Trapezoidal Prism View source Open Workspace
wall from indexed poly curve create wall from index poly curve as profile. View source Open Workspace
wall-along-indexed-poly-curve add walls along a indexed poly curve View source Open Workspace
weekday enum enum for weekday View source Open Workspace

What is Blockly?

Blockly is a visual programming language that allows you to create programs by dragging and connecting blocks. In PIComposer, Blockly provides an intuitive way to define procedural workflows without writing code.

Benefits of Visual Programming:

  • No coding experience required
  • Easy to understand and debug
  • Visual representation of logic flow
  • Quick prototyping of procedures
🧩

Ready to Learn?

Click any example above to explore the workspace

More Resources

Continue learning with our documentation

Blockly API Docs All Resources