🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Error during Publishing PPT using TCL

User: "Neil Handa"
Altair Community Member
Updated by Neil Handa

Hello everyone, I am trying to publish Hypergraph session to PPT using the below code:

proc makeppt {} {     set t [clock click]     hwi OpenStack     hwi GetSessionHandle sess_$t     sess_$t GetPublishingHandle phandle     phandle GetPPTPublishHandle ppt	     ppt SetDestination new     ppt Publish     hwi CloseStack }

However I am getting tis error:

while executing "# Compiled -- no source code available error "called a copy of a compiled script"" 

Any help would be appreciated. Thanks

UPDATE: Issue has been solved after removing hwi CloseStack command for now

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Michael Herve"
    Altair Employee
    Accepted Answer
    Updated by Michael Herve

    Hello Neil,

    May I ask you for the version you are using? Publish to Powerpoint is not the recommended feature for generating report since 2021. We had formerly an add-on requiring an extra license, that we brought in 2021 in core with no extra license anymore. It is Report. One of the large benefit of Report is that all interactive operations are recorded with hwc and can then be re-used with tcl.

     

    If you are not familiar yet with hwc, you can have a look at the article below:

    https://community.altair.com/community?id=community_blog&sys_id=7fd55d931b5fa510507ca6442a4bcb52&view_source=searchResult

     

    Hope this helps,

     

    Best Regards,

    Michael Herve

    User: "Neil Handa"
    Altair Community Member
    OP
    Updated by Neil Handa

    Hello Neil,

    May I ask you for the version you are using? Publish to Powerpoint is not the recommended feature for generating report since 2021. We had formerly an add-on requiring an extra license, that we brought in 2021 in core with no extra license anymore. It is Report. One of the large benefit of Report is that all interactive operations are recorded with hwc and can then be re-used with tcl.

     

    If you are not familiar yet with hwc, you can have a look at the article below:

    https://community.altair.com/community?id=community_blog&sys_id=7fd55d931b5fa510507ca6442a4bcb52&view_source=searchResult

     

    Hope this helps,

     

    Best Regards,

    Michael Herve

    Thank you sir for this information. I have started working on the same using report. However, I feel tcl provides more flexibility than hwc so I was wondering how do I check tcl commands for the same. 
    For example, if I want to export a report, the hwc window shows below command:
    hwc report create presentation Report layouttemplate="C:/........"

    How do I access the handle of this report using tcl ?
    Thanks

    User: "Moritz Maier"
    New Altair Community Member
    Updated by Moritz Maier

    Hi @Neil Handa, we are using Synera for this kind of tasks - a low-code software to automate HyperMesh or OptiStruct e.g. for the creation of PowerPoint reports. It's easier than TCL scripting as you can see the automation visually on a canvas. The software is part of the Altair Partner Alliance, so you can easily download it and give it a try: https://altair.com/synera

    Here you can find some examples and see how it works: