saving model
Moderators: Martin, Developers
saving model
Hi, I draw a weave pattern using Texgen code, I saved it in *.tg3 (full), Al so in python Texgen command I record the script to get the python model file source. I open the python model file via Notepad, there is only one line. I would like to get all the texgen script of my model. Thank you.
Re: saving model
Hi,
The model saved in TexGen format is an xml file. It isn't normally necessary to save as full rather than standard unless you particularly need all the information about the cross sections at all slave nodes.
You will need to send more detail about what you did to create your model when you used the record script for me to be able to comment on why it doesn't seem to have recorded all the commands. Also you would be better trying to open it either in a Python editor or Notepad++ as these will retain the Python formatting.
Best regards,
Louise
The model saved in TexGen format is an xml file. It isn't normally necessary to save as full rather than standard unless you particularly need all the information about the cross sections at all slave nodes.
You will need to send more detail about what you did to create your model when you used the record script for me to be able to comment on why it doesn't seem to have recorded all the commands. Also you would be better trying to open it either in a Python editor or Notepad++ as these will retain the Python formatting.
Best regards,
Louise
Re: saving model
Hello, the model was built in GUI texgen, I savec it in *.tg3 XML format, by using script record to save my model in scripting python in order to earlier to modify it , I get only one line like:# Script recorded by TexGen v3.10.0
I do not understand. Thank you
I do not understand. Thank you
Re: saving model
Hi,
If for some reason the script record isn't working for what you are trying to do then I need you to tell me exactly what process you used - what options and with what parameters, so that I can try and replicate it to work out what the problem is.
Just to be clear, the saving to xml and recording of a Python script are two completely separate things. The xml file saves the actual model. The Python script will run and generate a model.
Best regards,
Louise
If for some reason the script record isn't working for what you are trying to do then I need you to tell me exactly what process you used - what options and with what parameters, so that I can try and replicate it to work out what the problem is.
Just to be clear, the saving to xml and recording of a Python script are two completely separate things. The xml file saves the actual model. The Python script will run and generate a model.
Best regards,
Louise