Submodels
A submodel is a part of the 3D model that users can open or download instead of the full model. Submodels are useful when the full model is too large to download or open efficiently, for example on a mobile device or over a slow connection. They are also useful when users only need a specific part of the model, such as one area or deck.
In the Submodel Division Rules view, a project administrator defines how the model is divided into submodels when it is published. Users can then select which submodel to open in eShare or download in eGo.
Project administrators can also control who sees what. They can define which user groups are allowed to view and download the full model, and set permissions for individual submodels. For example, a subcontractor can be given access only to the submodel for their own area.
If you have projects created in 2023T2 containing submodels, they will need to be re-published.
Note: Submodels in the project affect publishing time and a large number of submodels takes more time to publish.
Configuring full model permissions
You can use the Import and Export All buttons to copy division rules from one project to another.
In Full model section, if Load entire model on startup is set to Yes, the entire model is loaded on startup (selected by default) or if set to No, eShare will not automatically load the full model, and will instead show the list of submodels available that can be selected and loaded by the user.
In Groups allowed to see full model, you can define which user groups are allowed too see the full model.
If downloading the model is enabled in Cadmatic.EnableDownloadButton in Internet Information Settings (IIS) Manager by setting it All or True, Groups allowed to download full model is visible and you can define which user groups are allowed to download the full model, i.e. have Download Model button available in Home view.
Download Model button is available only to users who belong to both group(s) with permission to see the full model and to download the full model.
Permissions affect only the geometry; attributes, markups and smart points of hidden objects stay visible.
-
If no groups are selected, only administrators can see or download the full model.
-
Add user groups with Add.
-
Remove user groups with delete
button. -
If All Users group is selected, other group selections will be ignored.
-
Save changes with Save.
Note: Full model permissions take effect after saving the configuration. The model does not need to be re-published.
Configuring submodel division rules
In Submodel division rules section, use the Add button to create a new submodel division rule.
Use the edit button
to edit a rule and the delete button
to remove a rule.
You can use Edit all to edit all division rules in one view.
Restricted access column shows if the visibility of the submodels has been restricted to certain user groups.
Permissions affect only the geometry; attributes, markups and smart points of hidden objects stay visible.
Click the down arrow on the row to view a list of submodels found by eShare, their object count, and which groups are allowed to see them, if access is restricted.
The submodels can be created using attribute values, filtering rules, coordinates or a combination of two. Submodel permissions are configured in the submodel division rules.
Note: Submodels will be visible only after the model has been published.
Submodel creation by attribute
You can split the full model into smaller submodels based on the values of a group-defining attribute. You can use Split Based on Attribute together with Filtering Rules, in which case the rules will act as another filter when generating the submodel(s). If using only split based on attribute, each group of objects that have a specific attribute value forms one submodel.
Prerequisites
- In the Attribute Settings view, the attribute to use is defined as a "Group Defining Attribute". See Attributes from model file.
Do the following:
-
Navigate to the project to edit, and then click Project Admin in the main menu. The project administration view opens.
-
Click Submodel. The Submodel Division Rules view opens.
-
Click Add.
- In the Unnamed Submodel Rule pane, specify the following settings:
Name – Enter a descriptive name for the rule.
Description – Enter a description of what the rule will include in the submodel.
-
In the Split Based on Attribute field, select the attribute to use.
-
To configure only selected user groups to have access to the submodels, in the permission rules section, select Add rule.
-
Enter a regular expression pattern to Pattern to match field. The pattern is a regex which matches submodel names, and grants access only to the selected user groups. Users not in any of these user groups will not see the submodels. If there are not any submodels matching the pattern with limited permission, the submodels will be visible to all users. If there are multiple permission rules matching a submodel, a user in at least of one the user groups with access will see the submodel.
-
Select the user groups in Groups allowed to see dropdown menu.
-
Click Save.
Note: Submodel permissions take effect after saving the configuration. The submodels do not need to be regenerated.
Submodel creation by filtering rules
You can filter the submodel or submodels based on filtering rules.
Note: In large models creating an "equals" rule starting with wildcard * may cause the generation to take a long time.
Do the following:
-
Navigate to the project to edit, and then click Project Admin in the main menu. The project administration view opens.
-
Click Submodel. The Submodel Division Rules view opens.
-
Click Add.
-
In the Unnamed Submodel Rule pane, specify the following settings.
-
Name – Enter a descriptive name for the rule.
-
Description – Enter a description of what the rule will include in the submodel.
-
-
To configure only selected user groups to have access to the submodels, in the permission rules section, select Add rule.
-
Enter a regular expression pattern to Pattern to match field. The pattern is a regex which matches submodel names, and grants access only to the selected user groups. Users not in any of these user groups will not see the submodels. If there are not any submodels matching the pattern with limited permission, the submodels will be visible to all users. If there are multiple permission rules matching a submodel, a user in at least of one the user groups with access will see the submodel.
-
Select the user groups in Groups allowed to see dropdown menu.
-
In the Filtering Rules field, select the attribute to use. Additional fields are displayed for defining the criteria, such as whether the attribute exists or has a specific value.
-
Add as many attributes to the rule as needed. The submodel will include only those model objects and groups that match every criteria of the rule.
You can add terms using + AND or + OR. Using AND adds a new term below the previous term, and creates a query where the previous and the new term(s) must match. Using OR creates a new group of terms, which is a OR query with the previous group of terms. The terms inside the term groups create an AND query.
Show Example
In this example, the rule selects an object if the object has the attributes Corrosion Protection and the value of Corrosion protection is "Galvanized only externally".
-
Click Save.
Note: Submodel permissions take effect after saving the configuration. The submodels do not need to be regenerated.
Submodel creation by coordinates
You can filter the submodel or submodels based on geometric area by using coordinates. If set, the rule will filter out all objects from the submodel(s) generated by the rule that are not within the set coordinate values.
You can use Split Based on Attribute or Filtering Rules together with Split Based on Coordinates, in which case the coordinates will act as another filter when generating the submodel(s). If used on its own, Split Based on Coordinates will generate a single submodel, which contains all objects within the given coordinates.
Do the following:
-
Navigate to the project to edit, and then click Project Admin in the main menu. The project administration view opens.
-
Click Submodels. The Submodel Division Rules view opens.
-
Click Add.
-
In the Unnamed Submodel Rule pane, specify the following settings.
-
Name – Enter a descriptive name for the rule.
-
Description – Enter a description of what the rule will include in the submodel.
-
-
To configure only selected user groups to have access to the submodels, in the permission rules section, select Add rule.
-
Enter a regular expression pattern to Pattern to match field. The pattern is a regex which matches submodel names, and grants access only to the selected user groups. Users not in any of these user groups will not see the submodels. If there are not any submodels matching the pattern with limited permission, the submodels will be visible to all users. If there are multiple permission rules matching a submodel, a user in at least of one the user groups with access will see the submodel.
-
Select the user groups in Groups allowed to see dropdown menu.
-
In Split Based On Coordinates field, enter the From and To values for X, Y and Z planes.
-
Click Save.
Note: Submodel permissions take effect after saving the configuration. The submodels do not need to be regenerated.