The VSON Cookbook

14/24 Page

Floor Plan: Doors and Windows

Doors, windows, and gaps are features placed along a wall segment. Each feature has a start (distance from the segment's start) and a length.

A Room with a Door and a Window

{
  "Version": "1.0",
  "Template": "Floorplan",
  "McpGenerated": true,
  "KeepDocument": true,
  "FloorplanSettings": { "scaletype": "Architectural", "thickness": "4\"" },
  "Symbols": [
    { "Name": "door",   "ID": "a653e73a-ba92-43a1-9030-21b86b23b888" },
    { "Name": "window", "ID": "532349ab-8678-4a49-b6b4-ea613e895678" }
  ],
  "Shape": {
    "Hide": true,
    "Outline": [
      {
        "origin": { "x": "10'", "y": "10'" },
        "thickness": "4\"",
        "segments": [
          {
            "endPoint": { "x": "12'", "y": "0'" }
          },
          {
            "endPoint": { "x": "12'", "y": "14'" },
            "features": [
              { "start": "3'", "length": "8'", "name": "window" }
            ]
          },
          {
            "endPoint": { "x": "0'", "y": "14'" },
            "features": [
              { "start": "4' 6\"", "length": "3'", "name": "door" }
            ]
          },
          {
            "endPoint": { "x": "0'", "y": "0'" }
          }
        ],
        "furniture": []
      }
    ]
  }
}
Room with door and window example
  • Top wall: no features.
  • Right wall: a window 8' long, starting 3' from the top corner.
  • Bottom wall: a door 3' wide, starting 4'6" from the right corner.
  • Left wall: no features.

Wall-Feature Symbol

Every feature name must be registered in the top-level Symbols array with its GUID. Use these exact values:

Name GUID
window 532349ab-8678-4a49-b6b4-ea613e895678
gardenwindow f305437c-cbe9-4a37-8d9a-87a32adb4ca4
baywindow 4bfbcb42-6f00-425b-8796-9ec71b434406
door a653e73a-ba92-43a1-9030-21b86b23b888
leftdoor 6aeb77b4-7305-4e0c-a0a2-0272db0b5c35
doubledoor 4101d749-3693-4d3d-9154-40fca6265cd4
pocketdoor cd66bc9c-1add-4fe5-af08-709fd90b2e0e
slidingglassdoor 5d9541bf-6790-46cc-8f8a-b913f7c40a09
gap 6f8f8fce-dc39-40ec-8b44-3bc91897ca2b

Only register the symbols you actually use.

Feature Rules

  • start is the distance from the start of the segment, in architectural notation.
  • length is the extent of the feature.
  • start + length must be less than or equal to the segment length. A 12' wall cannot have a door starting at 10' with a length of 4'.
  • Features are listed in order along the segment, but SmartDraw doesn't require ordering.

Centering a Feature

To center a 3' door on a 12' wall: start = (12 - 3) / 2 = 4.5'. In architectural notation, that is "4' 6\"".

{ "start": "4' 6\"", "length": "3'", "name": "door" }

For interior bedroom and bathroom doors, place them 6"-1' from a corner instead, to preserve usable wall space for furniture.

Connecting Rooms with a Door

In a multi-room layout where two rooms share a wall, place matching door or gap features on each side of the shared wall, with the same start and length. SmartDraw treats the shared opening as one doorway.

14/24 Page