Skip to main content

Sherlock APIs 2025 R2

Examples: Export FEA Model

Last update: 17.07.2025

Proto Request Example

{
  "project": "Tutorial Project",
  "ccaName": "Main Board",
  "exportFile": "C:\\Temp\\test.wbjn",
  "analysis": 2,
  "drillHoleParam": {
    "drillHoleModeling": "Enabled",
    "minHoleDiameter": {
      "value": 5.0,
      "unit": "mm"
    },
    "maxEdgeLength": {
      "value": 5.0,
      "unit": "mm"
    }
  },
  "detectLeadModeling": "Enabled",
  "leadModelParam": {
    "leadModeling": "Enabled",
    "leadElemOrder": "First Order (Linear)",
    "maxMeshSize": {
      "value": 11,
      "unit": "mm"
    },
    "verticalMeshSize": {
      "value": 3,
      "unit": "mm"
    }
  },
  "displayModel": false,
  "clearFEADatabase": true,
  "useFEAModelID": false,
  "coordinateUnits": "nm"
}

Python Example

For a Python example, refer to the online PySherlock Reference.

Connect with Ansys