Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pattern - object has no attribute 'FillPatternId' #871

Closed
Intuos5 opened this issue Apr 4, 2020 · 5 comments
Closed

Make pattern - object has no attribute 'FillPatternId' #871

Intuos5 opened this issue Apr 4, 2020 · 5 comments

Comments

@Intuos5
Copy link

Intuos5 commented Apr 4, 2020

Describe the bug
When I use the make pattern tool to create a filled region in Revit 2020.2, it gives an error message:

Expected behavior
I expect the tool to make a pattern & filled region, just like it is done on the youtube channel.

Error

ERROR [pyrevit.revit.db.transaction] Error in Transaction Context. Rolling back changes. | <type 'exceptions.AttributeError'>:'FilledRegionType' object has no attribute 'FillPatternId'

ERROR [patmaker] Error creating pattern element. | 'FilledRegionType' object has no attribute 'FillPatternId'

Desktop

  • OS: Windows 10
  • pyRevit Version 4.7.4
  • Revit 2020.2

Additional context
This issue may also be the culprit in another error message in which one of the default filled regions cannot be converted into a new pattern (e.g. model to detail pattern). Creating patterns from line geometry works fine for me.

eirannejad added a commit that referenced this issue Apr 7, 2020
@eirannejad
Copy link
Collaborator

Fixed and will be published with next release

@quantuan125
Copy link

Hi is this issue fixed? Because I have the same problem. Can't make pattern with any filled regions

@eirannejad
Copy link
Collaborator

It is. It will be published with the next release this weekend

@quantuan125
Copy link

@eirannejad I still can't make pattern with two filled regions laying on top of each other, and it is the newest version of pyrevit (4.7.5)

@eirannejad
Copy link
Collaborator

Do you have an example Revit model that I can test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants