Jump to content

zgobolos

Member
  • Posts

    15
  • Joined

  • Last visited

Reputation

0 Neutral
  1. Petri, I'd like to apologise: yes, the wall's angle is important of course. What I wrote is that it's not important whether the wall's angle is 45 or 215 degrees as the door can be placed into the wall in four ways in terms of the swing direction. Maarten, Nice piece of code, thanks again. I would never figure out I need to use bounding boxes and the other stuff in the middle of your snippet. Thanks guys again, you have solved my showstopper.
  2. I'll give it a try tomorrow and get back with the results. I got a lots of input in the last couple of days and I'm very grateful about it.
  3. Maarten, Wow, that's exactly what I was looking for. I'm gonna analyze the code you pasted in tomorrow but the pictures are really promising. I appreciate your effort very much. Petri, Thanks for your comments as well. I don't have time today but I'll get deep inside your comments and I will write some prototypes to find out how the parametric objects work in relation to each other and in general. I got a comment in another thread about getting inside the parametric object and analyze the sub-parts. So I have a lot to learn it seems and I like it. Thanks very much for all your comments again and best regards, Zoli
  4. Thanks Miguel. Very good approach indeed. I'll give it a try tomorrow.
  5. I watched the relevant Windoor presentation - it was quite long - and besides the tool is looking very useful it can even do something similar that I need with it's ID Label feature. I'm thinking in buying the tool for other reasons but it would be fair to say that the solution it provides for door and window dimensioning is just similar to what I want. I'm in the middle of a big VW script so I won't drop VW if I can't find anything off the shelf but it would just save me a lot of time. Many thanks for all of your answers, and best regards Zoli
  6. Many thanks for the answer but I'm reluctant to believe it has anything to do with the wall's angle. I guess I just simply wasn't clear enough. So let's consider I have a wall in 45 degrees. Or 225 but it doesn't matter. There is a door or window in it. Let's say a door. The door can be opened four ways. If you stand in front of the door pointing your face to the door in the north-west direction - or in other words on the right side of the wall facing the door - you can push-open it two ways - the other two ways are pull-open. I'm not sure I can ask the right question, but the answer is 135 degrees. It doesn't matter in which direction the door opens, but it opens in 135 degrees not in 315. One can place the door flipped and the opening angle in this case would be 315 degrees, but in this case you would stand on the left side of the wall if you want to push-open the door. So this is what I want to know ... the opening angle not against the wall or any items on the drawing but the real word coordinate system where the East means 0 degrees. Sorry but I'm not native english, I'm struggling with difficult explanations
  7. I need to know the real angle - like east is 0, north is 90, and so on ... - of doors and windows but I need only the one angle in which you step through a door in "push mode". I need to extract the same info for windows. I checked the door and window plug in objects' parameter list but I didn't find any clue. I hope you understand.
  8. Whoops, I usually edit the script in TextWrangler and if I need to look up a procedure I use the plug-in editor to open my dummy plug-in kept just for opening the API reference. It makes my workflow absolutely inconvenient. What you mentioned will save me time. Thanks.
  9. Just a quick thought .... have you checked whether the non-existent doors are overlapped by another ones? If you duplicate a door in a wall in any way it is easy to leave a copy over an existing one as they can perfectly overlap. Btw I've seen a menu command like "Remove unreferenced objects" or something similar that would do the trick.
  10. As nobody answered I assume I wasn't clear enough, so let me try again as my problem is kind of a showstopper on using or not using VW. I live in Hungary, Europe. The door and window dimensioning standards here require me to specify the doors' height and width and the windows' height, width and the so called parapet height the way the small pictures show above. As the ID settings of the doors and windows and even the ID tool or the custom id solution are incapable of doing this I decided to write it in VectorScript. I'ts going well and I'm almost ready but I'm struggling with some bits that would make it perfect. If any of you had faced the same challenge please share your solution because I'm stuck. If you know about this standard but you think the built-in ID tool and the schedule sheets are quite enough in Europe please just tell me. Thanky you very much in advance, Zoli
  11. Thanks Raymond I use Str2Num, but first I have to cut the cm from the end. Dumb Str2Num ... Btw I can't find ValidNumStr. Isn't that in the VW 2009 API? I have 2008.
  12. Done. By myself, so sorry spamming you again. The script is attached in it's current form. Just for the archive. Someone may learn from it. What I want to achieve anyway is a solution for this: http://techboard.vectorworks.net/ubbthreads/ubbthreads.php?ubb=showflat&Number=114041#Post114041 Let me tell you that I'm not an architect. I just help my wife to use this sw in a non-US environment where the window and door dimension lines look like this.
  13. Sorry folks, early question. Here is the solution for the archive: ... v : DYNARRAY[] OF CHAR; ... v := GetRField(h, 'Window', 'OverallWidth'); ... Where h is a pointer to the given object - in this case a window or a door. The funny in VectorScript is that you always get stuck with something. Now the v - the result - is in the following form: '5e01 cm'. How can I translate it into something human readable? I mean '50 cm' in this case. Thanks in advance, Zoli
  14. Hi, Is it possible to get the full width of windows and doors? I have the right handles so I only need to get an object attribute I guess but it's not so well documented. Could somebody please point me into the right direction? Thanks a lot, Zoli PS: Whoops, I also need the distance of the bottom of the windows from the actual floor base.
  15. Hi, I'm ramping up with VW 2008 in a live project and it's going surprisingly well but there's one thing that I couldn't find a solution for: I must use a specific measurement/dimension marker on windows and doors like the ones attached. It shows the distance of a window from the ground - the floor actually -, the height and the width of a window OR the height and width of a door. I've been looking for the right tool desperately for a week or a setting that makes the window and door tools to display it automatically but I couldn't find it. In ArchiCAD you can display the marker by choosing "Window Selection Settings" -> "Marker Settings" -> "W Marker 12". The third attachment shows how you can set it up in AC 12. Is it built in to VW somehow? Maybe a specific dimensioning standard? Or a custom one? The attached images that show what I want to achieve are cut from a plan I found on the internet. Thanks in advance for your help, Zoli
×
×
  • Create New...