visual3d:documentation:pipeline:file_commands:remove_prefix_from_point_labels
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual3d:documentation:pipeline:file_commands:remove_prefix_from_point_labels [2024/06/19 12:50] – sgranger | visual3d:documentation:pipeline:file_commands:remove_prefix_from_point_labels [2026/03/08 08:56] (current) – Revised into Pipeline command template. wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | remove the prefix from marker names. | + | ====== Remove Prefix From Point Labels ====== |
| - | ===== command | + | Some motion capture manufacturers' |
| - | **remove_prefix_from_point_labels** | + | ===== Pipeline Command ===== |
| - | ! /prefix= | + | |
| - | ! / | + | |
| - | ! / | + | |
| - | **;** | + | |
| - | some motion capture manufacturer' | + | |
| - | this command can be used to remove marker prefix from targets. | + | < |
| + | Remove_Prefix_From_Point_Labels | ||
| + | ! /PREFIX= | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | </ | ||
| - | ===== /prefix parameter | + | ===== Command Parameters |
| - | if the prefix parameter is specified, only this prefix will be removed from the signal names. | + | ^ Parameter ^ Description ^ |
| + | | **Prefix** | If specified, only this prefix will be removed from the signal names. | ||
| + | | **Include Cal File** | If TRUE, the model files will be modified as well. | | ||
| + | | **Overwrite C3D File** | If TRUE, the modified C3D file will be saved over the current file on disk. **Use with caution**. It is recommended that the parameter be set to FALSE in most cases so that the new names can be verified. The files can then be exported in an independent command.| | ||
| - | if the prefix parameter is left blank, visual3d looks for the c3d parameter group called " | + | ===== Example ===== |
| - | we have seen instances where the manufacturer stores these values incorrectly. | + | Given a file with marker names |
| + | - MarkerSet_C7 | ||
| + | - MarkerSet_L_ACR | ||
| + | - MarkerSet_L_CLAV | ||
| + | - MarkerSet_L_FARM_1 | ||
| + | - MarkerSet_L_FARM_2 | ||
| + | - MarkerSet_L_FARM_3 | ||
| + | - etc. | ||
| - | in this case, the user should manually specify the prefix and the c3d parameters are ignored. | + | The prefix to be removed is: MarkerSet_. As with all commands, Remove_Prefix_From_Point_Labels acts on all [visual3d: |
| - | ===== /include_cal_file ===== | + | < |
| + | Remove_Prefix_From_Point_Labels | ||
| + | /PREFIX=MarkerSet_ | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | </code> | ||
| - | if true, the model files will be modified as well. | + | The resulting TARGET names are: |
| + | - C7 | ||
| + | - L_ACR | ||
| + | - L_CLAV | ||
| + | - L_FARM_1 | ||
| + | - L_FARM_2 | ||
| + | - L_FARM_3 | ||
| + | - etc. | ||
| - | ===== / | + | ===== See Also ===== |
| - | if true, the modified c3d file will be exported. | + | [[Visual3D:Documentation:Pipeline:General_Information:Pipeline_Commands_Reference|Back to Pipeline Commands Reference]] |
| - | + | ||
| - | use this parameter with caution. it is recommended that the parameter be set to false in most cases so that the new names can be verified. the files can then be exported in an independent command. | + | |
| - | + | ||
| - | ===== example ===== | + | |
| - | + | ||
| - | given a file with marker names | + | |
| - | + | ||
| - | markerset_c7 | + | |
| - | markerset_l_acr | + | |
| - | markerset_l_clav | + | |
| - | markerset_l_farm_1 | + | |
| - | markerset_l_farm_2 | + | |
| - | markerset_l_farm_3 | + | |
| - | etc | + | |
| - | the prefix to be removed is | + | |
| - | + | ||
| - | markerset_ | + | |
| - | the command acts on all [active_files|active files], so ensure that you have selected the files you want modified. | + | |
| - | + | ||
| - | the command parameters are: | + | |
| - | + | ||
| - | **remove_prefix_from_point_labels** | + | |
| - | / | + | |
| - | ! / | + | |
| - | ! / | + | |
| - | **;** | + | |
| - | + | ||
| - | the result is: | + | |
| - | + | ||
| - | c7 | + | |
| - | l_acr | + | |
| - | l_clav | + | |
| - | l_farm_1 | + | |
| - | l_farm_2 | + | |
| - | l_farm_3 | + | |
| - | etc | + | |
| - | [[visual3d:documentation:pipeline:general_information:pipeline_commands_reference|back to pipeline commands reference]] | + | |
visual3d/documentation/pipeline/file_commands/remove_prefix_from_point_labels.1718801437.txt.gz · Last modified: by sgranger
