Cycling Plist cells using " UFTabnot Class "
Cycling Plist cells using " UFTabnot Class "
(OP)
hi -
I have found out that its possible to cycle through all cells in a partslist , using NXOpen.UF.
I want to store all cell values in a arraylist . no problem
But problem is when I ask for the output-parameter in this command: ufs.TABNOT.askcelltext(celltag,celltext).(first parameter cell tag , and second parameter string variable).
Instead of outputting ex "12" in a POS column , it outputs the partslist´s cell variable in the POS column <W$=@POS>
When I overwrite the cell manually ,and type in ex "12" and run the scribt Again ,the output is OK ("12")
Some here have an idea what to do?
lklo
I have found out that its possible to cycle through all cells in a partslist , using NXOpen.UF.
I want to store all cell values in a arraylist . no problem
But problem is when I ask for the output-parameter in this command: ufs.TABNOT.askcelltext(celltag,celltext).(first parameter cell tag , and second parameter string variable).
Instead of outputting ex "12" in a POS column , it outputs the partslist´s cell variable in the POS column <W$=@POS>
When I overwrite the cell manually ,and type in ex "12" and run the scribt Again ,the output is OK ("12")
Some here have an idea what to do?
lklo





RE: Cycling Plist cells using " UFTabnot Class "
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Cycling Plist cells using " UFTabnot Class "
I have to see if it is possible to make a workaround.
The UFTabnot Class is very extensive - maybee there is another solution.
lklo
RE: Cycling Plist cells using " UFTabnot Class "
www.nxjournaling.com
RE: Cycling Plist cells using " UFTabnot Class "
I ran into problems with the GetEvaluatedText command ,because the first input-parameter is required as Annotation format.The output-format from the command ufs.TABNOT.askcelltext()
is string format. BUT: I made a further study of the UFTabnot Class , and I found this command ufs.TABNOT.askevaluatedcelltext().
Now it work´s.
It is possible for me now, to write direct to Excell Sheet (formated as Company Part list).
No exporting txt files or csv , no "playing" with Spaces or Tabs from temporary files.
------------------------------------------------------------------------------------------
Thank´s to both of you.
lklo