The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Hello All,
Can we save excel file as pdf using tcl commands?
Regards,
Sanket
Not sure what you are trying to do, but using TCL you could call the 'exec' command to launch external applications.
In order to do something like this (save excel to PDF) you would probably call Excel in batch and somehow call a command there to export the PDF.
I mean, this is something ore related to Excel than HW commands, as HW Tcl doesn't have any direct access to excel.
Not sure what you are trying to do, but using TCL you could call the 'exec' command to launch external applications. In order to do something like this (save excel to PDF) you would probably call Excel in batch and somehow call a command there to export the PDF. I mean, this is something ore related to Excel than HW commands, as HW Tcl doesn't have any direct access to excel.
Hello Adriano A. Koga,
Thanks for the reply.
Actually i have created on excel sheet using twapi package in tcl. I can save that excel as csv, But i want it in pdf format.
Hello Adriano A. Koga, Thanks for the reply. Actually i have created on excel sheet using twapi package in tcl. I can save that excel as csv, But i want it in pdf format. Regards, Sanket
honestly i've never sued twapi (which looks a great extension, by the way).
I'd say that you might have a better luck seraching at google in this particular case, as it is more a pure TCL question.
This topic might help you:
https://stackoverflow.com/questions/48724523/tcl-twapi-excel-write-text-formatting
Maybe changing the SaveAs command to point to a PDF file.
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…