Parametrization

257

Parametrization

Attention! The plugin is purchased for the specified version of the Autodesk product!

To use the purchased license, use the Personal account of the ModPlus software installed on Your computer
Old price: 0.00 USD
40.00 USD

Try before you buy

Prices

Most of the plugins in the ModPlus software are free! But, approximately 30% of the plugins are paid. However, these plugins are distributed on the principle "Try before you buy" - which means that you can use these plugins in almost their full functionality and buy them only if you want!
  • Fill element parameters with different strategies
    About files with the extension .mpif
    The file with the .mpif extension is a special installation file of the ModPlus (ModPlus Install File).
    These files allow you to install and update all ModPlus components using the auto-update module in case you do not have access to the internet or modplus.org

    Icon

    32x32px 16x16px

    Related news and articles


    Using

    To use the plugin, select an existing configuration or create a new one. To create a new configuration, click plus

    1

    The selected configuration can be renamed by typing the name in the text field with the tooltip "Enter configuration name", duplicated by pressing plus circle multiple outline button or deleted by pressing close button:

    2

    Duplicate configurations are only available in the full version of the plugin.

    Each configuration contains a set of strategies. The strategies differ in the algorithm of element processing. Clicking the Add Strategy button displays a list of available strategies with a short description:

    3

    The strategy list has a checkbox to disable/enable the strategy, a system strategy name, a custom strategy name, as well as buttons to duplicate plus circle multiple outline and delete close (red) strategies, which are displayed on mouseover:

    4

    Duplicate strategies are only available in the full version of the plugin.

    Strategies of the current configuration can be exported to Excel by clicking the Export button and imported from Excel by clicking the Import button.

    When a strategy is selected, its contents are displayed on the right side, including a text box for entering a custom name, a description of the strategy, a table of rules:

    5

    For some strategies there may be general settings, which are located in the settings panel, called by pressing the appropriate button in the upper right corner of the window:

    6

    Each strategy consists of rules. A rule specifies ways to filter processed items and the formula applied to the processed items. Element filters by category and parameters are used to filter elements. Depending on the strategy, a rule can contain filters for conditionally source elements (for InHost strategy these are Host elements, for InGroup strategy these are groups, for SolidTouch strategy these are touched elements, etc.). Also, depending on the strategy, filters by category can be absent.

    To add a rule to the table use plus. To delete selected rules use close, and to duplicate selected rules use plus circle multiple outline.

    Duplicate rules are only available in the full version of the plugin.

    Rules of the current strategy can be exported to Excel by pressing arrow right bold or imported from Excel by pressing arrow left bold.

    Rules in the list can be moved with the mouse. After you have moved the rules, you can renumber them according to their position in the table by clicking sort numeric ascending.

    Each rule can be excluded from work by unchecking the checkbox in the corresponding cell in the table.

    Double-clicking in the Formula cell or in the Formula options cell opens the formula editor:

    7

    At the top of the formula editor is a link that, when clicked, opens detailed instructions for the formula editor:

    8

    The formula consists of expressions, which allows to perform several calculations to elements that match the filtering criteria of the parent rule. In addition to expressions the formula contains several options:

    • Tolerance - sets the tolerance that is used when comparing numeric values. For example, if the tolerance is set to 0.1, the condition "10.05 = 10.06" will be considered true.
    • Case sensitive - specifies the rule for comparing string values: whether to compare them case-sensitive or not.
    • Write empty result - specifies whether to write an empty result, obtained by calculating the expression, to the target parameter. For string parameters an empty result is an empty string. For numeric parameters an empty result is value 0.

    There are auxiliary buttons to the right of the formula editing field:

    • tag outline is used to add a target element parameter to the formula. The parameter list is available if two conditions are met: 1. At least one category is specified in the target element filter; 2. The model has at least one instance of the element of the specified categories. If both conditions are not met, the button will be inactive.
    • tag is used to add conditional source element parameters to the formula. The parameter list is available if two conditions are met: 1. At least one category is specified in the conditional source element filter; 2. There is at least one instance of the element of the specified categories in the model. If both conditions are not met, the button will be inactive. If the parent strategy does not assume a conditional source element, the button will not be displayed.
    • function is used to add an arithmetic or conditional function to a formula.

    Before starting parametrization on the current configuration it is necessary to specify the option of element selection:

    9

    Each selection option has nuances depending on the strategies:

    Process picked elements. If there is a Types strategy, only the types of the selected elements will be processed. If there is a strategy in which elements within other elements are processed (InRoom, InSolid, InMass, etc.), all elements must be selected, not only parent elements.

    Process elements on current View. Recommended option! If there is a Types strategy, the element types on the current View will be processed. For some strategies, it is important to consider the current View. For example, InRoom strategy will not work in 3D View, because rooms have no geometry in 3D View. You should also take into account that the level of detail of the current View can affect the result of geometry-related strategies (InRoom, InSolid, SolidTouch, etc.).

    Process elements in Document. If there is a Types strategy, all document types will be processed. For strategies that work with the geometry of elements (such as InRoom, InSolid, SolidTouch, etc.) is not recommended to use this selection option, since the elements will be taken geometry that does not take into account the interaction with other elements, which may lead to incorrect results.

    To start the parameterization, click Execute and wait for the results.

    10

    WORK WITH GEOMETRY

    For the strategies InRoom, InSpace, InMass, InSolid there is an opportunity to choose one of the two algorithms for determining the entry of solids:

    Auxiliary Rays

    Identification of the entry is performed through auxiliary rays dropped from the centroid of the solid of the target element in 4 directions in the XY plane. If all 4 rays intersect the solid of the parent element, the target element is considered to be inside the parent:

    11

    For the InRoom strategy, the intersection of 3 of the 4 rays is considered a positive result.

    This algorithm is fast, but it only allows to determine the entry of a solid into a single parent solid. The position of the solid's centroid is important.

    Boolean operations

    Determining the entry is done through the Boolean operations provided in the Revit API. Essentially, this algorithm determines the intersection of solids. For example, the algorithm will count a beam hit in both walls:

    12

    This algorithm is slow, but it allows to determine the solid's entry into several intersecting parent solids.

    For both algorithms, there is a solid volume check - the volume of the parent solid must be larger than the volume of the target solid.

    In the SolidTouch strategy, the adjacency is checked only through the parallel planar faces of the solids.

    In all strategies - InRoom, InSpace, InMass, InSolid, SolidTouch - elements will not be processed if they do not have Solids in their geometry

  • Change history for
    Year

    2022 Year

    Revit: Parametrization 1.1.2.0 (29.09.2022)

    Fix
    Replacing the comma with a point when obtaining numeric parameter values.

    Revit: Parametrization 1.1.1.0 (28.09.2022)

    Fix
    Fixed an issue with AND, OR functions always converting parameters to numbers.

    Revit: Parametrization 1.1.0.0 (27.09.2022)

    Fix
    Fixed an error which caused incorrect processing of formulas containing several curly brackets.

Adsk ADN Authorized
ModPlus 2015-2022
Adsk ADN Authorized