Jump to content

Pat Stanford

  • Content Count

  • Joined

  • Last visited

Everything posted by Pat Stanford

  1. What criteria are you using for the database? It is likely that you have something in the criteria that are causing it to have no objects returned. I can't read your screen shots to figure out what you see as the problem.
  2. Tony is correct that a record format will work, but if these are different symbols then you don't really need the record. Create a worksheet. Right Click in a Row Header (1, 2, 3, etc. I usually start in 3 so I can add data above more easily). Select Database. From the Criteria dialog box create criteria to limit the items returned. If you can put all of the flagstone in a single (or a small number) of class(es), they that might be a good way. Another option is to draw a rectangle (or poly) around the area in Top/Plan and give it a name at the bottom of the OIP. You can then use the LOCation criteria to only return the items with the poly/rectangle. In the database header row (ie 3, not 3.1, 3.2, etc) in column A enter a formula of =SN to get the symbol name. In column B enter a formula of =Count. Click on the disclosure triangle in column A and choose SUMmarize items. This will combine all of the items with the same name into a single subrow. The Count will give you the total number of that symbol. Ask again if not clear.
  3. On Mac Command Up/Down step through the layers (design and sheet) one at a time. Command Left/Right step through the classes. On Win is probably Control Up/Down, Control Left/Right
  4. If the Square Feet is in A3, then the formula would be: =(A3*0.5)*115/2000 If you have the square footage in A3 and the required depth in B3 then the formula would be: =(A3*B3)*115/2000
  5. That is not the thread I was thinking of. There was a discussion of the OIP being completely empty. Wish I could think of what phrase the poster used.
  6. You can draw any object and use the Modify:Guides:Make Guides command to place it into the Guides class and lock it so it does not accidentally get moved. While this does not have a keyboard shortcut by default you can edit your workspace and give it one if it is helpful to your workflow. Are you also familiar with the data bar? Start drawing an object and hit Tab. The Data Bar will open next to the cursor. You can enter the length, angle, etc. directly into the data bar to constrain where you can draw the rest of the object.
  7. Click the Callout Tool Preferences (Wrench and Pencil at right end of modes) and check the Place as Keynote option. Place a Callout and you should get both a Callout and a legend.
  8. There was at a least one thread about this in the last 6 months, but I can't find it right now. Find the right search and you may get an answer. Sorry I can't be more help.
  9. Great! There are lots of different ways to get handles to objects and if you are going to do much scripting, handles are one of the most important aspects of PythonScript (VectorScript) to wrap your head around. Ask again if you need more help.
  10. I understand the Python is wider spread and more powerful, but it feels like I am going back to Fortran. Capitalization and white space delimited. Way to many chances to screw up on my bad eyes. ;-) I like begin/end and being able to indent as I see fit for clarity. Compile time error checking rather than run time is well worth the extra characters you have to type. IMNSHO.
  11. TrueTypeToPoly take a handle pointing to the text name a block of text as a parameter. This seems to run: (a,b) = vs.TrueTypeToPoly(vs.FSActLayer()) This creates a group containing the polygonized text. You probably need a vs.Redraw or RedrawAll to get the display right. Be careful about passing a nil handle. When I did it crashed VW to the finder. HTH
  12. If these are symbols instead of PIOs, then you might be able to get the exisiting settings as Julian suggest and then delete the symbol and use the InsertSymbol command to replace it with one flipped the way you want/need. Be careful with this as if there are records attached to the symbol you will have to transfer that data also (if it is important).
  13. Applescript is one way INTO VW. You can create an AppleScript and include Vectorscript (or I suppose Python) code that will be sent to VW and executed. I don't know of an (easy) way to get VW to execute an AppleScript. I take that back you could probably use the HTML Link object and use that to fire an AppleScript. I have used AppleScript a couple of times for batch conversion/export operations across multiple files. VW alone does not allow any cross file scripting. I used the AppleScript to open a VW file, Vectorscript the function(s) I needed, then had AppleScript close the file. Repeat that through a list of files. And you can certainly change your system sound before your presentation to what you need and then change it back when you are done.
  14. Convert the Extracted Nurbs curve to Polys and then either Reshape the poly to add the additional edges or draw a second poly and Add Surface. That will get you a polyline/polygon that you should be able to extrude. Make a second NURBS curve for the backwards L. Select both curves and 3D PowerPack Create Surface from Curves. If you get two separate surfaces then use the Stitch and Trim Surfaces to get a single NURSB surface. You can then use the Push/Pull tool on the NURB surface to simulate an extrude. Convert to Generic Solids is you actually need a solid object. HTH
  15. The Vectorscript command SysBeep; plays the system default sound on Mac. If you add that one line to your Saved Views you should be able to get a single sound for all your view changes. If you need different sounds then you will need a different option. If you don't mind going slightly outside of VW there are a lot more options. The one I would suggest would be a set of Applescripts tied to keyboard shortcuts. Each AppleScript would execute one of your saved view and play the sound of your choice. Something like FastScripts from Red Sweater Software would make it realitivley easy to set up the keyboard shortcuts or even (I think) give you a menu of scripts to choose from. Let me know if you need more help.
  16. You will need to contact VW tech support directly to see about getting the file converted. See the Contact Us link at the bottom of this page.
  17. No magic formula to merger database criteria. But VW is "supposed" to OR matching criteria types and AND different criteria types so you can make fairly complicated database criteria. So something like: Layer is Layer-1 LOC is ABC LOC is XYZ Should give you all of the objects that are on Layer-1 AND are in either ABC or XYZ. I say "supposed" because I did a test recently where I was using Field Is Not criteria and it ended up ANDing them rather than ORing them. I have not had time to go back and chase it or test with other criteria. You can also manually edit the criteria rather than using the criteria builder. Right click on the database row header to open the criteria editor and click OK. When it closes the criteria formula is shown in the formula bar. You can edit as necessary. If you make it too complicated the next time you try to use the criteria builder it will warn you that you have to edit manually. A vertical bar ( | ) in the formula is a logical OR. And ampersand ( & ) is a logical AND. Changes the & you need to | and get spectacular results. ;-). (after a dozen or so tries to get it right). Ask again if you need more help.
  18. Excellent job. I often recommend that users think about what is easier to model, the positive or the negative version of a feature and then use AddSolids or Subtract Solids as necessary to get the desired final result.
  19. If you are in the US or Canada, then the distributor is Vectorworks in Maryland. In other countries there are local distributors who offer localized versions of the software.
  20. Francois Lévy has written a couple of books about BIM. He is a VW user so what he talks about should be applicable to VW. https://www.amazon.com/Design-Small-Projects-Francois-Levy/dp/1119252806/ref=sr_1_1?dchild=1&keywords=francios+levy&qid=1596657795&sr=8-1-spell https://www.amazon.com/Small-Scale-Sustainable-Design-François-Lévy/dp/0470590890/ref=sr_1_2?dchild=1&keywords=francios+levy&qid=1596657795&sr=8-2-spell
  21. Viewport Overrides only work with objects that are set to use Class Attributes. I don't know is landscape areas can be set to use Class Attributes or not. If they can, then you should be able to use overrides.
  22. I don't think you will find a way to get the location of an object. It is really intended to be a one-way thing from the location to the object with no reverse link from the object to the location. About the best I can think of would be a worksheet script that would compare an object in a database row to every named poly or space and return that name. But you will still have a problem if you ever end up with overlapping named objects.
  23. DoMenuTextByName('Stitch and Trim Surfaces',0); Seems to work with selected objects.
  24. Pure luck. I added a column so I could try another version of the formula and boom the first Runscript worked. ;-)


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...