Jump to content

danm01

Member
  • Content Count

    24
  • Joined

  • Last visited

Everything posted by danm01

  1. danm01

    Save File with Script

    I think your best bet for that would be to use Python. There are a bunch of options for working with file and folder structure using os (https://docs.python.org/3/library/os.html). I wrote a script to snapshot an open file to a subfolder in the current directory using os. You can definitely do what you're looking for, but not necessarily with Vectorscript.
  2. @C. Andrew Dunning I've been wondering about this too, although I haven't tested it exhaustively. Workgroup resources seem to work with Videoscreen and Soft Goods, but not Audio Tools.
  3. I use a Synology DS1813+. I use the Cloudstation feature to share folder structures among multiple machines, both PC and Mac. I also frequently use the Cloud Sync feature to synchronize certain project folders with Dropbox, allowing easy collaboration with outside resources. For access to non-Dropboxed folders outside of my LAN I use a VPN. Honestly, it works very well. The server has been doing it's thing since 2013 with only occasional maintenance. When I add a new computer, it's simply a matter of installing the Cloudstation software, setting up the local folder structure, and letting it download for a couple of hours to sync up. Generally the only time I log in to the server is to set up new Dropbox sync folders. Happy to share more perspective anytime. My Swiss German is a little rough, though. ūüėČ -Dan .
  4. danm01

    Gobos not rendering

    Thanks Mike. I'm not sure that I buy that official explanation, though. I *always* render using viewports with linked RW cameras. Sometimes the gobo mysteriously disappears, and I can make it come back without re-creating the viewport and linked camera. But until I can pin down exactly what causes it to break, I guess the official line will have to suffice. -Dan
  5. danm01

    Gobos not rendering

    This happens to me fairly regularly. I render custom gobos frequently for one particular client. It's been happening since at least v2016. I've never been able to pin down exactly what makes it break, so I've never filed a bug report. Sometimes it happens when I move the fixture, other times it seems totally random. My general solution is: 1) switch the gobo to something different (any generic stock object) 2) re-render 3) switch back to the gobo I actually want 4) render it again 5) repeat until it works If you're using multiple fixtures, good luck! Sometimes you need to touch every single one to get it to stick. -Dan
  6. Here is a Vectorscript called FindRenameClasses that I use. I think I found it in the Vectorscript forum a while ago, but I'm not sure. Attribution in the comments on the first line. PROCEDURE FindRenameClasses; { Modded by Andrew Chau based on Renameclasses by ? Petri Sakkinen 1997 - 2009 } VAR className, newName, cs1, cs2 {cs1 is the trigger or to be replaced, cs2 is the replacement} : STRING; i, j, n : INTEGER; BEGIN cs1:=StrDialog(Concat('Find text string in class name to rename...',Chr(13),Chr(13),'Find:'), 'S_'); IF NOT DidCancel THEN cs2:=StrDialog(Concat('Rename text string in class name...',Chr(13),Chr(13),'Replace:'),'X_S-'); j := LEN(cs1); FOR i := 3 TO CLASSNUM DO BEGIN className := CLASSLIST(i); n := POS(cs1, className); IF (n=1) THEN BEGIN newName := className; DELETE(newName, 1, j); RENAMECLASS(className, CONCAT(cs2, newName)); END; END; END; RUN(FindRenameClasses); I have it saved as a custom plugin, and added it as a menu item to my workspace. This doesn't help with your symbol names, saved views, etc. but it may still be useful. Also - you could probably do what you are looking for with a Marionette network. -Dan
  7. danm01

    Crowd with LED wristbands

    @Kevin McAllister what other Designer tricks do you use? I've thought about upgrading from Spotlight, but I haven't been able to wrap my head around the differences enough to justify the cost. Thanks! Dan
  8. danm01

    LAPTOP

    Two thumbs up for the Surface Book 2. Pricey but worth it! -Dan
  9. Has anyone seen this before? I created a new master file to use for path animations, with the original referenced in a design layer viewport. The original referenced file is fine, but in the DLVP the lighting instruments are not focused. I've tried refreshing the instruments, referencing other files, and creating a new master file from a blank template. What am I missing? Images below. Thanks! Dan DLVP with unfocused instruments: Referenced File:
  10. I love the rendered Panoramas. They really look great, and I think they're definitely worth the extra render time. However, I've got some challenges that seem to be related to Cloud Services and I'm wondering if anyone else has the same issues. 1) I've tested a few files and they all come out the same way. The JPG image is centered correctly when it's rendered. However, when viewed through the Cloud Services portal the camera starts off pointed towards the "left" side of the image rather than straight on center. 2) The user experience for a recipient opening the rendered image on an iPhone is not good. Regardless of whether I send the link email through Cloud Services OR copy and paste the link into an email, the recipient starts off seeing the "Comments" screen with the first line saying "Not allowed" (see attached image). In some cases, they can't click on the file to view it at all. I've tried with both Safari and Chrome. 3) It's possible to send a link to a file stored in my Dropbox account, but for some reason the recipient can't view the file unless it has been uploaded to the root Cloud Services folder. I have not tried it with other subfolders. Thanks, Dan
  11. danm01

    Viewport render times

    It's not ideal, but one thing you can do is Publish the sheet layers containing the viewports. Vectorworks generates a publish log that tells you how long each sheet takes to produce. I say it's not ideal because there's no opportunity to cancel. But if you want to kick off a few different versions and go get some coffee... The log file report looks like this (file name removed): I do think having a way to track render time data within the program would be extremely valuable, and I've mentioned to Vectorworks team members on the phone and at trade shows. Generally the answer is something like, "well, you can see it on the lower right once the viewport has rendered." -Dan
  12. danm01

    Scale Bar glitch?

    I had this exact same problem! It was incredibly annoying, and I wish I could tell you how I solved it. I think it had something to do with my default font settings - size, alignment, etc. Also, maybe it also was related to working with a template that had been converted through several software upgrades. My best advice is to start from scratch using the scale bar tool, don't try to copy and paste from an older document. Good luck. -Dan
  13. Do they need to be 3D? What if you were to use some 2D image props and check the "crossed planes" option? That's way easier on the rendering engine. Alternatively - in the Resource Browser look for Entourage People. The old 3D symbols don't look very good in a rendering, but they are very low poly! The 2D people might be enough for you to demonstrate spacing and riser heights, they just don't simulate 3D like an image prop with crossed planes. -Dan
  14. danm01

    Switching Documents Broken - Windows

    This happens to me as well. It's unpredictable, but seems to happen most often after a number of complex operations. Replacing a bunch of symbols, mass updating records, that sort of thing. As BG said, the solution is to close Vectorworks and re-open. 2018 SP3, Windows 10.
  15. I have this same problem! Windows 10, Spotlight SP3. It was happening in SP2 also.
  16. As far as I know there's no built in command. You can write a script to do it though. I've got one to recalculate all worksheets in a file, but you could modify it to do just one specific instance by name. Vectorscript below. I set it up as a Plugin so I could make it a custom menu item. I borrowed and adapted this from someone else's work, so it's possible it could be simplified. Hope this helps. -Dan {Recalculate all worksheets in file} Procedure WSrecalc; VAR foundObject: handle; objname :String; i, n : integer; OK : boolean; function DoRecalc (h : handle) : Boolean; BEGIN RECALCULATEWS(h); RESETOBJECT(h); RESETOBJECT(GETWSIMAGE(h)); End; Begin n := NAMENUM; For i := 1 to n do begin foundObject := GETOBJECT(NAMELIST(I)); If GETTYPE(foundObject) = 18 Then ok := DoRecalc(foundObject); End; End; Run (WSrecalc);
  17. danm01

    2018 Title Block fields?

    I'm looking to modify the data contained in the revised Title Block tool via a script. In previous versions I had a worksheet embedded within my title blocks. In order to take advantage of the new field options I will need to modify a few scripts. Any help would be appreciated! Thanks, Dan
  18. danm01

    How to export an image w/out using sheet layers

    Honestly, I'm not sure why you would not want to use a Sheet Layer & Viewport. It makes it really easy. To get a specific resolution, you just need to use math. For instance, I have a SL set up as 20" wide by 11.25" tall. At 96 DPI, you get a 1920x1080 image. At 192 DPI, it's 4k. Publish to a JPG or PNG file and it looks great.
  19. danm01

    2018 Title Block fields?

    OK, that was really helpful. Thanks! I had not realized that this was done with records. In case this comes up for anyone else, this seems to work for me (Python script): #User defined project name strProjectName = vs.StrDialog('Set the project name','[changeme project name]'); #Sheet data record format and field strRecordName = 'Title Block Project Data' strRecordField = 'Project Name' def SetRecord(h): vs.SetRField(h,strRecordName,strRecordField,strProjectName); vs.ResetObject(h); criteria = '((R in [' + "'" + strRecordName + "'" + ']))'; vs.ForEachObject( SetRecord, criteria); The key is to use the ResetObject function after setting the drawing border field. Otherwise the record gets set but it doesn't display correctly until the drawing border is edited again. This works with Sheet data as well, but I have not messed with Revision or Issue at this point. Note that I'm a terrible coder, so there's no error checking or anything like that. But it does work! -Dan
  20. danm01

    How to extend a line?

    What zoomer said, but with one key addition. See the image below: I've circled 2 key pieces that aren't clearly marked. The grid and circle with a dot switch the line from rectangular to polar coordinates. You can switch at will, it does not change the line in any way. The 3 dots below indicate something called "segment position." If you extend the line with the current setting, the additional length will go to the right. If you click the center dot, any extension will go equally to either side. Note that this applies to 2 dimensional shapes too, but there are 9 dots instead of 3. -Dan
  21. danm01

    Custom Video Screen Images in 2017

    I don't think the Resource Manager changed the process at all. It's been essentially the same for a long time now. I've made a few screen images since SP3 was released, but I'm using the Landru plug-ins as opposed to the Spotlight versions. What specifically are you having trouble with?
  22. Thank you! Glad I'm not crazy. This had me scratching my head for a while! -Dan
  23. Vectorworks Team, please take a look at this. I've attached 2 files: an original (reference test-original.vwx), and one referencing the original in a design layer viewport (reference test-DLVP.vwx). In the original, the lighting instrument is focused correctly. In the referenced DLVP, it's not. This is very clear if you render the model - you can see where the light from the instrument shows up. In the original, it casts a shadow from the focus point as expected. In the referenced DLVP it's pointed straight down. Is it supposed to behave this way? Thank you, Dan reference test-DLVP.vwx reference test-original.vwx
  24. danm01

    Rotating Projector Screen

    You can't do it with the plug-in. The projection plug-in generates the screen object for you, and it doesn't allow for 3D rotation. Your best bet is to create your own screen object using an extrude or other 3D object and add the content using a texture. Don't forget the screen border. Then separately add a projector using the plug in, and once you've got it lined up use the "hide screen" checkbox. As Kevin pointed out, most large event projectors aren't happy being angled like this. It's a heat management thing. You can do it, but it will kill your lamps quickly. More than likely you will want to keep it horizontal, and do the math to figure out the actual projection raster by superimposing your "diamond" on a 16x9 (or 4x3 or 16x10) rectangle. Some machines do allow for 90 degree rotation, which may work in your favor. The plug-in has some "side" versions of the stock projectors, but if you're using custom objects you will need to create another version of your projector symbol and re-jigger the lens placement numbers in the attached VS-ModData record. I did a quick and dirty version in the attached file. -Dan Rotated screen example.vwx

 

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.

√ó