fuberator Posted January 16, 2023 Share Posted January 16, 2023 (edited) Hi Is there a way to switch all lighting fixture illumination off in shaded mode. While modeling I would prefer the default light. I do realise I can edit every single light and switch them off, but I guess I am looking for the master switch. Thank you Edited January 16, 2023 by fuberator Quote Link to comment
markdd Posted January 16, 2023 Share Posted January 16, 2023 The only way that I know how to do this is to go to the Visibility Palette and make a multiple selection there and uncheck them.... Quote Link to comment
Pat Stanford Posted January 16, 2023 Share Posted January 16, 2023 Or put the lights into a single (or multiple) classes and set those classes to Invisible. Or I suppose you could put them on a different Layer and make that layer invisible also. 1 Quote Link to comment
JBenghiat Posted January 16, 2023 Share Posted January 16, 2023 Turning off all the lights won't turn on the default light. @Pat Stanford's suggestion will work -- if all the light-generating objects are in a hidden layer or class, Vectorworks will create the default light. If you're working with Lighting Devices and still want to see their geometry, this isn't really a viable solution. I recommend replicating the default light. Go to the Visualization palette, activate the Light tool, and place a Directional light (the first mode, that looks like a sun). It can go anywhere in the drawing. In Object Info, deselect the Cast Shadows option. Use @markdd's suggestion to turn all the other lights off via Visualization. While the light won't adjust to your view like the default light, which is always over your left shoulder, it works pretty well for general illumination. 2 Quote Link to comment
Elite Exhibits Posted January 16, 2023 Share Posted January 16, 2023 Try a Custom Visibility VW Script - Hide Lights / and One to Show lights ... Peter 2 Quote Link to comment
fuberator Posted January 18, 2023 Author Share Posted January 18, 2023 Hi Thanks for all your answers. I do want my geometry to stay on so hiding the fixtures is not an option. F 1 Quote Link to comment
Elite Exhibits Posted January 19, 2023 Share Posted January 19, 2023 Visibility script Hides the Light, not the geometry ... Try it ... Peter Quote Link to comment
pghtech Posted January 25, 2023 Share Posted January 25, 2023 (edited) I echo @fuberator's sentiment. I am seeking a similar solution; requesting that any newly-created Spotlight Lighting Device does NOT have its source "Turned On" by default... it's terrible to have to use scripts, visibility palette, etc to go turn them all off after inserting them (wasted workflow time). Just keep it off by default, and if any Spotlight fixtures need to be turned "ON" for a render, I am almost certain it is more efficient to choose which lights are ON - instead of EVERY light in the plot being on at once 🙂. Or a toggle radio button in File > Document Settings > Spotlight Preferences (just like there's a section to choose a fixture's default insertion angle) to help each user decide their workflow. A little toggle that decides if all new Spotlight fixtures are "ON" or "OFF". Edited January 25, 2023 by pghtech 1 Quote Link to comment
Sam Jones Posted January 28, 2023 Share Posted January 28, 2023 (edited) The attached command should do what you want. Add it to the Plug-Ins folder in the 2023 User Folder and then add it to your workspace. Unfortunately, as it is part of AutoPlot Tools for Spotlight, it will only work for 2 months from its first use. There is also a "Beam Console" command that will let you turn on beams by channel number, focus points, or selection. Email me with any comments, questions, or problems. Sam sjones@autoplotvw.com All Beams Off.vsm Edited January 28, 2023 by Sam Jones Additional info Quote Link to comment
fuberator Posted January 31, 2023 Author Share Posted January 31, 2023 @Sam Jones thank you! Quote Link to comment
benjaminauer Posted February 25, 2023 Share Posted February 25, 2023 On 1/16/2023 at 9:03 PM, Elite Exhibits said: Try a Custom Visibility VW Script - Hide Lights / and One to Show lights ... Peter Can you provide one? Quote Link to comment
benjaminauer Posted February 25, 2023 Share Posted February 25, 2023 Also tried Sams Script, does not really do as advertised, only turns off beams but does not restore the shaded mode, everything stays shaded Quote Link to comment
Sam Jones Posted February 25, 2023 Share Posted February 25, 2023 6 hours ago, benjaminauer said: Also tried Sams Script, does not really do as advertised, only turns off beams but does not restore the shaded mode, everything stays shaded Actually, it does do as advertised. It turns off all the beams. You also want it to restore the shaded mode. What shaded mode should it return to? Quote Link to comment
JBenghiat Posted February 25, 2023 Share Posted February 25, 2023 14 hours ago, benjaminauer said: Can you provide one? The script needs to actually hide the objects, as opposed to turning them off. Vectorworks allows you to set the visibility of individual objects, but as viewports have mostly eliminated the need for this, it's only accessible via script. Here are two one-line scripts to hide and show all lights. Hide((INSYMBOL & INOBJECT & INVIEWPORT & (T=LIGHT))); Show((INSYMBOL & INOBJECT & INVIEWPORT & (T=LIGHT))); Hiding objects has some caveats -- for example, a hidden object can still be selected, causing unpredictable results with some commands. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.