Jump to content

Peter Vandewalle

Distributor
  • Posts

    319
  • Joined

  • Last visited

Everything posted by Peter Vandewalle

  1. You can use the SetWSCellFormulaN command to fill text or formulas into a worksheet cell. That won't be a cell in a database row however. These rows are calculated and can only show object data. That object data may be seen very large, certainly with the RunScript possibilities. https://developer.vectorworks.net/index.php/VS:SetWSCellFormulaN
  2. Try it in 2021. I noticed much faster hidden line renders.
  3. I think rewriting is the only way to go. Python is slightly faster in execution than Vectorscript.
  4. Make sure the autosave saves to your local disk and not a server. And don’t autosave every 2 actions...
  5. I’m in the car right now so I can’t test but I would try with 0, 1, and so on. Or create a little loop with integers and an alert dialog...
  6. The only parametric objects that can be contained in a Vectorworks file are Marionette objects. Vectorscript or Python plug-ins are less limited and run faster however. I put my plugins in a workgroup folder. That folder is on my iCloud but it could also be Google Drive, One Drive, Dropbox, ... I can then share that workgroup folder with other users in the team, so they can also use the plugins.
  7. There seems to be no call for shadows... I'll check on that but here's a version that should also do text styles and textures. Object Attributes to Class_02.zip
  8. The 'Assign obj attrs to class.vsm' is protected, so one cannot edit the script. But from your description, this plugin should do the trick. It acts on a multiple selection also. Just unzip the archive and put the folder in your plugin folder. Object Attributes to Class.zip
  9. That would be completely rewriting the dialog... After you solve these issues, you run into the next one. Also related to the dialog.
  10. Use a higher export resolution for the pdf export. The export of a pdf seems to export line start and end points to the ‘resolution grid’. The higher the resolution, the better the pdf export. Even for vector objects.
  11. Have you tried renaming your user folder? Quit Vectorworks, rename user folder, restart Vectorworks.
  12. If Pat’s workspace trick doesn’t fix it, just some ideas: Are the resource libraries up to date? Do you use workgroup libraries? If so how many? Otherwise please send us the file?
  13. I think the "image" option in the worksheets is always a "render" and not a vectorial drawing.
  14. @Pat, in 2020 it will also work on design layers.
  15. Is there a way to make a PIO reset when the linked LayerLevel changes?
  16. Found it... stupid me! SetObjectWallHeight
  17. I'm trying to connect a PIO to layer level types. I need to set the height of the PIO when it's in a wall. The test I did works with the object when it's not in a wall, but when inserted into a wall, it doesn't work... I used the vs.Move3DObj(h) Any ideas?
  18. Our main tip to users when importing a dwg-file in Vectorworks: DON'T SCALE THE RESULT!!! 🙂 Hatch definitions won't scale and might become ridiculously dense. That will make your graphics card run extra hours. During training sessions we very often have to explain the best way to import a dwg-file. If there's an issue with a dwg-file, this is not a scale. It is a unit issue. 1. Open a blank document with your units. 2. Import the dwg-file as if it was drawn in you units. Do not use the detected units, they will be wrong. AutoCAD users never indicate the unit they use to work. 3. In the result, check a dimension or size you know. I.e. if you see a staircase, the stair width will be something like 80cm to 100cm, sometimes 120cm. If it reads '900' units, that means the dwg-user has been thinking in mm. If it reads '0,9', his units were meters. DO NOT TRUST DIMENSION OBJECTS IN A DWG. They may be 'exploded', what makes them just lines an text. 4. If the units in your imported file don't match your settings, THROW AWAY YOUR CURRENT FILE AND OPEN A NEW ONE. Don't just throw away the imported objects sibce the hatch definitions will stay in the file and they are already too dense... 5. Restart the import in a new, empty file. But now use the units as you found them in step 3. Succes!
  19. Typical useful elements that can be used from a workgroup are: - symbols - object styles like wall styles, slab styles, roof styles, text styles, ... - templates - workspaces - custom plug-in objects and scripts
  20. Using a workgroup folder could help rolling out the worksheet script on all office machines.
×
×
  • Create New...