pub struct PmiAnnotationReport {Show 15 fields
pub persistent_data: Option<Value>,
pub plugin_replay: Option<PluginAnnotationReplay>,
pub id: String,
pub kind: String,
pub enabled: bool,
pub status: PmiStatus,
pub message: String,
pub text: String,
pub value: Option<f64>,
pub unit: String,
pub references: Vec<String>,
pub label_world: [f64; 3],
pub plane: Option<PmiPlane>,
pub geometry: PmiGeometry,
pub weld_symbol: Option<WeldSymbol>,
}Expand description
One resolved annotation.
Fields§
§persistent_data: Option<Value>Successful provider output only; errors must preserve saved input data.
plugin_replay: Option<PluginAnnotationReplay>§id: String§kind: String§enabled: bool§status: PmiStatus§message: String§text: StringThe display text (value + tolerance block, note / leader text, hole callout, datum letter, FCF cells joined).
value: Option<f64>The measured value (length in model units, angle in degrees).
unit: String"mm" / "deg" / "".
references: Vec<String>The scene entity names the annotation resolved (for hover highlighting and the STEP shape aspects), in reference order.
label_world: [f64; 3]The label anchor: the stored labelWorld, else the geometry’s default
— projected onto the annotation plane when one is picked.
plane: Option<PmiPlane>The picked annotation plane; None aligns to the view camera.
geometry: PmiGeometry§weld_symbol: Option<WeldSymbol>A weld callout’s standard weld symbol (absent for the text style, a
weld kind drawn as text, and every other type): what every consumer
draws in place of the text leader (weld_symbol::present_row).