Skip to main content

Sherlock APIs 2025 R2

Example: Update PCB Modeling Properties

Last update: 17.07.2025

Proto Request Example

{
  "project": "Tutorial Project",
  "ccaNames": [
    "Main Board"
  ],
  "analyses": [
    {
      "type": 6,
      "modelType": 1,
      "modelingRegionEnabled": true,
      "pcbMaterialModel": 2,
      "pcbMaxMaterials": 5,
      "pcbElemOrder": 1,
      "pcbMaxEdgeLength": 0.5,
      "pcbMaxEdgeLengthUnits": "mm",
      "pcbMaxVertical": 1,
      "pcbMaxVerticalUnits": "mm",
      "quadsPreferred": true
    }
  ]
}

Python Example

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

Connect with Ansys