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

Add Family Size Table support to Family Document #240

Merged

Conversation

SergeyNefyodov
Copy link
Contributor

@SergeyNefyodov SergeyNefyodov commented May 18, 2024

Summary of the Pull Request

What is this about:

Family size table is now availaible from Family documents. The idea how to implement it was found by Aleksandr Rumiantsev https://github.com/alex94rum , I think he should be tagged in the next release

Quality Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Copy link

github-actions bot commented May 18, 2024

Qodana for .NET

1 new problem were found

Inspection name Severity Problems
Unused parameter (private accessibility) 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

if (!_document.IsFamilyDocument) return;
manager.Register(nameof(FamilySizeTableManager.GetFamilySizeTableManager), context =>
{
var result = FamilySizeTableManager.GetFamilySizeTableManager(_document, new ElementId(BuiltInParameter.RBS_LOOKUP_TABLE_NAME));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use context arg instead of _document field to avoid closure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@Nice3point Nice3point merged commit bc886d3 into jeremytammik:dev May 18, 2024
1 of 3 checks passed
@SergeyNefyodov SergeyNefyodov deleted the dev-family-size-table-update branch January 12, 2025 10:19
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

Successfully merging this pull request may close these issues.

2 participants