Jump to content

AFDesign

Member
  • Content Count

    53
  • Joined

  • Last visited

Community Reputation

0 Neutral

About AFDesign

  • Rank
    Apprentice

Personal Information

  • Occupation
    Architect
  • Homepage
    www.andreafacchinello.it
  • Location
    Italy

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. A new version of Foliage plugin is available: video Foliage 2.0 allows you to create a range of fairly complex hedges, espalier, topiary, mass and vertical plantings or areas with any symbol following a site model. More information on www.andreafacchinello.it.
  2. Hi, it would be very nice if Vectorscript could take advantage of multi-core cpu in repetition statements, for example: PROCEDURE multicore; var hascanceled:Boolean; total,counter:integer; BEGIN total:=4000; counter:=0; hascanceled:=false; ProgressDlgOpen('Start multicore test...', true ); ProgressDlgSetMeter('Please wait...' ); ProgressDlgStart(100.0,total); while (counter < total) do begin {...cpu-intensive operations} counter:=counter+1; progressdlgyield(1); hasCanceled := ProgressDlgHasCancel; if hasCanceled then counter:=total; enablemulticore; {doesn't wait end of operation, start the next with another core} end; {while} progressdlgend; progressdlgclose; end; Run(multicore);
  3. AFDesign

    Progress Dialog bug?

    Hi, I have the same problem reported in this post using "progress dialog" function on a plugin I wrote. You can quickly reproduce the problem in this way: 1) create a new script and paste "example 1" from here 2) run the script: if you click cancel button it works correctly; if you push the ESC button all stops but the dialog remains opened and, even if you close its window, vectorworks menus are locked and grayed out (impossible to quit) Tested with Vectorworks 2016 SP1 on OSX 10.10.5 Any workaround to solve this adding some code to the example?? Thanks
  4. AFDesign

    Grayed out menu

    Hi, I have the same problem using "progress dialog" on a plugin I wrote. You can quickly reproduce the problem in this way: 1) create a new script and paste "example 1" from here http://developer.vectorworks.net/index.php/VS:Progress_Dialog 2) if you click cancel button it works correctly; if you push the ESC button all stops but the dialog remains opened and, even if you close its window, all is locked and grayed out. Tested with Vectorworks 2016 SP1 on OSX 10.10.5 Any workaround to solve this adding some code to the example?? Thanks
  5. AFDesign

    UndoOFF

    Thank you, I will try to get more info about this. But if I don't use undooff I get only one regen, not two.
  6. AFDesign

    UndoOFF

    I finally found a workaround, if someone is interested: 1) SetMaximumUndoEvents(0); 2) execute script 3) restore maximum undo events end of monologue
  7. AFDesign

    UndoOFF

    I tried everything, it's probably a bug. if you try this simple code in a linear object plugin, when it regenerates with undooff you will receive the alert message twice, if you delete undooff it will works correctly (only one alert). Any workaround? Thanks PROCEDURE Example1; BEGIN undooff; ovaln(0,0,0,1,1m,1m); {draw a circle} alertinform('Plugin regenerated!','',false); END; Run(Example1);
  8. AFDesign

    UndoOFF

    Hi, does it exist additional documentation for the "UndoOFF" procedure more than http://developer.vectorworks.net/index.php/VS:UndoOff ? My plugin take some time to regenerate so I use "Progress Dialog" to have visual feedback. If I put UndoOFF (after Begin) my plugin regenerate 2 times: when the progressbar end, it restart one more time. Without UndoOFF it works correctly, but I need it to reduce memory use. Thanks for your help!
  9. AFDesign

    Scaling symbols

    Hi, here you are the vwx file with the symbol. If it's not a bug and there is a way to fix it please let me know, thanks so much!
  10. AFDesign

    Scaling symbols

    Hi, I made a simple 3D polygon with a texture. If I create a symbol with this object and I set a symmetrical 3x scale, in opengl view I correctly view both symbol and texture scaled, but if I render I see the repeated original texture (not scaled). Is this a bug or can it be solved in some way? Thanks
  11. AFDesign

    Autorotate

    Hi, anybody know if it's possible to assign the "autorotate" feature (that we can found on "VS:CreateImageProp") to a simple texture or 3d polygon, without creating an imageprop? Thanks
  12. AFDesign

    Modelling rainwater pipes

    Hi, I updated Downspouts to v1.3. You can download it from my website, "Free resources" section. Changes: ? improved 2D representation (new class for downspout projection) ? improved 3D pipe curves ? improved brackets representation Have a nice day
  13. AFDesign

    Two Questions :)

    Sorry Tui, I can't help you this is all new for me too.
  14. Maybe you can try to 1) read z value of your object with GetSymLo3D 2) move zDistance to -z value using Move3DObj method
  15. AFDesign

    Two Questions :)

    Hi Tui, If I understood correctly, my "Custom Beams" does exactly what you're asking, look this video to verify if. Have a nice day www.andreafacchinello.it

 

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.

×