Jump to content


  • Posts

  • Joined

  • Last visited


Everything posted by StarGate

  1. Hello Katie, Thank you very much for your advice. I really appreciate it. We imported the autocad file as 2D only. Regretfully we do not know the version of AutoCad. I will try to find out. When I find out the version of AutoCad, I will reply again to this post. I wish you a very nice day. Friendly greetings, Chrissy Dessel Belgium Europe email : stargate@meetromania.info
  2. Hello everyone, Can you help us with the following problem. We have an DWG file created in Autocad (version unknown). The DWG file contains a floorplan of the first level of a hospital, which is build up by walls, windows and doors. We use VectorWorks 9.5.1 professional edition for Macintosh. The problem is that the complete drawing consist of lines. Therefore they loose their fill. But what is worse, we have to fill the walls, windows and doors again with colors. It is a hugh time consuming operation. So here are our questions which we cannot solve on this moment. 1. How can we quickly fill those walls, windows and doors with their specified colors? 2. Is there a fast method of making again closed objects from all those lines so we can add a fill to it? 3. What is the reason why those objects are build up by lines (not connected) after the DWG import? We succeeded to move the walls, windows and doors to a separate layer by choosing "Custom selection", nevertheless we do not succeed in finding an easy way to connect all the lines belonging to a particular wall and create a closed object which can be filled. I will appreciate it very much if you can help us with this problem. In the meantime I thank you in advance for the time spend on our problem and I wish you a very nice day. Friendly greetings, Chrissy Dessel Belgium Europe email : stargate@meetromania.info [ 05-10-2003, 05:24 PM: Message edited by: StarGate ]
  3. Hi, I read your message according handles to previous selected (gripped) objects. Use PrevSObj(hndObject); which gives you the previous object in the list. hndObject is a handle to an object. You can also store your handle to previous selected objects into an array. I hope you find this information usefull. I wish you a nice day. Friendly greetings, StarGateDesselBelgiumeurope
  4. Hello Franscesco, I read your message and I can help you. ResEdit is a separate program from Apple which is not included in the operating system. However I can help you. Send me your email address directly to the following email : kristiaan.verberne@skynet.be I will send you ResEdit and the documentation to the email address you specified. I have to warn you for one important thing : NEVER EDIT ACTIVE RESOURCE FILES ESPECIALLY SYSTEM FILES. You have to make sure that the resource files you edit are not used at that time. And make sure you know what you are editing! I wish you a very nice day. Friendly greetings, StarGateDesselBelgiumEuropeemail : kristiaan.verberne@skynet.be
  5. Hello, I read your message about changing the script code of protected scripts. As far as I know there is no way of changing that scriptcode. You can try open a protected PIO in a wordprocessor or other program but the only thing you get is an unreadable mess of characters. I tried a lot of possibilities, however nothing worked. Many people like to make corrections on those standard PIO's which is very understandable. I also asked that question directly to Nemetschek. They told me that without that protection, they cannot give technical support any longer for those PIO's for the simple reason that they cannot track the adjustements made by the user. I know that in AutoCad you can make those alterations. However I see a lot of AutoCad people struggle with it. But if you want to change all your rects to poly in your drawing that can be done by writing your own PIO. You can check for a rect with the following instruction : intType := GetType(hndObject); When the value of intType is equal to 3 then your object is a rectangle. Get the coordinates of your rectangle by : GetBBox(hndObject,rlX1,rlY1,rlX2,rlY2); hndObject is a handle variable pointing to the selected object. rlX1 and rlY1 defines the upper left corner of the object, rlX2 and rlY2 defines the bottom right corner of the object. The only thing you have to do is to delete the selected object from your drawing : DelObject(hndObject); and draw the new rectangle with the Poly instruction : Poly(rlX1,rlY1,rlX2,rlY1,rlX2,rlY2,rlX1,rlY2,rlX1,rlY1); Now your rectangular object should be transformed into a Poly. You can do that with all rectangle objects in your document. Select all layers in your document. Establish a handle to the first selected layer and than browse through all your objects. Check each object when it is a rectangle. I hope I answered your question. If you really want to edit or alter the result objects from those standard PIO's, this is the way you have to do. The decision to protect those standard PIO's is not my responsibility. Finding workarounds is what programming is all about. I hope wish you a very nice day and a lot of fun with VectorScript programming. Friendly greetings, StarGateDesselBelgiumEurope
  6. Hello, I read your original message. For the corrections you like to make on those standard PIO's I think you do not need to have access to the PIO's itself. By the way, those standard PIO's are all protected and I think with good reason (I do not like to offend someone here). Inside your Plug In folder you will find the maps named : DataIncludes When you open those maps you will find preference files for all your standard PIO's. You can open those files with a simple wordprocessor like SimpleText on the Mac or Wordpad on the PC. When you open those files, you will find a lot of parameters you can alter. But make sure what you are doing and that you edit the correct data file. I hope you can solve your PIO problem this way. I think it is the easiest way to correct. In the meantime I wish you a very nice day and very much fun programming VectorScript. Friendly greetings, StarGateDesselBelgiumEurope
  7. Hello, I tried a couple of months ago to export a VectorWorks drawing in jepg format. If you do nothing and draw everything on the same layer, everything will be exported. I did not try it yet, but put the objects you like to export on a separate layer. Make only that layer visitble and active. Now choose export and format jepg. Does that work? On this moment I do not have VectorWorks. I will try it this evening and give you a message. With friendly greetings, StarGateemail : kristiaan.verberne@skynet.be
  8. Hello everyone, Maybe this is not the place but still I like to put this message on the message board. I like to thank all those people who kindly supported me. I want to thank esspecially following people : Matthew Giampapa - Nemetschek Technical Support for his kind support Richard - for his brilliant idea and his nice words Luc Janssen - Design Express Belgium for his nice email. I definatelly will continue helping people on this message board and also will try to explore new horizonts in VectorWorks. Compared with other CAD programs, in many ereas VectorWorks is shining bright and mostly your own creativity determine the limits. So take my advice and be creative! I wish you all a very nice day and wish you very much programming pleasure in Vectorworks. Friendly greetings, StarGateDesselBelgiumEurope P.S. : To the moderator of this board : Please leave this message a few days on this board. Thereafter feel free to remove it. Thank you!
  9. Hello, Maybe I can help you with the error on line 27. From VectorWorks 9.5.1 the word "type" is a reserved keyword. You can easily fix that problem by putting int before type on every occasion. So change the word "Type" into intType and I think your problem will be solved. About line 28, I think the problem is a result of line 27. I think when you changed all Type variable occurances, that error will also disappear. If not, also place hnd (of handle before the variable. In case my solution does not work, you can always send me your code (if you want to) and I will take a look at it. You can contact me here or on my email address mentioned below. I have to go now. I wish you a very nice day and very much VectorScript pleasure. Friendly greetings, StarGateemail : kristiaan.verberne@skynet.be
  10. Hello Richard, Thank you very much for your message. I appreciate that support and help very much. Indeed I have plans for extending my VectorWorks programming horizon. I first used MiniPascal in version 4.0 of Minicad. During the years I gained a lot of VectorScript experience. My last project was to calculate the price of massive wooden houses based on the preluminary designs. Such projects are very interesting because there is a lot of creativity needed. Despite the fact that there are a lot of programs on the market which make price calculations, I think there is a need for exclusive programs designed to the customer specific needs. In my last project, the designers drawed their designs and while they where drawing the price calculation already started. In the end they have to choose "Transport" and all object dimensions together with their classes and records are exported outside VectorWorks to be processed by the price calculation program. Many people still work by measuring manually the rooms and other objects and input that information in a spreadsheet like Excel. I believe that a designer or an architect can make better use of her/his time. Therefore I am still constantly search how to improve my own solution without spending a hugh amount of money on third party solutions. And indeed VectorWorks is on this point much better than AutoCad or others. I am sure that some people will disagree with me, but I saw experienced AutoCad users struggle and wondering why on Earth their application was not working. And programming is not that much difficult that it is important. And believe me, helping people is my nature. It is nice when you are desperate searching for a solution you do not find, that someone helps you out. And do not worry I will continue to help people. And indeed when I can do custom programming, I will be surely interested. I like to buy VectorWorks myself so I can work here at my home. The internet is indeed a very interesting place to do such tasks. So as you said, we will see what the future will brings us. Richard, I have to go now. I thank you very much for your interesting message. I wish you a very nice day and many VectorWorks pleasure. And you know, when you need help you know where to find me. With friendly greetings, StarGateDesselBelgiumEurope
  11. Hello Matthew, Thank you very much for your message. On 15 april 2002 I lost my job at the company I worked for as a system-administrator / programmer (for economic reasons). Up until then I was allowed to use VectorWorks in my free time to write scripts. But now I do no longer work there, I cannot use their licence any longer (which is normal). Because I still have a lot of work, I like to buy a VectorWorks licence myself. But I like to wait until VW X comes out because it will make use of the second dual processor. Therefore I will wait until VW 10 will comes out. I think it shouldn't be long now. In the meantime I thank you very much for your message and I wish you a very nice day. Friendly greetings, StarGate
  12. Hello everyone, Do you know when VectorWorks X will comes out and also what new commands and options will be available in VectorScript. I thank you very much for your help and I wish you a very nice day. Friendly greetings, StarGate
  13. Hello Katie, Thank you again for your help. Indeed I will try to allocate more memory to Translator and VW 7. I have 384 MB on my computer so I will use 60000 MB for VW 7 and 40000 for translator. I think the more documents you try to translate simulatiously, the more RAM memory will be needed. I will let you know the result. In the meantime I wish you a very nice day and I appreciate your help very much. Friendly greetings, Chrissy P.S. : Sir Dan Fortesque and StarGate are the same. On my work I am logged in as Sir Dan Fortesque, at home as StarGate. Sir Dan Fortesque is the hero of MediEvil 1 and 2 on the Playstation (my favourite game), StarGate is the movie I most like.
  14. Hi Dave, Thank you again for your help. I said it in one of my former message; what should I do without all your help. I will try it out and I will give you a message. Have a very nice day and happy programming. Friendly greetings, StarGate(chrissy)
  15. Hello Ray, Thank you very much, indeed I like your solution very much. It is just what I was looking for. I will try it out first thing in the morning and I send you a message. Have a nice day and very much VectorScript programming. What should I do without you all!!! Friendly greetings, StarGate(Chrissy)
  16. Hello again, Sorry I made a mistake in the version number of Vectorworks. I wrote 9.5.2 Dutch edition which was faulty. It has to be 8.5.2 Dutch edition. Friendly greetings, StarGate
  17. Hello John, As promised I look at your code and I found out which could be the cause of your error. You have to remove two instructions of your code : pushattrs;popattrs; The first instructions saves your environment the second restores them to the state where pushattrs is called. I try this at my home with VectorWorks 9.5.2 Dutch version. It is very foolish of me that I did not see that earlier because in the past I ran into the same problem. I adjusted your code and you will find it under this text. I wish you very much success and a very nice day. With friendly greetings, StarGate Procedure CustTool;VAR Name:STRING;Result:BOOLEAN;BEGIN ClearCavities;PenSize(7);PenPat(2);AddCavity(TRUE, 5.3937008", 1.4566929", 35);PenSize(7);PenPat(2);AddCavity(TRUE, -5.3937008", -1.4566929", 35);DoubLines(0"); {<<<set here your wall thickness, then it works. PenSize(7);PenPat(2); SetZVals(0", 0"); {<<<Attention, this line set's the layer's Z-values, in this case to zero.If you WANT to change the Layers Z-value trought this script then fill in the proper values, if not delete this line } FillFore(255);FillBack(0);FillPat(1);PenFore(255);PenBack(0);PenPat(2);PenSize(7);PenPat(2);Marker(0, 0.125000, 15); NameClass('Walls');CallTool(-208);END;Run(CustTool);
  18. To : Kevin Klinzey and Jeff Koppi, Thank you very much for your advice and your help. Again it is very usefull to me and I am sure other users also. Indeed I also thought that it was a bug when a scripts exceeds 32 K there is no warning. However, maybe it is not completely a bug of VectorScript. Here are the exact steps I took until I found out I loosed the last part of the script. I wanted to merge two scripts into one script by copy and paste by the Mac pasteboard (command-C and command V). Here are the steps : 1. I opened script A.2. I select all the code in script A3. By using command C I copied to code4. I closed the script editor by cancel it5. I opened script B6. Go to the position were the code was to be inserted (in the first middel of the script code)7. I pasted the code at that position8. I made some adjustements on the scriptcode9. I closed the scripteditor by clicking OK.Now when I run this script I get an error message that the script code stopped in the middle. When I open the script again in the script editor the last part of the code (the section which exceeded the 32K limit) is lost. But I think there is a lot of white space at the end of the script editor (I am not sure about this). I hope it will help to solve this bug. Probably when you are typing to much you be warned by VectorWorks. We are using Vectorworks 9.0.1 Dutch edition on Mac OS 9.2.1 Dutch. I thank you again for your help and I wish you both a very nice day. With friendly greetings, StarGate(Chrissy)
  19. Hello Jeff, Thank you very much for your answer. I think that this is the answer I am looking for so long. Because someone before told me to put it in the Plug In folder, I thaught I made an error. I searched for hours to find my error but I never found it. Now I know what mistake I made. I will put my include files in the VectorWorks application folder and try again. I will tell you the result on this topic so when it is succesfull other users will find out also. I thank you very much for your help. I wish you a very nice day and success with VectorScript. Friendly greetings, StarGate(Chrissy)
  20. Hi Klinzey, Thank you very much for your reaction. I will try your solution tomorrow on my work and I will let you know if I succeeded. In the meantime, I wish you a very nice day and again thank you for your help. I appreciate it very much. Friendly greetings, StarGate
  21. Hello, I followed those discussions about the viewer with very high interest. Firstly, I have to point out that I am not an architect. In my daily work I am a system-administrator/programmer. However I have to work with designers and architects daily. I also do a lot of programming outside VectorWorks. The programs are made varies from calculation to facturation programs in Visual Basic. So now you have my background for my reaction. I can understand your concerns about duplicating and copying your own work. And I agree completely with you, that duplicating each others work is bad habit and surely bad practice. But as a programmer I have a very important question to ask to you all. And believe me, the answer will be realy simple. So here it comes. How many illegally copied programs are running on your computer? Did you buy for every little program the user-licence? And did you follow the licence strictly? I realise that I asked 3 questions but never mind. Also it is not my purpose that you answered those questions. But I think you get the point. If I would bother about every illegal copy which was taken from programs I written, I would be a very sad person. Programming is not an easy task and it takes long before you have a fine working program. It can take several months before you can finish the program. Also many times you get paid after the final installation. And how many times do you think I have to update the program after the final installation? Most times I do not even bill those updates because client satisfaction is highly important for me. Needles to say that I have a lot of work to do. But believe me, many programmers complain about illegally taken copies of their hard work. And no one seems to bother because copying takes only a few minutes. Did I hear you say that the price of a computer program is too expensive? How much would you ask for 3 months works, saturdays, sundays and holidays included? Can you imagine days of 14 to 16 hours work? There are long I can assure you. So next time you take a copy of someone's else program or drawing, take a minute to think about his discussion. How wrong you find someone copying your work and how normal you find it taking that copy for yourself. If we like to change that situation, we all have to begin by ourselves. And no one is perfect including myself. And in case you are really very good, you do not need to copy other peoples hard work because you can do it yourself. And your clients will feel that in every aspect of your work. To end my reaction, I have to be fair with you and answer my questions I put to you. All the programs on both my computers PC and Mac are original and I use them completely to the terms of the licence. And even when I could take your most important design and sell it for thousands, believe me I would never take it. It is simply yours because there is no challenge and honesty in it. Regretfully as you pointed out, many people would not bother taking it. Also I am NOT saying that everyone who copies a program is bad. I can understand that there are situations where those actions can be justified. Also speaking for myself, I try to build up a good relationship with my clients. I correct errors when possible within 24 hours. If they need an extra addition I provide it without cost. If they need help, they know they can reach me day and night. And needles to say, I solve other problems too. When there is no faith between you and your client, you can never get satisfying results. And to be honest, most times it works out fine. I start programming in 1982 and still today several of those programs are still in use without the Y2K bug. I wish you all who are involved in this discussion a very nice weekend and much inspiration with your truly creative designs. And at last, VectorWorks is a very great and versatile program. When I firstly came accross it (in 1994) I broke it down until below the ground. But I had to work with it professionally since then, and in time I realised that many times it was not VectorWorks who was at stake but my own limited thinking who was responsible. And since then, VectorWorks becomes my close companion every day and together we regularly surprised my boss when we make the impossible possible. VectorWorks is really a very good and nice program and also the people who are behind it at Nemetschek. So we should gave them a little more credit when something goes wrong I think. BE HAPPY IN YOUR WORK !!! Friendly greetings, StarGate
  22. Hello , I find the current message board better than the one before. However there can be indeed a problem when you visited a link. The people who designed this message board can easily correct this by specifying the color of their links. And in my opinion they should do so. It is easily done in your cascading stylesheets (CSS). The only three styles you have to add is : A.link{<!-- color of a link -->}A.visited{<!-- color of the link the user visited -->}A.active{<!-- color of the active link -->} And if you do not believe that, look at a side where I am currently working on :http://www.meetromania.info/and you will find out. I find this Nemetschek message board a very good place and very valuable. I hope that it will be supported for a very long time. Friendly greetings, StarGate
  23. Hello, Thank you for the correction, indeed I had to write "we" instead of "you". Probably the language difference lead to this error. Please accept my apology for that. With friendly greetings, StarGate
  24. Hello, What is wrong in your opinion in sharing your knowledge with other people. when you have a problem, you also like to get help from someone instead of searching for hours or days. Speaking for myself, I am helping people because I know how frustrating it can be when you got stuck with a problem. And about TIME. When someone react on a problem you mentioned, you spare a lot of time. If you have to search for a solution you do not find on your own, it cost your employer much more than those 5 minutes it takes to put a message on the board. And about the knowledge of the people here on the board. I am convinced that many of them are very skilled and know where their limits are. Today you cannot know everything. In my opinion it is not weak to ask other people for help. In fact it proves that you are very good because you certainly know what you are doing. Recognizing your limits can save also a lot of money. And while your message is on the board, you can work on something else in the meantime. Many of us like to drive VectorWorks to its limits. Exploring alternative ways, search for workarounds to get the job done and to be creative is for many of us our daily work. What would our employers do without people who are not afraid of a challenge. Would the bridge of San Francisco exist without the knowledge of so many creative and innovative people? Would N.A.SA. put a man on the moon without people who did not spend their time thinking about solutions for problems they have to face? Would your boss be happy with someone who always says that it is not possible because it is too difficult? I think you have your answer. Did I hear some bitterness in your message or is it my imagination which run wild? I wish you much fun with your work and I much creativity in forfilling your daily work. Friendly greetings, StarGate
  25. Hello Neeboy, Here I am back again. Tomorrow I will give you a sample code how to make a dialog which ask you for width and height and store those values in a variable and save it in a worksheet and draw the actual rectangle. Friendly greetings, StarGate
  • Create New...