Jump to content

Musisback

Member
  • Posts

    154
  • Joined

  • Last visited

Everything posted by Musisback

  1. When I reset an PIO from a script, it takes a a pretty long time to redraw (a few second) although,it shouldn't because the PIO is very simple. (it tried with a rect(0,0,100,100) as PIO and the same think happens.) The weird thing is that when the VW file is new it works quite fast but when I work on the same file for a long time, it becomes very slow. Does anyone know what causes that and how to solves it? Thanks
  2. Is there a way to get the handle to an object by clicking on it? I don't think it's clear so here is another way to explain. I would like a function kind of like getpt() but instead of returning the coordonates a the point selected by the user, it returns an handle to the object on witch the user clicks. I don't think a such function exists, but if you guys find a ways do do this, please tell me. Thanks
  3. Thanks for the answers.. It would have been nice to be able to activate the verticles from the path PIO to act like the control points of build-in objects. (move with the selection tool) However, the methode above is very interesting also.
  4. I Would like to know if there is and easy way to move the verticles from path PIO with the 2D selection tool. It is possible for example with the rectangle or any line PIO. Thank you
  5. I tried it to update automaticly a "date PIO" so that I always know at what time my file is printed. Well, it does not work. For some raison, it prints the file before updating the drawing. I tried to add wait(1) and redrawall to my script to let the time to update, is doesn't change anything....
  6. I am refering to a activated snapping smart point. (tiny red square) I Would like certain points to be "smart point activated" by the script (tiny red square) so the users of my tools wouldn't need to activate them there self. It might seem useless, but it is because I am having issues with the getline and the get point procedure of my tools like explained in this post: http://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Main=29451&Number=144018#Post144018
  7. Same thing for me except between the first and second click. No snapping ... (shif hold or not) It works just fine for the other clicks. I tried the new update. it doesn't change this problem...
  8. I also tried here on different OS (windows 7 and XP) on plenty computers. I have the SP3 but the SP4 is not available for my version yet. The scrip above did not work; There is no horizontal vertical snapping for the 2d click. Here is why I am pretty sure this is a bug: I tried running the script (and other ones of mine before) from the resource browser or as a command a then it works just fine. but when I run it as a tool (like I need it to be) then it works not ok. I get a similar bug in my tools in witch I use the getline(..) . The snapping to extension line (for the first click this time) does not work except when a run the script from as a command or from the ressource browser. About that there is something very odd: sometimes, when I have just opened the software, it work just fine for a some amont of time. But when it starts bugging, it never stops... I hope that the SP4 will correct this bug. Thanks for trying if you have any new ideas, let my know...
  9. For the second click, the snapping just don't work. -Nothing appends differently if I hold the shift key for the second click. -I get not horizontal or vertical snapping either. (unlike when I use any VW made tools) -I can get the angle snapping for the second click by adding a locus like you suggested. But then I need to activate the snapping for the locus (red square) by holding the cursor on it (or pressing t) -I don't want the users to have to do that so I am wondering if it is possible to activate (red square) a snapping point (in our case the locus) from the script. I hope you anderstand better, Thanks for your ideas
  10. In this, case, shift doesn't work for de vertical and horizontal snapping. At least not for the second click. Adding a locus works but then I need to "go get" the snapping point manually.... I would be great to be able tu activate the snapping point from a script... If I am bothered by such details it is because I developpe tools for a bunch a people, it is hard for them when the sofware does not work properly...
  11. For a unknown reason, there is not vertical / horizontal snapping between the getpt and the first getptl. Is is the same on your machine? I m wondering if it is not some deep VW bug... Thanks for helping though,
  12. Thanks, but the problem with this technic is that there is no snapping between the different point of a getpt. I need at least the horizontal and vertical snapping. I tried to use de getline procedure, but then, the snapping to extention lines does not work anymore. So, I have 3 choices, but none of them is good: -I can use dirrectly the 2D Path object insertion tool. but then the users have to double click to finish. (after 2 click for example) -I can use getline but for some reason that I cannot understand, the snapping to extension line doesn't work for the first click. -I can use getpt or getptL (where the snapping always work for the first click). But then there is no horizontal or vertical snapping between the different points I posted 2 other post to find a solution, but nothing yet!!. http://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Main=29442&Number=143716#Post143716 http://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Main=29439&Number=143696#Post143696
  13. I would like my 2D path POI's to be drawn after a certain amont of clicks. I actually want this number to be set in de PIO definition and not by the user with a double click Thanks,
  14. is there any way to set a smart point or a datum from a VS? Thanks
  15. I use tools to insert path PIO. The scripts begins with a getline or getrect but the snapping to extension lines does not work. I chooses the point where my cursor really is and not the 'smart cursor position'. the weird thing is that is snaps just fine with the procedure getpt. Does anyone know how to avoid this problem?
  16. A redraw does not change anything. When zooming a lot my PIO's disapear but not the other objects (rectangles) next to them. It is weird because my PIO are actually made of rectangles... Any ideas why??
  17. How to run script automaticly at certain instant? For example at the starting or closing of the programme, or when we print. That would be very handy, Thanks,
  18. I did not know that getobject worked with commands and tools. It works fine. thanks,
  19. I cannot find a function that display the preference dialog of a tool or command during the script. Does anyone know if it is possible? I would like the dialog to pop up kinda like when we insert a PIO from a script with the FUNCTION: CreateCustomObjectN(...., true) Thanks,
  20. It might sound stupid, but I can't find a way to modify the parameters of a command or a tool from the script. For PIO we can just use SetRfield, but what about commands? Thank,
  21. My PIO's disappear when I zoom a lot. The lines are still there, I can see if the object are selected, and I can snap them, but de line are not visible. It only appends with my PIO's. Did any one experience that bug?
  22. Does anyone know if it is possible to activate the use of the 2D reshape tool with 3D path objects. It does not work with objects even if it works perfectly with 3D polygones and with 2D path objects. The 3D reshape tool works, but it does not allow to move serial verticles at once by selecting them with a rectangle. What is essential in my case. Thank you,
  23. Ok thanks for the info. The best would be to set de front view as de default/plan views and to be able to create vertical layer though.
  24. I guess, it is not smart enough. That's a shame because if I need to change a single dimension of an object, it would need much more work and time. The goal a contraints is preciselly to avoid that. I have worked with other CAD software before, and they handled that just fine... Anyway if VW 2010 does handle it and someone knows how, please tell me.
×
×
  • Create New...