Code Monkey home page Code Monkey logo

Comments (2)

davetaflin avatar davetaflin commented on September 24, 2024

There is a way to check, but the Python interface might not be pretty (the C method is TecUtilVariableIsLocked). Would it help to know what causes variables to be locked? CFD Analyzer locks a variable against deletion (but not modification) if the variable is used as a source variable for other calculations--mainly if the variable is selected in the Field Variables dialog. A variable is locked against modification (but not deletion) if it is a CFD Analyzer calculate-on-demand variable--created with the Calculate dialog with the Calculate on Demand toggle set. Is this sufficient information for you? If not, I'll ask Dr. Goetz to address querying for locked status using Python.

from handyscripts.

theodoregoetz avatar theodoregoetz commented on September 24, 2024

After some investigation, I found that the TecUtilVariableIsLocked() method is not working from PyTecplot as intended. The affected versions are: PyTecplot 0.13 and Tecplot 360 2018 R2. We will fix this in the next release of Tecplot 360, but for now I'd suggest that a good solution is to wrap the operate.execute_equation() call with try/except. Also, you may contact [email protected] if you are interested in trying out a beta of Tecplot 360 that includes a fix for this.

I'm closing this issue now because it has been added to our internal PyTecplot and Tecplot 360 issue boards.

from handyscripts.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.