Jump to content

Sir_Dan_Fortesque

Member
  • Content Count

    34
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About Sir_Dan_Fortesque

  • Rank
    Greenhorn

Personal Information

  • Occupation
    System-Administrator
  • Homepage
    www.meetromania.info/
  • Hobbies
    Programming, bycycling, traveling, corresponding, making friends, helping people
  • Location
    Belgium
  1. Sir_Dan_Fortesque

    Changing insertion point for symbols/PIOs

    Hello, You can use SetSymbolOptionsN to control the insertion and break mode of a symbol with VectorScript. I wish you a very nice day and much programming pleasure. Friendly greetings, Chrissy
  2. Sir_Dan_Fortesque

    Is it possible to use AppleScript together with VectorWorks 9.0.1?

    Hello, As promised I did the translation of the VW 7 to VW 9 files. I succeeded almost completely except for one thing. First you are asked to select a folder where the VW 7 files are located. After that the AppleScript create a folder OriginalsV7. Then the VW 7 files are converted from VW 7 to VW 8 and the originals are moved inside the Originals V7 folder. When the VW7 to VW8 translation is completed, another folder is created named Originals V8. Then the translation process start over again but this time from VW8 to VW9. When the AppleScript ends everything seems normal. The original VW8 files are moved inside the Original V8 folder. Also the files left have Type MC9d and Creator CDP3 I checked that with ResEdit. Now comes the problem. When you try to open the documents in VW9 you get an error telling you that the document is damaged or very old. I will copy the AppleScript here below the text. Do you know what is the cause of the error of what is wrong? To try out the AppleScript you need VW8 and VW9 both installed on your computer. Also you need AppleScript to run or edit the Script. In case you do not know how use AppleScript. Double click on the AppleSCript symbol on your computer. In the file menu choose New Script. A new script window will open. Paste the scriptcode below in the bottom textfield and in the top textfield write a description. Now click on run and your script will running. I will appreciate your help very much and maybe someone from Nemetschek can put us on the right way. Thank you very much for your help and I wish you a nice day. With friendly greetings, ChrissyDesselBelgiumEurope tell application "Finder" set sampleFolder to folder ((choose folder with prompt "Select folder of MiniCAD files:") as string) set translateTargetV7 to ((sampleFolder as string) & "OriginalsV7") make new folder at sampleFolder with properties {name:"OriginalsV7"} set MCFileListV7 to every file of entire contents of sampleFolder ? whose ((creator type is "CDP3") and (file type obsolete is "MC+4"))end tell tell application "VectorWorks 8.5.2 NL" activate repeat with fileAlias in MCFileListV7 with timeout of 1200 seconds translate fileAlias as alias tell application "Finder" move fileAlias to (translateTargetV7 as alias) end tell end timeout end repeatend tell tell application "Finder" set translateTargetV9 to ((sampleFolder as string) & "OriginalsV8") -- display dialog ? -- translateTarget buttons {"OK"} default button 1 make new folder at sampleFolder with properties {name:"OriginalsV8"} set MCFileListV8 to every file of entire contents of sampleFolder ? whose ((creator type is "CDP3") and (file type obsolete is "MC8d"))end tell tell application "VectorWorks 9.0.1 NL" activate repeat with fileAlias in MCFileListV8 with timeout of 1200 seconds translate fileAlias as alias tell application "Finder" move fileAlias to (translateTargetV9 as alias) end tell end timeout end repeatend tell
  3. Sir_Dan_Fortesque

    Is it possible to use AppleScript together with VectorWorks 9.0.1?

    Hello Dave, Thank you for your help and your advice. I did not know that VectorScript supported AppleScript. I did a couple tests to open a document (record the actions with ScriptEditor) but they failed. I will take a look on the script who convert V6 to V7 files. If I can adapt it to translate V7 to V9 files, I will put the code here on the message board. Thank you very much for your advice. It is not the first time you helped me and I am very gratefull for that. If I ever can help you or do something in return, let me know. I wish you a very nice day and all the best! With friendly greetings, ChrissyDesselBelgium
  4. Hello Everyone, I have a question and I will appreciate your help very much. Is it possible to automate some tasks in VectorWorks with AppleScript? The tasks are in the following sequence : 1. Open VectorWorks 7 document on CD with VectorWorks 82. Push "OK" button to close conversion warning dialog.3. Save document in VectorWorks 8 format with "Save As..." specifying automaticly the path and the name.4. Open this document again in VectorWorks 9.5. Push "OK" button to close conversion warning dialog.6. Save document again in VectorWorks 9 format specifying automaticly the path and name.7. Repeat at step 1 to convert the other documents. Can you tell me if it is possible? I think if VectorWorks is AppleScript "Recordable" it is possible, but I am not sure. On this moment I am learning AppleScript because I still have to translate between 1000 and 2000 VW7 documents and I like to accomplish this automaticly. When we find a solution, I like to share this AppleScript with other people freely. I realise that I ask regularly for help and therefore I appreciate your efforts to help myself and other people very much. I thank you very much in advance and I wish you a very nice day. Friendly greetings, Chrissy
  5. Sir_Dan_Fortesque

    MiniCad 7.x to VectorWorks 9.0.1 convertion

    Hello VulcanGrip, It seems that I am not alone who like StarGate very much. Thanks for mention the DVD edition, I will take a look after it. Regretfully I did not see Super Nova. Indeed there are a lot of translations to do. But maybe I found another way to translate them. We have also VW 8.5.2 which can read VW 7 files. I think I will try to read them in 8.5.2 and save them. Then I will read those VW 8.5.2 files into VW 9.0.1 where I will save them. I think it will be quicker because I omit one step. I found out that trying to translate more than one file, still gives regular errors. Thank you very much for your reaction and very much VectorWorks pleasure. Friendly greetings, Chrissy
  6. Hello, Can you help us with the following question. I have convert between 1000 and 2000 MiniCad 7 documents to VectorWorks 9. I know there is a utility called Translator (we have that). Now my question. Do you know how we can automaticly convert those documents. Also when using Translator we got a lot of type 1 errors. I assigned 5000 MB to Translator itself and 50000 MB to MiniCad 7 (we use our own old copy). The system we are running on is Mac OS 9.2.2 Dutch. Do you have an idea what causes those errors? I thank you very much in advance and I wish you a very nice day. Friendly greetings, Chrissy
  7. Sir_Dan_Fortesque

    Accessing worksheet with 4th Dimension

    Hi, As promised in my former reply, I let you know the results. Instead of using the worksheet, I gather all information of the objects in the drawing and save them to a text file. So immediatelly after my script receives information (by a handle to an object), it writes a line which contains all informations. In this way I can ommit two steps, firstly get all information in the worksheet, second browse through the worksheet and put all information again in the text file. I thank you very much for your help and wish you a very nice weekend. Friendly greetings, Chrissy
  8. Sir_Dan_Fortesque

    Vectorscript Editor for VW8.5.2

    Hi, I agree with Dave except on one thing. There is still a Vectorscript limit of 32 K when creating scripts in the VectorScript editor (scripts who run inside the document itself, ie in a script pallet). I have to warn you that there is a bug in VectorScript editor 9.0.1 which let you work on above those 32K, so it seems there is no limit. However once you close the VectorScript editor you will find out that you loosed the code which exceeds those 32 K limit. So be warned about this because I experienced the nasty results itself. But there is another way. Use Plug In Objects (PIO) which do not have that limit. You can use the PIO in the Organise menu and choose Create Plug In. You will see that you use the same VectorScript editor but this time without the 32 K limit. You can access your PIO by adding it to your work environment. Once you are accustomed with this, it is very easy. And one big advantage, your PIO's can be accessed in every VectorWorks document. Have a nice day. Chrissy
  9. Sir_Dan_Fortesque

    Accessing worksheet with 4th Dimension

    Hello Katie, Thank you very much for your advice, I appreciate it very much. I forgot the export feature you mentioned. In fact I was concentrating totally to the worksheet itself. But now I am thinking further. I think that I also can create a textfile in VectorScript. When my script gets the values (expressions and formulas are not used in the worksheet) out of the worksheet and export them in a delimited textfile I think 4D can import my file. It is really great to have the ability of a programming language inside a CAD program. I always remembered a phrase Chakotay once said in the very first episode of Star Trek Voyager; "BE CREATIVE". Its that what let a person stand out of the crowd. I will let you know my results and again I thank you very much. I wish you a very nice day and very much succes in everything you do. And remember; be creative (its true). Friendly greetings, Chrissy
  10. Sir_Dan_Fortesque

    Accessing worksheet with 4th Dimension

    Hello, Can you help me with the following question. Is it possible to access a VectorWorks worksheet with 4th Dimension or any other database program? Also is it possible to use RealBasic to get access to a VectorWorks worksheet? When it is possible, can you tell me how and what I need to accomplish this? I thank you very much for your help and I will appreciate it very much. Friendly greetings, Chrissy
  11. Hello, I ultimatelly found the cause of my problems with those PIO objects. With the PIO is everything fine, it is Nemetschek which made a terrible fault. When you modify your work environment and add a menu and menu items to your menu bar, VectorWorks assigns a menu-ID number to each menu item to identify them. Before I explain further note that the menu ID's for the pattern pallet are situated between 70 and 75. I checked my own menu entries and not surprisingly they are in this same range. When I change (with ResEdit) the numbers of my own menu entries so they are outside this range, the pattern pallet does work again. Regretfully by doing so I have to change the complete added menu items as well. About the cause of this problem. It is obviously a very serious programming error. There is nothing a normal user can do to solve this problem. The error can made in two places : or all versions have that and Nemetschek is at stake here, or only the Dutch version have that and the cause is by the people who translated VectorWorks. In either way despite the responsibility matters, it is an error which may not occur in any circumstances. It proves that VectorWorks has very serious flaws. And when you read the above carefully you realise why there is no problem on the PC version (because the menu system is very different). Maybe Nemetschek can pay me for my hard work. In the end I am solving their problem. I get a very good idea why people contact me so much to help them solve a problem. Any reaction of Nemetschek would be welcome. In the meantime, I wish you a very nice day and very much pleasure with VectorWorks. Friendly greetings, Chrissy
  12. Sir_Dan_Fortesque

    Own PIO's appear in the Pattern pallet of VectorWorks itself

    Hello, I ultimatelly found the cause of my problems with those PIO objects. With the PIO is everything fine, it is Nemetschek which made a terrible fault. When you modify your work environment and add a menu and menu items to your menu bar, VectorWorks assigns a menu-ID number to each menu item to identify them. Before I explain further note that the menu ID's for the pattern pallet are situated between 70 and 75. I checked my own menu entries and not surprisingly they are in this same range. When I change (with ResEdit) the numbers of my own menu entries so they are outside this range, the pattern pallet does work again. Regretfully by doing so I have to change the complete added menu items as well. About the cause of this problem. It is obviously a very serious programming error. There is nothing a normal user can do to solve this problem. The error can made in two places : or all versions have that and Nemetschek is at stake here, or only the Dutch version have that and the cause is by the people who translated VectorWorks. In either way despite the responsibility matters, it is an error which may not occur in any circumstances. It proves that VectorWorks has very serious flaws. And when you read the above carefully you realise why there is no problem on the PC version (because the menu system is very different). Maybe Nemetschek can pay me for my hard work. In the end I am solving their problem. I get a very good idea why people contact me so much to help them solve a problem. Any reaction of Nemetschek would be welcome. In the meantime, I wish you a very nice day and very much pleasure with VectorWorks. Friendly greetings, Chrissy
  13. Hello, Can you help me with the following problem. I made a lot of Plug In Objects (PIO). I access them from the menubar. I created a menu entry in the present environment. Sometimes, when I adjust the menubar, I get the message that a particular PIO is not present in the Plug In Folder. Nevertheless when I check, it is still present and its name is not changed or different. Also when I change or delete PIO's I do that in the PIO editor. I think this behaviour is the cause of the following problem. With the above menubar active, when I draw a rectangle (for example); choose "Pattern" in the fill pallet; and want to select a pattern in de listbox, I see some of my own PIO's in the pattern pallet instead of the patterns. This also is true for the pen pattern combobox. I was told that the cause of this error was overwritten VectorWorks code or Palm software. However I installed VectorWorks again, I checked for Palm software (but is not present on any of the computers here). I also reinstalled a whole computer (our operating system is Mac OS 9.2.2 Dutch). Also we use a PC here which uses the same PIO's and there the problem does not occur. Can you tell me what I have to do to solve this problem? I will appreciate your help very much and I thank you in advance. I wish you a very nice day. Friendly greetings, Sir Dan Fortesque(Chrissy)Email : kristiaan.verberne@skynet.be [ 03-06-2002: Message edited by: Sir_Dan_Fortesque ]
  14. Hello, Can you help me with the following problem. I made a lot of Plug In Objects (PIO). I access them from the menubar. I created a menu entry in the present environment. Sometimes, when I adjust the menubar, I get the message that a particular PIO is not present in the Plug In Folder. Nevertheless when I check, he is still present and its name is not changed or different. Also when I change or delete PIO's I do that in the PIO editor. I think this behaviour is the cause of the following problem. With the above menubar active, when I select a pattern fill in the 'Properties' pallet, I see some of my own PIO's in the pattern pallet instead of the patterns. This also is true for the pen pattern combobox. I was told that the cause of this error was overwritten Vectorscript code to Palm software. However I installed VectorWorks again, I checked for Palm software (but is not present on any of the computers here). I also reinstalled a whole computer (our operating system is Mac OS 9.2.2 Dutch). Also we use a PC here which uses the same PIO's and there the problem does not occur. Can you tell us what we have to do to solve this problem? I will appreciate your help very much and I thank you in advance. I wish you a very nice day. Friendly greetings, Sir Dan Fortesque(Chrissy)Email : kristiaan.verberne@skynet.be
  15. Sir_Dan_Fortesque

    Cycling through Classes

    Hello, You can browse through all used classes in your document with a VectorScript. It is very easy. Firstly used NumClass to determine the total amount of classes. Thereafter us something like this : strName := ClassList(intIndex); where strName contains the name stored at intIndex position within the Class tree. You can also get other properties of the classes. In the meantime Nemetschek will add it to VectorWorks, maybe this can help. If you need help coding this, tell me and I will help you. Friendly greetings, StarGateDesselBelgiumEurope

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×