-
Posts
253 -
Joined
-
Last visited
Reputation
81 ExcellentPersonal Information
-
Occupation
Senior Product Specialist - Design Express
-
Homepage
www.designexpress.eu
-
Hobbies
Architecture, Music, Bass, Mac
-
Location
Belgium
Recent Profile Visitors
1,630 profile views
-
This should do the trick: c='Gebouw' def DoIt(h): vs.SetClassN(h, c, False) vs.ResetObject(h) return() criteria="((SEL=TRUE))" vs.ForEachObject(DoIt, criteria)
-
Sure: def reverse_it(hObj): sText = vs.GetText(hObj) sTextReverse = sText[::-1] vs.SetText(hObj, sTextReverse) vs.ForEachObject(reverse_it, "(NOTINDLVP & NOTINREFDLVP & ((T=TEXT) & (VSEL=TRUE)))")
-
VectorBench: a Vectorworks benchmarking tool
Peter Vandewalle replied to Christiaan's question in Wishlist - Feature and Content Requests
I've been benchmarkling a bunch of M1/Max/Pro Macs recently. I used among others this file with some scripts. Render Speed Test.vwx The file contains 3 scripts: Render Speed Test py: Renders every layer. To really compare different computers, this is not ideal since the screen size will have an impact on the render time. Render Speed TestViewports: Renders all viewports on a sheet layer. Reset Viewports: You need this script to reset the viewports before running the Viewports test. Otherwise they won't render since the viewports are up to date 🙂 -
In Python that'll be easier: hText = vs.LSActLayer() sText = vs.GetText(hText) sTextReverse = sText[::-1] vs.SetText(hText, sTextReverse)
-
Easy way to show walls with black fill for 2D sheets?
Peter Vandewalle replied to MaltbyDesign's topic in Architecture
For viewports, set the detail level to 'low'. Make sure your walls use class settings for a fill (Edit Wall Attributes). Use class overrides to make the wall classes fill black. For section viewports, just open the advanced properties, 'attributes' tab. Check 'Merge Cross Sections'. The section will use the 'Section Style' class for attributes. Change that class's attributes to black or use the class overrides for that class. -
If you want to write and edit you Python script in a separate file, you'll need to import that file into the vsm and run the script. To do so write something similar in te plug-in editor: import path.pythonfile as mod mod.main() main() being your main def in pythonfile.
-
If you want more, you'll need to edit the search criteria by the formula.
-
Most cloud services will just warn you when you open a file that is in use by someone else, just like a regular server does. if you need tobbe able to use a Vectorworks file simultaneously, you’ll need to go the project sharing way.
-
The time delay isn't important. The actuals save is done to your local drive. After that action the sync runs through the cloud app. You won't even notice that when working in Vectorworks. I use Google Drive for work, iCloud drive for my personal work, Vectorworks Cloud Services for the exchange with Nomad. All of that just runs in the background. When using the cloud as a server, that's how it should be done imho. Google Drive (not suited for Project Sharing): https://workspace.google.com/intl/en_ie/pricing.html Vectorworks Cloud Services (suited for Project Sharing): included in your Vectorworks license. Dropbox (suited for Project Sharing): https://www.dropbox.com/business/plans-comparison
-
problems with hatches printing completely.
Peter Vandewalle replied to hollister design Studio's question in Troubleshooting
Did you (have to) rescale the file after the import? That could cause the linestyles to be too small and hatches be too dense also. Try to never rescale an imported dwg, rather import again (in a new file) using the correct units. -
problems with hatches printing completely.
Peter Vandewalle replied to hollister design Studio's question in Troubleshooting
For the hatch not printing: any object really far away from the internal origin? That causes all kind of graphic issues. For the linestyles not showing: what scale is the design layer? -
I would do that text editing in Python. That way you could keep it all in one Vectorworks command...
-
What is the method for a script "remembering" input between runs?
Peter Vandewalle replied to SamIWas's topic in Vectorscript
If the script is a menu command, you could also use the menu command parameters...