Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing Existing Variables in Abaqus Python Script

Status
Not open for further replies.

prony89

Civil/Environmental
May 30, 2014
2
I realized that ABAQUS python compiler (I dont know if this is the correct term) writes the new variable over existing ones. It does not remove all variable and redefine them. So my question: which command should i use the clear the existing variables before running the new script e.g., clear all in matlab?


 
Replies continue below

Recommended for you

Thanks for suggestion but it is not a practical solution since there are a lot of variable.
 
i just remembered: use a function. variables are only accessible within that function and are cleared when you exit that function (except the return of the function if there is any)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor