SimcenterKnowledge

Getting started > Selection recipes > Importing and exporting hard points

Exporting selection recipes as hard points

To create an XML file that contains information about hard points, you can export the following types of single-strategy selection recipes:

  • Single label

  • Coordinate

  • Point

  • Attribute selection recipes that select a single point using the Name attribute

If your model includes any selection recipes that cannot be exported (such as bounding volume or stacked selection recipes), no hard point information is included in the exported XML file for those selection recipes. In addition, if your model contains only selection recipes that cannot be exported, no XML file is created.

XML file syntax

When you export selection recipes as hard points, the software creates a single XML file that contains hard point information similar to the following:

<hardpoints>  <Unit Length="mm"/>  <hardpoint name="FRONT_LEFT_BOLT">    <nodelabel label="121"/>  </hardpoint>  <hardpoint name="FRONT_RIGHT_BOLT">    <position tolerance="10" x="35" y="31" z="57"/>  </hardpoint>  <hardpoint name="REAR_LEFT_BOLT">    <inspace x="55" y="23" z="64"/>  </hardpoint></hardpoints>

The Unit element indicates the unit of measurement used by all length values in the XML file, such as the coordinates and tolerance. You specify the unit of measurement when you export the selection recipes. If the specified unit differs from the unit used by the selection recipes, then the values in the selection recipes are converted to the appropriate values in the XML file. For example, if you export a selection recipe for which Tolerance is set to 10 mm, and you indicate that you want the XML file to use inches as its unit of measurement, then the tolerance is converted to 0.393701 inches (tolerance="0.393701") in the XML file.

When you export selection recipes as hard points, the name of each selection recipe is used as the name for the corresponding hard point.

No information about the input filter (such as the specific mesh, FEM component, or polygon body used by the selection recipe) is exported to the XML file. As a result, if you subsequently import the XML file, the selection recipe searches for the node or point in the entire model.

As shown in the following table, the type of hard point information exported to the XML file varies, depending on the selection recipe type.

Selection recipe type Hard point type Notes
Single Label nodelabel
Coordinate position The value for Resolve Preference is not exported to the XML file. If you subsequently import the XML file into a Pre/Post model, the resulting selection recipe selects the node closest to the specified coordinate (that is, Resolve Preference is set to Closest Node). This might be a different node than the one selected by the original selection recipe if Resolve Preference was set to Lowest Label or Highest Label in the original selection recipe.
Point inspace The values for Tolerance and Resolve Preference are not exported.If you subsequently import the XML file into a Pre/Post model, the software creates an attribute selection recipe. An incrementing number is added to the selection recipe name, and the name of the selection recipe is used for the Name attribute. The software also creates a new point that uses the same name as the selection recipe.Because an exported point selection recipe is imported as an attribute selection recipe, it is not possible to replace the information in the original point selection recipe; the selection recipe types are different. Each time you import the XML file, a new attribute selection recipe with an incrementing number appended to its name is created unless you change the name in the XML file to match an existing attribute selection recipe.
Attribute inspace The name of the selection recipe and the name of the point that it selects must be the same.In addition, no hard point information is exported to the XML file if any of the following are true:The Name attribute includes more than one name.The selection recipe includes any attribute in addition to Name (such as Color)The selection recipe selects more than one point.

Where do I find it?

Application Pre/Post
Prerequisite A Simulation file or FEM file as the work part and displayed part
Command Finder Export Hard Point
How do I

Import a hard point as a selection recipe

Export a selection recipe as a hard point

Learn more

Importing hard points as selection recipes

Quick links

Command reference

Pre/Post video examples

Bulk Entry Descriptions

Simcenter 3D tutorials

Browse Simcenter 3D help by product area

Exporting selection recipes as hard points, 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/xid1655523 · retrieved 2026-07-17