[:ru]

The article presents practical methods of working with families in the program Autodesk Revit. Families are required to store project information, surface parameters (dimensions, angles, position relative to origin, etc.). The program provides to keep the parameters of the family as a template for further use in the design. This makes it easier to configure software templates for the following projects and allows the development of template libraries for use in programming cable-based systems projects. The development uses the SharpDevelop programming language, which allows the program to read information from projects, define family identifiers of different levels in existing projects, generate new identifiers for the file of common parameters. Each program identifier of the family is unique and is an internal program variable for families and their parameters. From a programming point of view, the set of identifiers allows for interaction with external software libraries, plugins that automate the design of cable termination systems.

Since Autodesk Revit provides for interaction with SQLite query development program, the important point is the ability to read project parameters using SQL queries, save them in the database of projects, Organize references to family identifiers in projects. When developing an internal project accounting system, it is possible to create a project structure based on program identifiers, the reuse of which can be captured using duplicate identifier families in any project. Developing thus a hierarchy of classes of families and their parameters, it is possible to program typical families for cables, cable systems without considerable time for programming new projects, ensuring control of their versions, Quickly reprogram when new versions of the API appear in Autodesk Revit. When updating the API, family settings, procedures and functions for processing can change, which can complicate the process of practical implementation of the project at the customer. Therefore, before programming, it is necessary to define a set of programming tools that will be used in the development of plugins, application libraries. The article studies software methods of work with Revit families in the programming environment Visual Studio 2019 on the basis of built-in API methods, programming language C# as a more versatile programming language. Dynamo, Iron Python programming languages are used to process information about Revit projects, but SharpDevelop has been chosen as less voluminous to boot the computer and easier to develop. The Dynamo programming environment is a parametric system with the need to manually program and configure parameters for each project in new versions of Autodesk Revit. Using the Iron Python programming environment may require downloading additional libraries during program development, slow program processing of projects as new versions of Autodesk Revit, API are released.

So now SQLite, SharpDevelop, VisualStudio 2019 are selected for development as more versatile tools for working with the internal environment of Autodesk Revit. The prospects of using these programs will be reviewed as new versions of Revit are tested.

[:en]

The article presents practical methods of working with families in the program Autodesk Revit. Families are required to store project information, surface parameters (dimensions, angles, position relative to origin, etc.). The program provides to keep the parameters of the family as a template for further use in the design. This makes it easier to configure software templates for the following projects and allows the development of template libraries for use in programming cable-based systems projects. The development uses the SharpDevelop programming language, which allows the program to read information from projects, define family identifiers of different levels in existing projects, generate new identifiers for the file of common parameters. Each program identifier of the family is unique and is an internal program variable for families and their parameters. From a programming point of view, the set of identifiers allows for interaction with external software libraries, plugins that automate the design of cable termination systems.

Since Autodesk Revit provides for interaction with SQLite query development program, the important point is the ability to read project parameters using SQL queries, save them in the database of projects, Organize references to family identifiers in projects. When developing an internal project accounting system, it is possible to create a project structure based on program identifiers, the reuse of which can be captured using duplicate identifier families in any project. Developing thus a hierarchy of classes of families and their parameters, it is possible to program typical families for cables, cable systems without considerable time for programming new projects, ensuring control of their versions, Quickly reprogram when new versions of the API appear in Autodesk Revit. When updating the API, family settings, procedures and functions for processing can change, which can complicate the process of practical implementation of the project at the customer. Therefore, before programming, it is necessary to define a set of programming tools that will be used in the development of plugins, application libraries. The article studies software methods of work with Revit families in the programming environment Visual Studio 2019 on the basis of built-in API methods, programming language C# as a more versatile programming language. Dynamo, Iron Python programming languages are used to process information about Revit projects, but SharpDevelop has been chosen as less voluminous to boot the computer and easier to develop. The Dynamo programming environment is a parametric system with the need to manually program and configure parameters for each project in new versions of Autodesk Revit. Using the Iron Python programming environment may require downloading additional libraries during program development, slow program processing of projects as new versions of Autodesk Revit, API are released.

So now SQLite, SharpDevelop, VisualStudio 2019 are selected for development as more versatile tools for working with the internal environment of Autodesk Revit. The prospects of using these programs will be reviewed as new versions of Revit are tested.

[:]