Jump to content
  • Announcements

    • Rahul Ponginan

      Please click here for a short but important announcement   03/26/17

      Dear Users Our Commercial and Academic users around the world can use these same forums here as before i.e. the Altair Support Forum , Commercial users from India with solver queries can go to the Solver Forum for India Commercial Users , Academic Users from India and AOC India Participants are requested to go to the Forum for India Academic Users and AOC India Participants , We will be tending to all queries in all the forums promptly as before, thank you for your understanding. 


  • Content count

  • Joined

  • Last visited

About Loesje84

  • Rank

Profile Information

  • Country
  • Are you University user?
  1. Edit plots compose

    Hello everyone, I'm a new user of Compose (have lots of experience in Matlab and Hypermath though) and I am plotting some data. I am experiencing two problems: 1) There seems to be no legend handle. So, I cannot edit the font size of the legend in my script. Any idea how to do this (in a script, not by clicking on the legend and editing it manually)? 2) When I execute the following lines, the Ylabel completely disappears from the figure. Even when I save it, there is no (or only some of the pixels) Ylabel; it is shifted too much to the left. How can I move the ylabel (again, in a script, although I'm not even able to move it by mouse or so). Changing the position of the axes or the figure does not help and there is no 'Position' option in the label handle. figure(1) plot([1:9],[20:20:180]) set(gca,'FontSize',12) ylabel('Reaction force [N]') legend('test') saveas(1,'testimg') Thank you for replying.
  2. Thank you for your response, but I already know the syntax, which is working perfectly on my machine. The problem is that when I want to run Hyperview in batchmode using TCL (so, with option -b) on the machines of my colleagues, they get the above mentioned error. Anyone else any idea how to solve it? We have Windows 7, 64bit computers by the way.
  3. Hello jcd, I'm not sure why you would want to submit an abaqus job through Hypermesh, but I can help you I think. Usually, when I want to run abaqus in tcl, I use the syntax exec abaqus job=abc (so without inp) sometimes with int included (for interactive mode) So, I'm not sure whether you've used this same syntax, but your actual"problem" is impatience Because something is running in Hypermesh in the background, hypermesh seems non-responding (this hold actually for all hyperworks programs...) However, when you check your task manager, or the abaqus files, you most likely will see progress. Hypermesh will start to respond again after the abaqus job has finished. What you can try, is to add & to the end of you line. Syntax: exec abaqus job=abc & This means that TCL won't wait for a return command of the program you're executing. Hypermesh will then (as far as I know) remain responsive. Kind regards, Loesje
  4. Dear all, I have written some macro's in TCL that use hyperview in batch mode. It runs fine on my machine, but my collegues get the error "Failed to load package hwt couldn't read file "c:/altair/14.0/hw/tcl/hwt/pkgIndex.tc" no such file or directory while executing "source {c:/altair/14.0/hw/tcl/hwt/pkgIndex.tcl}" What I did: I opened the tclsh85.tcl and typed in exec c:/altair/14.0/hw/bin/win64/hw.exe -b -tcl c:/user/test/tcl in which test.tcl contains "puts hello" When I run the same syntax (without exec) in cmd.exe it works, but as my progs are written in TCL, it's no use using cmd. I tried to add the hwt dir to the altair environment variable, added the path to auto_path, and I also ran source {c:/altair/14.0/hw/tcl/hwt/pkgIndex.tcl} in the tclshell, but it all didn't help. Package names shows on all computers the exact same list, either in the tchshell or in Hyperview. What could be different? By the way: if some of my collegues log in into my computer they also get this error, except 1 collegue: if he logs in on my computer it does work. If I, on the other hand, log in to their computer, I get the failed to load package error. Who can help me? Kind regards, Loesje84
  5. Wow, I've spent the past week trying installing tcom, and with twapi, within 2 minutes I got what I needed So, everyone trying using tcom for COM applications in hypermath: use twapi! @tinh: thank you so much for your help!
  6. Hi, I don't know anything about twapi, but as soon as I get any result, I'll post it here. Thank you for your reply!
  7. I know, I use the tcl window in hypermath. But what I came across, is that when I use the shell in tcl/win64/bin/tclsh85.exe, I can evaluate tcl files using "tclsh mytclfile.tcl". when I do the same in the tcl window in hypermath, I get: Tcl Error : invalid command name "tclsh85" while executing "tclsh85 myfile.tcl" myfile.tcl only containing: puts "hello world" Furthermor, when I want to use the tcom package is in the shell, this is no problem, while when I want to use it in de tcl window in hypermath, it doesnt work. I have set the auto_path variable pointing to the package. i made it identical to the auto_path of the shell. So, what is going wrong?
  8. Hi, thank you for the answer. tcom.dll and tcom.tcl are indeed the same folder. but, as you can read from my edited post: I got it partially to work. Can you help me resolving this issue?
  9. I have the same problem, however, I get "couldn't load library "..../hw/tcl/tcom.tcom.dll": this library or a dependent library could not be found in library path. I was able to use the tcom package in a seprate TCL installation (activestate, using teacup to install is), however I need the package to work in Hypermath too. What do I do wrong? (I just downloaded the 64bit tcom, and copied it as mentioned below. I do not have (experiece with) visual basics , C++, etc, just Matlab and Hyperworks, and now a bit tcl) >> edit: Ok, using teacup setup and teacup link make I set the repository of the tcl shell in win64/bin to that of the working activestate tcl installation. It seemed to work, howver it only works in the tclsh85 shell itself, but not in hypermath ](*,) why? Apparently, the tcl editor in hypermath is not the same as the tclsh85 shell (running tcl scripts using { tclsh helloworld.tcl } does not work either). who can help me out with this?