PUT_COD_ENCLOSURE_CENTROID
Add the enclosure code to entities forming the boundaries of selected topological enclosures and insert text with the centroid code at the enclosure centroid.
Parameters
| Parameter number | Description | Values | Optional |
|---|---|---|---|
| 1 | Enclosure code | Code added to boundary entities | No |
| 2 | Centroid code | Code of the text inserted at the centroid | No |
Notes
If parameters are missing, the command displays "Missing parameters" and ends.
This flooding command acts on enclosures you click and requires a topology for flooding loaded in memory. First generate that topology with GENERATE_FLOOD_TOPOLOGY or GENERATE_FLOOD_TOPOLOGY_WITHOUT_ISLANDS, and regenerate it after modifying drawing lines. If parameters are complete but no topology for flooding exists, the command displays "No temporary topology is created", sounds the error tone, and ends.
When it runs, the command sets the centroid code as the active code.
Select enclosures as with PUT_ATR_E: press the data button to select an enclosure; hold Ctrl while pressing the data button to add or remove enclosures; press the snap button to replace the last selected enclosure with the next unselected enclosure containing the point (if no other unselected enclosure contains the point, the last enclosure is removed and the error tone sounds); press the reset button to deselect all enclosures, and press Esc to cancel. Press the spacebar to accept the selection.
On acceptance, the command adds the enclosure code to each entity on the exterior boundaries of the selected enclosures and inserts text at the centroid of the first selected enclosure. The text content and code are the centroid code, with height, justification, and rotation from TH, JT, and AA.
Command characteristics
| Command type | Interactive command |
|---|---|
| Repeats automatically | Yes |
| Menu option | This command has no associated menu option |
| Toolbar | This command has no associated toolbar button |
| Extension | DigiNG.OrdenesTopologia.dll |
| Implementation | Native |
| Related variables | No related variables |
| Related commands | ADD_ACTIVE_CODES_AND_CENTROID DELETE_COD_E EDIT_CODES_E PUT_ATR_E |
| Internal name | {62ECF8AD-EEFD-409D-A358-C1E7C5928950} |