# Measure room areas from a floor plan PDF

**Use case:** 

Measures one sheet of a public-domain building drawing at 1/4 inch scale: room square footage and perimeters, wall linear feet and door counts, with an overlay image of the rooms it found. Point it at your own vector floor-plan PDF, pick the pages and set the scale.

## Input

```json
{
  "pdfUrls": [
    "https://api.apify.com/v2/key-value-stores/SWMFhT4MgOApOedsR/records/usfs-bent-creek-building-diagrams.pdf"
  ],
  "pages": "5",
  "scale": "1/4",
  "profile": "auto",
  "overlayImage": true,
  "wallHeightFt": 9,
  "maxSheets": 50,
  "maxFileSizeMb": 100,
  "sheetTimeoutSecs": 300
}
```

## Output

```json
{
  "fileName": {
    "label": "File",
    "format": "string"
  },
  "page": {
    "label": "Page",
    "format": "integer"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "errorCode": {
    "label": "Error",
    "format": "string"
  },
  "profileResolved": {
    "label": "Profile used",
    "format": "text"
  },
  "scale": {
    "label": "Scale",
    "format": "text"
  },
  "areas.totalFloorSf": {
    "label": "Floor SF",
    "format": "number"
  },
  "areas.roomCount": {
    "label": "Rooms",
    "format": "number"
  },
  "lengths.wallScheduleLf": {
    "label": "Wall LF (schedule)",
    "format": "number"
  },
  "lengths.wallCenterlineLf": {
    "label": "Wall LF (centerline)",
    "format": "number"
  },
  "counts.doors": {
    "label": "Doors",
    "format": "number"
  },
  "counts.doorsFlaggedForReview": {
    "label": "Doors to review",
    "format": "number"
  },
  "scaleCheck.verdict": {
    "label": "Scale check",
    "format": "text"
  },
  "overlayUrl": {
    "label": "Overlay",
    "format": "string"
  },
  "charged": {
    "label": "Charged",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Floor Plan Takeoff: PDF Room Areas, Wall LF & Door Counts Actor is ready to run with the inputs already set for "Measure room areas from a floor plan PDF". [Sign up or log in](https://console.apify.com/create-task-from-example/dBa6XNaPie2SNxG2l) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Measure room areas from a floor plan PDF" task

The Floor Plan Takeoff: PDF Room Areas, Wall LF & Door Counts Actor will start running based on the input automatically. You can also change all the input fields, like PDF URLs (public), pages, and more, to match your specific use case.

### 3. Receive the "Measure room areas from a floor plan PDF" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as file, page, status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Measure room areas from a floor plan PDF" task via API](https://apify.com/hanielazevedo/floor-plan-takeoff.md).

## About this Actor

This example demonstrates how to use [Floor Plan Takeoff: PDF Room Areas, Wall LF & Door Counts](https://apify.com/hanielazevedo/floor-plan-takeoff.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/hanielazevedo/floor-plan-takeoff.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/hanielazevedo/floor-plan-takeoff.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
