Skip to content

RevitClassifierParameters: Добавлен плагин "Параметры ВОР АР" - #484

Open
DivinN wants to merge 24 commits into
masterfrom
DivinN/RevitClassifierParameters
Open

RevitClassifierParameters: Добавлен плагин "Параметры ВОР АР"#484
DivinN wants to merge 24 commits into
masterfrom
DivinN/RevitClassifierParameters

Conversation

@DivinN

@DivinN DivinN commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Разработан плагин по заполнению параметров материалов на основе данных из Классификатора видов работ.

Светлая (RUS) image
Темная (ENU) image

Дивин Никита Владимирович added 23 commits July 31, 2026 14:54
@DivinN
DivinN requested a review from dosymep August 12, 2026 12:18
Comment on lines +14 to +17
private const string _chapterParameter = "ФОП_МТР_Наименование главы";
private const string _workTitleParameter = "ФОП_МТР_Наименование работы";
private const string _unitParameter = "ФОП_МТР_Единица измерения";
private const string _calculationTypeParameter = "ФОП_МТР_Тип подсчета";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

данные параметры нужно добавить в платформу

private const string _unitParameter = "ФОП_МТР_Единица измерения";
private const string _calculationTypeParameter = "ФОП_МТР_Тип подсчета";

private const string _calculationTypeError = "Ошибка";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

нет локализации

/// <summary>
/// Стандартное наименование параметра стен на экземпляре, куда нужно заполнить тип фасада.
/// </summary>
private string _facadeTypeParamName = "ФОП_Группирование";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

данный параметр нужно перенести в платформу

Comment on lines +57 to +59
_excelFacadeTypePath =
@"W:\Проектный институт\Отд.стандарт.BIM и RD\BIM-Ресурсы\5-Надстройки\Bim4Everyone\A101\"
+ $@"{_revitRepository.Application.VersionNumber}\RevitClassifierParameters\Правила заполнения типа фасада.xlsx";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

данный путь надо перенести в системные настройки плагина

Comment on lines +40 to +41
private const string _excelClassifierDirectoryPath =
@"W:\Проектный институт\Проектные Группы\Типовые ТЗ\BIM-стандарт A101";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

путь надо перенести в системные настройки плагина

/// Инициализирует команду плагина.
/// </summary>
public RevitArParameterClassifierCommand() {
PluginName = "RevitClassifierParameters";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

нет названия плагина

<LangVersion>12</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Office.Interop.Excel" Version="15.0.4795.1001" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

использовать нужно библиотеку ClosedXML

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