Jump to content

Jim O

Member
  • Posts

    15
  • Joined

  • Last visited

    Never

Reputation

0 Neutral
  1. Sorry about that. I don't have Adobe on this machine and for some reason Windows assigned AutoCAD as the program to open the PDF file with. Strange. Thanks, Jim
  2. THanks Raymond, but when I try to open or download the "VectorScript Language Guide - Core Language" from the VectorScript Documentation page, I get something from AutoCAD (!) I wonder if some hackers got in there and are playing a joke on us. Does this happen to you?? Jim
  3. Hi, Does anybody know what the VectorWorks 11 equivalents are for the following worksheet commands?: LoadCell SelectSS Is there something on the Nemetschek site that I can go to to find out? HOw do I get to the VS Guide? Thanks, JIm
  4. SOlved the problem. I needed to go to Page -> Units and set to Fractional. JIm
  5. Here is a sample program that simulates the problem: Procedure test; var h : handle; wdth : real; procedure testNum; begin textOrigin(0", 1"); begintext; Num2StrF(wdth*12) endtext; end; Procedure wrksht; begin wdth := GetCellNum(h, 1, 1); end; Begin h := GetObject('Worksheet-1'); wrksht; testNum; end; run(test);
  6. I am in the process of converting to Version 11 and discovered a problem with the numeric format of certain dimensions. I am taking a value from a worksheet and want that value to display on a drawing. The format I want is: 10'10 3/4" But, I am getting: 10'10.75" To demonstrate this problem I wrote a simple program to show what is happening and attached it to this e-mail. Bring it up in VectorWorks 11 and under the Test VectorScript pallette run Script-1. Does anybody have any idea why this is happening? This was not a problem in our previous version. Also, the VectorScript reference manual refers to a number of functions that became obsolete in version 9. Our programs use several of these functions such as LoadCell, GetCellNum, GetCellStr. The programs appear to work, except for the above problem. The reference manual does not say what to use to replace these functions. Is there anything on-line that says what to use in place of the obsolete functions? Thanks for your help. Jim
  7. Jim O

    Inches Symbol

    Thanks Raymond, you've been a big help. Jim
  8. Thanks a lot Raymond. We are actually in the process of upgrading to VW11, but first I need to convert MiniCAD 6 to VW8. I haven't installed VW 11 yet, but I think that I will go ahead and install it and check out the VS reference manual for the DoMenuTextByName() parameters that I am looking for. From what you have told me, it sounds like everything I am looking for will be on there, at least the Worksheet commands. There are only three other parameter settings that I need to know to get my scripts to "compile": DoMenu( 1485, NoKey) is the (only) line executed for the "Lock" utility 1486 is used to "Unlock" and 1426 - somebody said that was the "Fit to Page" code under "Page Setup." Is anybody familiar with these codes? Perhaps there will be an explanation in the VW11 documentation. Thanks, Jim
  9. Hi All, I am converting some scripts to conform to VectorWorks 8/11 and I got a warning for the following: if width > 21' 11 7/8 then ... The warning read: Warning: Expected Inches Symbol. Warning: Unexpected characters after number. Warning: VectorScript does not parse custom units. I have replaced the "21' 11 7/8" with the decimal equivalent (21.9896), however, I am curious as to what the "Inches Symbol" is. I could not find any reference to it in the language guides. Thanks, Jim
  10. Thanks Raymond and Kevin. Since I wrote this post initially I did a little research. And I also called VectorWorks tech support and discovered, to my dismay, that they do not support VectorScript. I now know that the DoMenu(MReCalc, NoKey) recalculates the worksheet in MiniCAD 6. However, it seems no matter what I try I can't get the worksheet to recalculate in VectorWorks 8. I have tried the following and I get this error message: Error: DOMENUTEXTBYNAME - Menu cannot be found. I tried: DoMenuTextByName('Recalculate', 0); ... ('Worksheet Menu Arrow', 1); ... ('MReCalc', 0); ... ('ReCalc', 0); In the VectorWorks manual it refers to the worksheet menu as the "Worksheet Menu Arrow", so I tried that with a "1" for the first submenu selection, but it didn't work. SO, there must be something else that it is looking for. Have you, or anybody else out there, had to perform a recalculation of a worksheet? And if so, what command have you used. Perhaps there is another command, besides using DoMenuTextByName(), that will perform the recalc. Thanks in advance. Jim
  11. Hi All, I have some MiniCAD 6 code that needs to be converted to VectorWorks 11. This code has some DoMenu() functions in it. But, I don't know what certain DoMenu() parameters mean, such as: MReCalc MPageSetup 1426 and NoKey I have searched high and low on the web for an on-line manual and could not find one. Does anybody know of an on-line source to get this information so that I know what to code using DoMenuTextByName()??? Any help will be greatly appreciated. Jim
  12. Thank you Raymond for your reply. Part of my problem is that I don't think that Joe provided the company in question with a "soft" copy of the source code. I have a hardcopy printout of a version of the source code. I am assuming that it is the latest and greatest, but I am not sure. I searched the hard drive for something that looks like it might be the source code, but could not find anything. I am not even sure what the extension of the file is (i. e. is it a ".txt" file?) Can you please tell me what the extension is on a MiniPascal program so that I can try doing a search on it? Do you know if there is a way to get the source code out of the "command" that we click on to execute the MiniPascal program? I am concerned that I may need to retype in the hardcopy version of the program, compile it, and hope that it works the way that it does now. This will add a lot of time to the conversion process. Thanks again for your help. Jim
  13. Thank you Raymond for your reply. Part of my problem is that I don't think that Joe provided the company in question with a "soft" copy of the source code. I have a hardcopy printout of a version of the source code. I am assuming that it is the latest and greatest, but I am not sure. I searched the hard drive for something that looks like it might be the source code, but could not find anything. I am not even sure what the extension of the file is (i. e. is it a ".txt" file?) Can you please tell me what the extension is on a MiniPascal program so that I can try doing a search on it? Do you know if there is a way to get the source code out of the "command" that we click on to execute the MiniPascal program? I am concerned that I may need to retype in the hardcopy version of the program, compile it, and hope that it works the way that it does now. This will add a lot of time to the conversion process. Thanks again for your help. Jim
  14. Hi Everyone, I am brand new to the VectorWorks world. I am currently contracting for a company that needs to upgrade from MiniCAD 6 to VectorWorks 11. I will need to convert from MiniPascal to VectorScript and I understand that there will be some changes required to the source code. My first goal is to find the author of the MiniPascal programs which were written in the mid-1990's. The author's name is Joseph DiPaula. I don't expect anybody to give me his phone number or address, but I am hoping that somebody out there knows Joe and can please communicate to him that I would like to get in touch with him to ask his assistance with our conversion. If I am unable to find Joe, is there anybody else out there that has experience translating MiniPascal (under MiniCAD 6.0.4) to VectorScript (under VectorWorks 11)? I can be contacted at: fara_casa@yahoo.com Any help will be grately appreciated. Thanks, Jim
  15. Hi Everyone, I am brand new to the VectorWorks world. I am currently contracting for a company that needs to upgrade from MiniCAD 6 to VectorWorks 11. I will need to convert from MiniPascal to VectorScript and I understand that there will be some changes required to the source code. My first goal is to find the author of the MiniPascal programs which were written in the mid-1990's. The author's name is Joseph DiPaula. I don't expect anybody to give me his phone number or address, but I am hoping that somebody out there knows Joe and can please communicate to him that I would like to get in touch with him to ask his assistance with our conversion. If I am unable to find Joe, is there anybody else out there that has experience translating MiniPascal (under MiniCAD 6.0.4) to VectorScript (under VectorWorks 11)? Any help will be grately appreciated. Thanks, Jim
×
×
  • Create New...