PROJECT_BY_CONDITION

Project vertices of entities bearing a specified code onto loaded DTMs if their Z difference satisfies a condition.

Parameters

Parameter number Description Optional
1 Comparison operator: < projects if the difference is less than the value; any other text projects if it is greater No
2 Z difference value in CRS units No
3 … N Pairs of code and geometry type, in the same format as PROJECT_COD No

Notes

For each vertex, calculate the absolute difference between vertex Z and DTM Z. If it satisfies the condition, assign DTM Z; otherwise, retain the original Z.

If no DTM is loaded, display a warning and end. If parameters are missing, sound the error tone and do nothing.

Handle each entity independently: if Digi3D.AI rejects a projected entity, retain its original unchanged; accepted entities are projected.

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 DigiNG.OrdenesMDT.dll
Implementation Native
Related variables No related variables
Related commands COMPARE_Z_DTM
PROJECT
PROJECT_COD
PROJECT_COD_TAG
PROJECT_TOPOLOGY_POINTS
Internal name {0E223FD8-DFE3-43ED-B42C-15C3CED6CED8}