SimcenterKnowledge

Post-processing > Displaying results in post views > Post view templates

Post view template XML files

The post view template file is a standard XML file. Each element corresponds to an option or group of options applied to a post view.

The following examples were generated by creating a new template of the default post view. Your code may vary depending on your model and the options defined in your post view.

ResultDisplayOptions

The ResultDisplayOptions group controls the display type and appearance. The first group of elements correspond to options on the Display tab of the Post View dialog box, and control the results display and style, and specify compression options for large models.

<ResultDisplayOptions>  <ResultDisplay>1</ResultDisplay>  <DisplayStyle>Smooth</DisplayStyle>  <Lighted>1</Lighted>  <CompressOptions>    <DisplayCompression>0</DisplayCompression>    <ValueTolerance> 1.000000e+001</ValueTolerance>    <FaceNormalTolerance> 1.500000e+001</FaceNormalTolerance>  </CompressOptions>

The MarkOptions group controls the size, color, and appearance of marker displays, and correspond to options found on the Display tab of the Post View dialog box when a marker display is selected.

  <MarkOptions>    <ArrowComponentX>0</ArrowComponentX>    <ArrowComponentY>0</ArrowComponentY>    <ArrowComponentZ>0</ArrowComponentZ>    <ArrowComponentMag>1</ArrowComponentMag>    <MarkStyle>Line</MarkStyle>    <TensorStyle>Detailed</TensorStyle>    <MarkColor>Colorbar</MarkColor>    <SpecifiedColor>211</SpecifiedColor>    <MarkSize>Result</MarkSize>    <MaxMarkSize>% Model</MaxMarkSize>    <ModelPercentSizeValue> 5.000000e+000</ModelPercentSizeValue>    <SpecifiedMaxMarkSizeValue> 1.000000e+000</SpecifiedMaxMarkSizeValue>    <HideMarksBelow>0</HideMarksBelow>    <BelowOption>% Maximum Result</BelowOption>    <BelowResultPercentValue> 5.000000e+001</BelowResultPercentValue>    <BelowSpecifiedResultValue> 0.000000e+000</BelowSpecifiedResultValue>    <BelowAbsoluteResultPercentValue> 5.000000e+001</BelowAbsoluteResultPercentValue>    <DisplayNumericValueWithArrow>0</DisplayNumericValueWithArrow>  </MarkOptions>

The StreamlineOptions group controls the size, color, and appearance of streamlines, and correspond to options found on the Display tab of the Post View dialog box when a streamline display is selected and velocity results are displayed.

  <StreamlineOptions>    <StreamlineSeedSet>-1</StreamlineSeedSet>    <StreamlineDataOptions>      <ValueSharing>Average</ValueSharing>      <NoDataTreatment>Ignore</NoDataTreatment>      <NoDataValue> 0.000000e+000</NoDataValue>    </StreamlineDataOptions>    <StreamStyle>Line</StreamStyle>    <StreamColor>Result</StreamColor>    <SpecifiedColor>211</SpecifiedColor>    <StreamSize>% Model</StreamSize>    <ModelPercentSizeValue> 1.000000e+000</ModelPercentSizeValue>    <SpecifiedSizeValue> 1.000000e+000</SpecifiedSizeValue>    <LineWeight>Normal</LineWeight>    <BubbleSynchronization>At Seed Point</BubbleSynchronization>    <BubbleTimeStep> 5.000000e-001</BubbleTimeStep>  </StreamlineOptions></ResultDisplayOptions>

ResultOptions

The ResultOptions group controls selected result type and component, nodal averaging options, coordinate system transformations, and so on, and corresponds to the options on the Result dialog box.

<ResultOptions>  <LoadCase>0</LoadCase>  <Iteration>0</Iteration>  <Result>[Displacement][Nodal]</Result>  <Component>Magnitude</Component>  <SectionNumber>0</SectionNumber>  <PlyNumber>0</PlyNumber>  <LayerNumber>1</LayerNumber>  <IncludeMidnodes>1</IncludeMidnodes>  <ComputationOptions>    <NodalCombination>None</NodalCombination>    <AccrossPhysicalProperties>1</AccrossPhysicalProperties>    <AccrossMaterials>1</AccrossMaterials>    <AccrossElementTypes>1</AccrossElementTypes>    <AccrossFeatureAngles>1</AccrossFeatureAngles>    <FeatureAngleValue> 4.500000e+001</FeatureAngleValue>    <IncludeInternalElements>1</IncludeInternalElements>    <ExcludeElements>0</ExcludeElements>  </ComputationOptions>  <CoordinateSystem>Absolute Rectangular</CoordinateSystem>  <CoordinateSystemSource>None</CoordinateSystemSource>  <CoordinateSystemID>-1</CoordinateSystemID>  <ElementValueOptions>    <ElementValue>0</ElementValue>    <ElementCriterion>Average</ElementCriterion>  </ElementValueOptions>  <ComplexComponent>Real</ComplexComponent>  <ComplexPhaseAngle> 0.000000e+000</ComplexPhaseAngle>  <AbsoluteValue>0</AbsoluteValue>  <ResultScale> 1.000000e+000</ResultScale>  <Unit>mm</Unit>  <CalculateBeamStressesStrainsFromForces>0</CalculateBeamStressesStrainsFromForces>  <BeamStressesStrainsFillets>0</BeamStressesStrainsFillets>  <BeamStressesStrainsFilletRadius> 5.000000e-001</BeamStressesStrainsFilletRadius></ResultOptions>

CrossSectionOptions

The CrossSectionOptions group controls the appearance of beam cross section views, and correspond to the beam-specific options on the Cross-Section View dialog box.

<CrossSectionOptions>  <LockRotation>1</LockRotation>  <LoadCase>0</LoadCase>  <Iteration>0</Iteration>  <Quantity>Stress</Quantity>  <Component>Von-Mises</Component>  <ElementValueOptions>    <ElementValue>0</ElementValue>    <ElementCriterion>Average</ElementCriterion>  </ElementValueOptions>  <ComplexOption>Amplitude</ComplexOption>  <ComplexPhaseAngle> 0.000000e+000</ComplexPhaseAngle>  <AbsoluteValue>0</AbsoluteValue>  <ResultScale> 1.000000e+000</ResultScale>  <Unit>N/mm^2(MPa)</Unit>  <Fillets>1</Fillets>  <FilletRadius> 5.000000e-001</FilletRadius>  <BeamElement>0</BeamElement>  <BeamEnd>Fore</BeamEnd></CrossSectionOptions>

DeformationOptions

The DeformationOptions group controls the display of model deformation. ShowDeformation corresponds to the Deformation tab of the Post View dialog box.

<DeformationOptions>  <ShowDeformation>1</ShowDeformation>  <SameLoadCaseIterationForColorAndDeformation>1</SameLoadCaseIterationForColorAndDeformation>  <ShowUndeformedModel>0</ShowUndeformedModel>  <ResultOptions>    <LoadCase>0</LoadCase>    <Iteration>0</Iteration>    <Result>[Displacement][Nodal]</Result>    <Component>Magnitude</Component>    <ComplexOption>Real</ComplexOption>    <ComplexPhaseAngle> 0.000000e+000</ComplexPhaseAngle>  </ResultOptions>  <ScaleOptions>    <DeformationScaleType>% Model</DeformationScaleType>    <AbsoluteScaleValue> 1.000000e+000</AbsoluteScaleValue>    <ModelPercentScaleValue> 1.000000e+001</ModelPercentScaleValue>    <ReferenceNode>0</ReferenceNode>    <ReferenceNodeLabel>0</ReferenceNodeLabel>  </ScaleOptions></DeformationOptions>

DisplayOnOptions

The DisplayOnOptions group corresponds to options in the Display on list on the Display tab of the Post View dialog box. The AxiSymmetricOptions group corresponds to the 3D Axi-Symmetric dialog box, and the ClippingOptions group corresponds to Cutting Plane dialog box.

<DisplayOnOptions>  <DisplayOn>Free Faces</DisplayOn>  <AxiSymmetricOptions>    <RevolveAngle>40</RevolveAngle>    <NumberOfSections> 3.600000e+002</NumberOfSections>  </AxiSymmetricOptions>  <ClippingOptions>    <ShowModelOutline>0</ShowModelOutline>    <ShowClippedModelGhost>0</ShowClippedModelGhost>    <ClippingValue> 5.618369e+001</ClippingValue>    <ClippingSide>Positive</ClippingSide>    <CutPlane>X</CutPlane>    <CutPlaneCoordinateSystem>Absolute Rectangular</CutPlaneCoordinateSystem>    <CutPlaneCoordinateSystemSource>None</CutPlaneCoordinateSystemSource>    <CutPlaneCoordinateSystemID>0</CutPlaneCoordinateSystemID>  </ClippingOptions></DisplayOnOptions>

HeaderOptions

The HeaderOptions group corresponds to the Header group of the Legend tab on the Post View dialog box.

Note:

Note that if Customized, and you choose to keep this code in your customized partial template, the text defined in the CustomHeaders section will overwrite the header when the post view template is applied. If the custom header includes results values or results components, the header may not match the corresponding results display. Use caution when including custom header information in partial post view templates.

<HeaderOptions>  <ShowHeader>Automatic</ShowHeader>  <CustomHeaders>    ...  </CustomHeaders></HeaderOptions>

ColorbarOptions

The ColorbarOptions group corresponds to the Color Bar group of the Legend tab on the Post View dialog box.

Note:

Note that if Specified, and you choose to keep this code in your customized partial template, the values defined for MinimumValue and MaximumValue overwrite the results range when the post view template is applied, regardless of the actual range of results displayed. Use caution when including a specified results range in partial post view templates.

<ColorbarOptions>  <Spectrum>Structural</Spectrum>  <InvertSpectrum>0</InvertSpectrum>  <SpectrumScale>Automatic</SpectrumScale>  <NumLevels>12</NumLevels>  <MinMaxCriterion>Displayed</MinMaxCriterion>  <MinimumValue> 0.000000e+000</MinimumValue>  <MaximumValue> 7.769631e-001</MaximumValue>  <OverflowColor>87</OverflowColor>  <UnderflowColor>173</UnderflowColor>  <Position>Left</Position>  <OverflowDisplayStyle>None</OverflowDisplayStyle>  <UnderflowDisplayStyle>None</UnderflowDisplayStyle>  <CustomColorbar>0</CustomColorbar></ColorbarOptions>

EdgefaceDisplayOptions

The EdgefaceDisplayOptions correspond to the options on the Edges & Faces group of the Display tab on the Post View dialog box.

<EdgefaceDisplayOptions>  <PrimaryOptions>    <EdgeStyle>External</EdgeStyle>    <EdgeColor>130</EdgeColor>    <FaceStyle>Opaque</FaceStyle>    <FaceColor>87</FaceColor>  </PrimaryOptions>  <UndeformedOptions>    <EdgeStyle>Feature</EdgeStyle>    <EdgeColor>130</EdgeColor>    <FaceStyle>Translucent</FaceStyle>    <FaceColor>87</FaceColor>  </UndeformedOptions></EdgefaceDisplayOptions>

TextOptions

The TextOptions correspond to the options on the Text group of the Legend tab of the Post View dialog box.

<TextOptions>  <TextColor>213</TextColor>  <FontSizeOptions>    <FontAutoSize>1</FontAutoSize>    <FontScale> 1.000000e+000</FontScale>  </FontSizeOptions>  <NumberFormatOptions>    <Format>Automatic</Format>    <DecimalPlaces>4</DecimalPlaces>  </NumberFormatOptions></TextOptions>

MinMaxMarkerOptions

The MinMaxMarkerOptions group controls the display and appearance of the default Minimum and Maximum annotations listed under the Annotations node in the Post Processing Navigator. The DisplayOptions correspond to options found on the Annotation dialog box.

<MinMaxMarkerOptions>  <ShowMinMaxMarkers>0</ShowMinMaxMarkers>  <MinMaxMarkerStyle>Min-Max</MinMaxMarkerStyle>  <DisplayOptions>    <TextAndLeaderColor>1</TextAndLeaderColor>    <BoxFillColor>213</BoxFillColor>    <ShowBoxBorder>1</ShowBoxBorder>    <BoxFill>1</BoxFill>    <BoxTranslucency>0</BoxTranslucency>  </DisplayOptions></MinMaxMarkerOptions>

AnimationOptions

The AnimationOptions correspond to the options on the Animation dialog box.

<AnimationOptions>  <Type>Result</Type>  <ResultAnimationOptions>    <Style>Linear</Style>    <NumFrames>8</NumFrames>  </ResultAnimationOptions>  <IterationAnimationOptions>    <StartLoadCase>0</StartLoadCase>    <StartIteration>0</StartIteration>    <EndLoadCase>0</EndLoadCase>    <EndIteration>0</EndIteration>    <IterationStep>1</IterationStep>  </IterationAnimationOptions>  <StreamlineAnimationOptions>    <ShowGuides>1</ShowGuides>    <PulseSynchronization>At Seed Point</PulseSynchronization>    <ActiveRegionStartFactor> 0.000000e+000</ActiveRegionStartFactor>    <ActiveRegionEndFactor> 1.000000e+000</ActiveRegionEndFactor>    <NumIncrements>40</NumIncrements>    <ContinuousPulse>1</ContinuousPulse>    <NumTimePeriods>10</NumTimePeriods>    <NumFramesPerPulse> 5.000000e+000</NumFramesPerPulse>    <PulseDutyCycle> 5.000000e-002</PulseDutyCycle>  </StreamlineAnimationOptions>  <FullCycle>0</FullCycle>  <Delay>200</Delay></AnimationOptions>

GroupVisibilities

The GroupVisibilities options correspond the visibility states of the elements and group nodes under the post view node in the Post Processing Navigator.

<GroupVisibilities>  <Num3DGroups>1</Num3DGroups>  <Visibilities3DGroups>1</Visibilities3DGroups></GroupVisibilities>

CsysGroup

The CsysGroup elements correspond the visibility states of the result CSYS nodes under the post view node in the Post Processing Navigator.

<CsysGroup>  <NumCsys>0</NumCsys></CsysGroup>
Quick links

Command reference

Pre/Post video examples

Bulk Entry Descriptions

Simcenter 3D tutorials

Browse Simcenter 3D help by product area

Post view template XML files, Simcenter 3D 2021.1 Series

© 2020 Siemens

window.mainLanguage="en_US"

window.delivId=""

window.projectId=""

MathJax.Hub.Config({ TeX: { extensions: ["autoload-all.js"] }, tex2jax: { displayMath: [ ] }, "SVG": { scale: 125 } });

Source: https://docs.sw.siemens.com/en-US/doc/289054037/PL20200601120302950.advanced/xid384841 · retrieved 2026-07-17