Jump to content

David L

Member
  • Posts

    62
  • Joined

  • Last visited

Reputation

0 Neutral

Personal Information

  • Occupation
    Architect
  • Hobbies
    VectorWorks, 3d, VectorScript, Custom Workspaces, VW Architect
  • Location
    Lafayette LA USA

Recent Profile Visitors

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

  1. Since upgrading iMac to Mojave (10.14.4) I get this message when launching Vectorworks 2019, SP3 ("Vectorworks 2019.app" not optimized for your Mac). That is the message for non-64 bit apps that will not run on future versions of MacOS, likely the next version 10.15 out in the Fall. Vectorworks is advertised as 64 bit, so what's up and will it stop work in MacOS 10.15 (Death Valley?).
  2. Was looking for solution to the Bridge Line PIO problem and found this thread. I tried the final script above, but it would not compile and I did have time to troubleshoot the problem. I still have Vectorworks 2014 on my machine so I copied Bridge Line PIO, renamed it Bridge Line 2014.vso and dropped it into 2018 Plug-Ins folder. That fixed the problem. I actually forgot to delete the existing Bridge Line file, so they were both in the Plug-Ins folder. I thought that was weird, but it worked for some unknown reason. If you don’t have a copy of Vectorworks 2014, the 2014 Bridge Line file is attached. When I deleted the 2018 Bridge Line file, the tool showed up missing. I imagine you can reinstall the 2014 version in the tool palette with the Workspace Manager, but I didn’t bother since it was working. Bridge Line 2014.vso
  3. The SP1 update did fix my issue with NBS characters. My problems were exclusively due to non-breaking spaces. Unfortunately they were in nearly all of my 200+ scripts that I use regularly. They all seem to be working again.
  4. Raymond was correct on my issue. The non-breaking space characters (option-space) caused the problem. I don’t know why the error presented itself as an undeclared variable, but replacing the non-breaking spaces with regular spaces or tabs fixed the problem. I just pasted the script into Pages, turned on Show Invisibles, Found & Replaced all non-breaking space characters with tabs, copied the corrected script and pasted it back into Vectorworks and that version did compile. I assume Pages uses UFT-8 encoding, but I didn’t even check that. I don’t remember why I used non-breaking spaces when I wrote the scripts years ago. I think it made the lines indent in a more controllable fashion. It would be nice if Vectorworks would make a Command to fix old scripts, like the Update Plugin Objects command. I will look into making a Keyboard Maestro macro to automate the script cleanup process. If I can get one working, I will make it available for those who use Keyboard Maestro.
  5. Thanks to both of you. I found a partial solution. Tried Pat's recommendation to make variables H1 and W1. Still failed in the same places. I will use that practice in the future. I did find something on the VS:Vectorworks 2018 Development page that said the script engine needed Unicode UTF-8 encoding. http://developer.vectorworks.net/index.php/VS:Vectorworks_2018_Development Following RJ's lead, I copied the script from this page and pasted it back into my existing script. It compiled and worked from the assigned key command. I tried copying the script into TextEdit and saved it as a plain text file, then used the Run command from inside Vectorworks. That failed with the same error. I dug around in TextEdit and found the Save As dialog allowed you to choose UTF-8 and other formats to save plain text files. Those also failed using Run and pasting the text into the script. If someone with Vectorworks is following, we need a method to convert existing scripts, to fix the incompatibility. The Migration Manager does not convert custom plug-ins in the User folder. For the time being I may have to post scripts to this website and copy them back, as a temporary solution.
  6. Most of the 100+ scripts I use in Vectorworks (some for over 10 years) fail in Vectorworks 2018. All of the failures are related to undeclared variables. I looked for changes to Vectorscript in 2018 that may be causing the problems, but couldn't find anything specific. This is a typical example of a simple script that sets the line weight of a selected object, but now it fails saying the Handle (h) is not declared, even though it is in the Function definition, and has been working fine in many versions of Vectorworks since 2008. PROCEDURE SelectedObjLineWeight; CONST w = 20; { <----------- Line weight in mils.} VAR countObj : INTEGER; FUNCTION SetAttribute(h:HANDLE) :BOOLEAN; BEGIN SetLW(h, w); ResetObject (h); countObj := countObj + 1; END; {---IF selected objects exist, they will be counted each time Function above is called} BEGIN ForEachObjectInLayer(SetAttribute, 2, 1, 4); {---IF no objects are selected, then default attribute is set} IF countObj = 0 THEN PenSize(w); END; Run(SelectedObjLineWeight); If anyone can tell me what the problem is, I can migrate my office to 2018.
  7. In previous versions of Vectorworks, when a Viewport was selected the Annotations in the Viewport were highlighted. This has been removed in Vectorworks 2014. Now only the bounding box of the Viewport is highlited. It is very useful to see what Annotations are in a Viewport by simply selecting it. Now you have to open the Viewport and Select all of the Annotations to see them. I look for a command or preference setting to control Annotation highlighting, but could not find anything. Please bring back Annotation highlighting in Viewports to Vectorworks 2014.
  8. There a 12 minimum F-keys on all keyboards (19 on the current Apple keyboards) but there is no way to assign commands or tools to them with the Workspace Editor. I've been making use of F-keys for 15+ years by using QuicKeys, but they should be assignable with the Workspace Editor. That way your custom Workspaces could easily be carried forward from one version of Vectorworks to the next. I have Vectorworks setup to use all 19 F-keys with 3 additional modifiers so I assign 76 commands, pref toggles and multi-step macros to the F-keys alone. Of course the multi-step macros can only be created with a scripting utility like QuicKeys or Automator. I see they have finally implemented preference toggles in Vectorworks 2012, but I've been using simple Vectorscript created commands to do the same thing with a keystroke for 10+ years. I guess people just work more slowly without quick keyboard commands available. 76 key commands may sound crazy to most, but I also use a printed keyboard template attached to the keyboard for the lesser used commands. You'd be surprised how quickly you can memorize that many commands when they are logically organized and prioritized.
  9. I installed Lion on my iMac 2.8 GHz Core2Duo at home last week. I spent the weekend working on a set of drawings in Vectorworks 2010 and I didn't encounter a single problem. It was all 2D work, no 3D or rendering. Vectorworks did hangup ocasionally for a few seconds at a time, but it never crashed or quit. I don't know if that was attributable to Vectorworks/Lion or just the age of the machine. If you are doing mainly 2D work I think you will be safe with Vectorworks 2010 running in OS X 10.7.1. I'll try and test some fairly complex 3D models (4 story 25,000 s.f. buildings, with extensive Workgroup references) that were created in 2010 and get back with a report.
  10. BTW: I found some new (so they say) MX-610 mice in eBay or $36. You might take a look. I will probably buy a couple more - as backups for when mine die. http://cgi.ebay.com/NEW-Logitech-MX610-Cordless-Laser-Mouse-MX-610-NIB_W0QQitemZ390168208750QQcmdZViewItemQQptZMice?hash=item5ad7d6656e On a Mac you will need a third party driver like Steer Mouse $20. http://plentycom.jp/en/steermouse/ I recently got a Logitech Performance MX from Logitech as a warranty replacement for a previous version that croaked. It is very nice and better at some things but it pricey.
  11. I use a Logitech MX-610 and its the best CAD mouse I've ever used, mainly because it has 12 assignable button functions. Unfortunately its no longer available. It is not even Mac compatible, but with the SteerMouse driver I have all 12 buttons programmed. I've tried a lot of mice over the years and find the Logitech models provide the most available functions while being the most comfortable for me. Besides the pan and zoom functions on the scroll wheel, I have the Selection Tool, Resource Browser, Object Info palette, shift select and delete functions programmed along with the 3 Expose and Dashboard functions. The Performance Mouse MX is good and has 9 button functions, but it is $100. I've tried trackballs over the years (Kensington and Logitech) but always found them more difficult to draw with. I did like them more for general mousing in other apps, but I spend most of my time drawing.
  12. The Version attribute appears to only apply to applications and not files.
  13. In Mac OS-10.6, after installing VectorWorks 2010, all Vectorworks files are now listed as "Vectorworks document" in Finder windows in the Kind column. In the past, Vectorworks files were always listed with the version number ("Vectorworks 2009 document"). I didn't realize how often I referred to this until it disappeared. I've been using OS-10.6 since the day it was released and I'm pretty sure this happened after recently installing VectorWorks 2010. This is a pain when referring to old Vectorworks files, and I have a ton, with a few going back to MiniCad 4-5. I know Apple changed the way file types are associated with apps in Snow Leopard, but I'm sure it was still listing the version, prior to installing Vectorworks 2010. Anybody know what's up.
  14. Attached is the above script in a VectorWorks 2008 file.
  15. I believe Pat is referring to a script he was helping me with. Attached is a VectorWorks file with a script that will consecutively number a specific symbol with a specific record number block. Try it out in the attached file. Like Pat said, you will need to link a text block to the symbol with an attached record format. If you've never used linked records or have any experience with VectorScript, then you may want to look for another solution (not that I know of any). If you want to tackle it. Edit the script in the attached file, by replacing the 'symbol name'.'record name' with the corresponding names from your object. You can import the command palette into your drawings and use it or convert the script into a command and install it with the Workspace Editor.
×
×
  • Create New...