CREA_TAREAS_CON_AREAS_INFERIOR_A_VALOR
Add a task to the Tasks pane for each polygon or line closed in plan whose absolute area is below the specified value.
Parameters
| Parameter number | Description | Values | Optional |
|---|---|---|---|
| 1 | Maximum area in squared coordinate system units | Number. Accepts a comma or point as decimal separator | No |
For example, CREA_TAREAS_CON_AREAS_INFERIOR_A_VALOR=100 creates a task for each closed entity smaller than 100 square units.
Notes
Each task title is the area with three decimal places. Double-click to move the drawing window to the entity bounding box center.
If there is not exactly one parameter or the area is not numeric, sound the error tone and display a dialog box explaining the reason and usage.
This command is Python script crea_tareas_con_areas_inferior_a_valor.py from ComandosDigi3DPython. Digi3D.AI installs it in OrdenesPython inside its installation folder. To modify it, copy the file to the macro directory and edit the copy: Digi3D.AI runs it instead of the installed file.
Create tasks for small areas explains the code.
Command characteristics
| Command type | Immediate command |
|---|---|
| Repeats automatically | No |
| Menu option | This command has no associated menu option |
| Toolbar | This command has no associated toolbar button |
| Extension | crea_tareas_con_areas_inferior_a_valor.py |
| Implementation | Python |
| Source code | crea_tareas_con_areas_inferior_a_valor.py |
| Related variables | No related variables |
| Related commands | No related commands |