3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

Parametric Study error: “Not Marked as Serializable”

    • PureInsanity
      Subscriber

      I am trying to perform a parametric study for Thermo Mechanical Buckling. I've gone through much thick and thin to avoid a lot of errors that were solved by simply creating named selections in space claim. But I've run into what I think is the last error before I can find anything:

      As a premise, I have designed a curved strip using the Spaceclaim script editor that includes script parameters for Width, Thickness, Length (or Arc Length in particular) and curvature. I could easily retype a dimension in spaceclaim and then regenerate it in Mechanical to produce some stress-strain analyses. However, running a parametric study out of it does not yield me anything at all. Instead I get this error for each design point (note that all my design points differ only by curvature):

      (DP 6) Update of the Geometry component in Curved Strip for Design Point 6 failed: Type 'SpaceClaim.EvaluationDeletedException' in Assembly 'Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7210645d4d5e3a39' is not marked as serializable.

      I am not sure what settings on which I have left my script or workbench file or mechanical model. Has anyone ran into this problem?

    • PureInsanity
      Subscriber
      UPDATE: I've noticed that every time I punch in a new number in a parameter in spaceclaim, the buttons don't do anything and they make that notification sound you usually hear in Windows. For example, I can't open up the script by right-clicking and selecting "edit script" after I change a dimension, but if the editor was open to begin with, I'm able to type in the console "StopIteration()" and I can save, edit, and retype a new dimension to generate (only to manually type in StopIteration after doing the latter of the three). However, I did try to type in this function inside the script but it didn't change anything.
      But despite doing all of this, my parametric analyses still yield the same error as before.
    • Naresh Patre
      Ansys Employee

      Are you able to change the script parameter values in SpaceClaim and rerun the script?
      Being an Ansys Support engineer, I am not able to download any attachment that you have provided. If you can embed a snapshot of your script along with another snapshot showing how the scripts parameters are appearing in SpaceClaim window, that might better help to understand the problem. Also, I would suggest you to check out the scripting parameter example provided in the help document at below mentioned link:
      Scripting (ansys.com) (Scripting -> Script Parameters -> Script Group and Parameter Example)
      - Naresh Patre
      How to access Ansys help links
      Guidelines for Posting on Ansys Learning Forum
    • PureInsanity
      Subscriber
      Are you able to change the script parameter values in SpaceClaim and rerun the script?
      I still have limited capabilities of changing the script parameter values: I need the script open and I have to remember to type "StopIteration" in the interpreter console. If I am not careful, I will end up having duplicate named selections spammed in my Groups.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.