Mar-24-2022, 02:48 PM
Hello,
I would like to write the following code,
It will start like this for exemple:
I would like to write the following code,
caeXmlObjects.kernel.mainXML.saveXMLRecords(fileName='settings.xml', className='caeXmlObjects.paths.pathXML.PathXML', silentMode=False, outputType='File', recordNames=('Path-0', 'Path-1', 'Path-2', ), params=('Path-0', 'Path-1', 'Path-2', ), paramsPerSave=1)but by introducing a list of paths variable, so I can have # params=('Path-0', 'Path-1', 'Path-2',...,Path-n, )
It will start like this for exemple:
Number_Fea = 3 Var_Paths = ["'Path-%d'" %i for i in range(Number_Fea)]