Comments (2)
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handyscripts.