Quality Control Actions > 2D > Unused 2D Constructions

Предыдущая страницаВ началоСледующая страница

 

<Action Name="Unused 2D Constructions" Uid="f3b6cd17-24ca-48df-bd14-20cf1608e463" LogicUid="cf3a1f8b-7444-45ba-a503-156a00c96ecb">

<Parameters>

<Parameter Key="Delete Named 2D" Name="Delete Named 2D Elements" Type="Bool" Value="true"/>

<Parameter Key="Delete On Active Page Only" Name="Only on Active Page" Type="Bool" Value="false"/>

</Parameters>

</Action>

 

Objects to be checked: 2D Constructs (2D Nodes, Lines, Circles, Ellipses, 2D Paths, Splines (including polylines), Offset Curves, Function Splines). If the check uses default values of action's parameters, then all 2D constructs are checked. Otherwise, the set of objects to be checked is limited in accordance with descriptions of parameters.

Customizable parameters:

Delete Named 2D Elements
Data type: Boolean.
Default value: true.
False value means that named 2D constructs are excluded from the check, true value doesn't affect the set of objects to be checked.

Only on Active Page
Data type: Boolean.
Default value: false.
True value applies following conditions:

oif a 2D view window is active, object do not belonging to the active page are excluded from the check;

oif a 3D view window is active, object are checked regardless of their location.

oif a view window of any other type is active, objects do not belonging to the first page of the drawing are excluded from the check.

False value does not apply any conditions.

These parameters are not included into the standard quality control script, so the script uses their default values defined in action's logic and doesn't allow the user to customize values. In order to customize values, include them into a script.

Check criteria: Check yields error, if a checked object doesn't have any children not subjected to the current check on any level of model structure.

Auto-Fix: Unused elements detected by the check are being deleted.

Note 1: This action includes functionality of the following actions:

Unused 2D Nodes;

Unused Construction Lines.

Note 2: Functionality of this action is also included into the Unused Objects action.