Error when dumping script in Shaper Module

Hi everyone,

I have a problem when using the dumpstudy feature in the Shaper Module. I have created a CAD model with Shaper, then created groups in the Geometry Module, and used the geometry elements to refine a mesh in the Mesh Module.

I can use dumpstudy in the mesh module and it will dump the geometry module and mesh module information, with the initial CAD being imported via importXAO.

When I go to the shaper module and activate my part to dump it’s information, Salome gives the below error pop up.

image

Any help on this would be appreciated. My goal is to make this geometry parametric through the python script so I do not need to open Salome GUI to change the dimensions. I can’t do that with it being imported via XAO, hence why I want the Shaper Module dump study.

Thanks in advance.

Hello,
2 conditions must be met in order to dump your shaper study:

  1. the history arrow must be on the last object.
  2. the last part must be activated.

The second point is probably not met in your case. Right click on the last part and click “activate”. If a previous part is activated, you must first right click on “Part set” and click “activate”, then you can activate the last part.

Konyaro

To follow up, your solutions worked. Thanks.