Is it possible to read out outputs for a selection of plate elements using getresults()?

I wonder if it is possible to read outputs from plate elements only for the parts that are currently displayed in Output.

I have a model for a circular shaft in Plaxis3D for which I want to hide some parts of the plate sections. I am interested in reading the rest of the plate outputs, which are currently shown in Plaxis3D Output. I used Python scripting command getresults() but it doesn't seem to provide an option for reading parts of the plate elements. I know that using x-, y-, and z-coordinates can help conditionally constrain the results and allow me to read data in a linear section or data contained in a box. But this is not sufficient for my task as I want to hide some other plate elements when reading out the data as well.

I would appreciate it if anyone can help!

Kind regards,

Luan

BAUER Spezialtiefbau

Parents
  • Dear Luan,

    The API is not aware of visualisation changes when you query results. Consider that when you run a command to retrieve the values, you are accessing the data files via the command line. 

    A different approach would be to query results based on their object names for which you will know which is active and which is not.

    For example, the following command will give the results for all plates:

    getresults Phases[-1] ResultTypes.Plate.Utot "node"

    But this one only for Plate_1_1

    getresults Plate_1_1 Phases[-1] ResultTypes.Plate.Utot "node"

    For more information check the examples in our Command reference (under Help menu) or in the Scripting reference.

Reply
  • Dear Luan,

    The API is not aware of visualisation changes when you query results. Consider that when you run a command to retrieve the values, you are accessing the data files via the command line. 

    A different approach would be to query results based on their object names for which you will know which is active and which is not.

    For example, the following command will give the results for all plates:

    getresults Phases[-1] ResultTypes.Plate.Utot "node"

    But this one only for Plate_1_1

    getresults Plate_1_1 Phases[-1] ResultTypes.Plate.Utot "node"

    For more information check the examples in our Command reference (under Help menu) or in the Scripting reference.

Children