User Tools

Site Tools


visual3d:documentation:pipeline:model_commands:set_model_metric

Set_Model_Metric

This pipeline command allows users to create or update a model metric value.

Pipeline Command

The Set_Model_Metric pipeline command can be found in the Pipeline Workshop within the Model Building folder:

Set_Model_Metric
! /CALIBRATION_FILE=
/METRIC_NAME=
! /METRIC_VALUE=
! /SUBJECT=
;

Command Parameters

The parameters that can be modified for this command are as follows:

Parameter Description
Calibration File The calibration file for the model metric. The default is blank, in which case the current model is used.
Metric Name The specific model metric to create or update.
Metric Value The value to assign to the model metric; can be provided as an expression.
Subject The subject prefix of the model metric. The default is blank.

Example: Setting the Pelvis Segment's Volume as a Model Metric

This example shows the active model being assigned a model metric to represent the pelvis segment's volume.

Set_Model_Metric
/METRIC_NAME=Pelvis_Volume
! /METRIC_VALUE=PI*RPV_Seg_Length*RPV_Distal_Radius*RPV_Proximal_Radius/4
;
visual3d/documentation/pipeline/model_commands/set_model_metric.txt · Last modified: by wikisysop