Skip to content

[Bug]: Make Pattern Error - Revit 2026 pyRevit 6.0.0.26032 #3078

@Sprqst

Description

@Sprqst

✈ Pre-Flight checks

  • I don't have SentinelOne antivirus installed (see above for the solution)
  • I have searched in the issues (open and closed) but couldn't find a similar issue
  • I have searched in the pyRevit Forum for similar issues
  • I already followed the installation troubleshooting guide thoroughly
  • I am using the latest pyRevit Version

🐞 Describe the bug

Hi, downloaded and installed latest version of pyrevit (6.0.0.26032). Using on Revit 2026. I created a new drafting view. Drew a pattern. Drew a rectangle around the pattern. Select the pattern (without the rectangle around it). Click on Make Pattern. Give name to pattern, select Model pattern, click on Create Pattern, and get error: "Cannot set sketch plane in this view"

⌨ Error/Debug Message

ERROR [pyrevit.revit.selection] Failed to create temporary sketch plane: Cannot set sketch plane in this view.

♻️ To Reproduce

  1. Create a new drafting view.
  2. Draw a pattern, and draw a rectangle around the pattern.
  3. Select the pattern (without the rectangle around it).
  4. Click on Make Pattern.
  5. Give name to pattern, select Model pattern, click on Create Pattern,
  6. See error: "Cannot set sketch plane in this view"

⏲️ Expected behavior

Expected behavior would be that it creates a pattern succesfully.

🖥️ Hardware and Software Setup (please complete the following information)

C:\Users\Jeff Salman>pyrevit env
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Branch: "master" | Version: "6.0.0.26032+2145" | Path: "C:\Users\Jeff Salman\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "2026 First Customer Ship" | Engine: DEFAULT (2712) | Path: "C:\Users\Jeff Salman\AppData\Roaming\pyRevit-Master"
==> Installed Extensions
==> Default Extension Search Path
C:\Users\Jeff Salman\AppData\Roaming\pyRevit\Extensions
==> Extension Search Paths
==> Extension Sources - Default
https://github.com/pyrevitlabs/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
2026 First Customer Ship | Version: 26.0.4.409 | Build: 20250227_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2026\"
==> Running Revit Instances
PID: 14952 | 2026.4 | Version: 26.4.0.32 | Build: 20251103_1515(x64) | Language: 0 | Path: "C:\Program Files\Autodesk\Revit 2026"
==> User Environment
Microsoft Windows 10 [Version 10.0.22631]
Executing User: MSI\Jeff Salman
Active User: MSI\Jeff Salman
Admin Access: No
%APPDATA%: "C:\Users\Jeff Salman\AppData\Roaming"
Latest Installed .Net Framework: 10.0.2
No .Net Target Packs are installed.
No .Net-Core Target Packs are installed.
Active CPython Engine Version: 0
pyRevit CLI v6.0.0.26032+2145.05bc865248e3efa525f010c590209dc4d262dd2c

Additional context

The only thing I noticed when I ran "pyrevit env" in command prompt are the following:

No .Net Target Packs are installed.
No .Net-Core Target Packs are installed.

Not sure if these are something need to be installed, and perhaps that's why it's not working for me. Thank you for looking into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug that stops user from using the tool or a major portion of pyRevit functionality [class]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions