-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REQUEST: args delete
and delete_all
for not connected but opened model
#22
Comments
Hi @damianbobrowski ,
|
Yes, it will work, but I am not sure it was a bug. I thought you would like to create granular workflow, and call delete whatever it is necessary. With bdd81fa when because of
Here: |
Yes, but if the delete or delete_all variables are set to True and the block of code is put into |
Is your feature request related to a problem? Please describe.
delete
anddelete_all
fornot connected but opened
model do not work right now.:Model(True, model_name, delete=True, delete_all=True)
As result server raises errors for incoming requests when object IDs already exists.
Describe the solution you'd like
At initModel.py:
https://github.com/Dlubal-Software/RSTAB_Python_Client/blob/main/RSTAB/initModel.py#L117
add code block:
Is now:
Would like to have:
Describe alternatives you've considered
It won't work in provided context:
then I am forced to use:
Additional context
Right now we use model with same name for better performance. Model is
not connected but oppened
between requests.Some time we need to restart solution. We would like to use native options.
The text was updated successfully, but these errors were encountered: