Jump to content

Peter Vandewalle

  • Content Count

  • Joined

  • Last visited

Everything posted by Peter Vandewalle

  1. 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...
  2. 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.
  3. 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
  4. 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
  5. That would be completely rewriting the dialog... After you solve these issues, you run into the next one. Also related to the dialog.
  6. 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.
  7. Have you tried renaming your user folder? Quit Vectorworks, rename user folder, restart Vectorworks.
  8. 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?
  9. I think the "image" option in the worksheets is always a "render" and not a vectorial drawing.
  10. @Pat, in 2020 it will also work on design layers.
  11. Is there a way to make a PIO reset when the linked LayerLevel changes?
  12. Found it... stupid me! SetObjectWallHeight
  13. 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?
  14. 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!
  15. 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
  16. Using a workgroup folder could help rolling out the worksheet script on all office machines.
  17. You’re right about the delimiters when it comes to numbers. But for records/fields in Vectorworks worksheets the delimiter is always a period.
  18. I think “value” was available way before 2015. “Substring” most likely wasn’t.
  19. What you’re trying to do can’t be done. A spreadsheet reads objects in the drawing, not the other way round.
  20. Most of them aren’t even Python or Vectorscript but C++. And of course as Pat is saying, they are locked.
  21. In Python just use this form: par = vs.Pparametername where par is the value in your python script and parametername is the PIO parameter.


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.

  • Create New...