Jump to content

Pat Stanford

  • Content Count

  • Joined

  • Last visited

Everything posted by Pat Stanford

  1. Pat Stanford

    Controlling visibility using data visualisation

    Never mind. My idea of using Custom Visibility does not appear to work. The objects hidden on the design layer show in the viewport. So we are back to using Data Visualization. 😞 So again, do you have a limited set of dates that you need? Or is this a dynamic situation where you could need to generate any date at any time?
  2. Pat Stanford

    Controlling visibility using data visualisation

    This could certainly be scripted, but I think this may be the worst of all possible solutions. You would need to have a separate class for each possible built/demo'd combination. Potentially this could end up as one class for each building.
  3. Pat Stanford

    Controlling visibility using data visualisation

    I was just playing with @JMR idea and you can certainly use Data Visualization to do as he said and hide the objects with None fill and None pen. It will probably depend on if the views are rendered and if so, in what mode. My original idea about using the Custom Visibility functions would have to apply to the Design Layer and then should (not yet tested) flow through to the Sheet Layers. If they have to be rendered in a Renderworks style that takes a long time and you want to keep the Viewport Cache, that probably won't work very well. If you are using OpenGL for quick renders, then the script can be included as part of a Saved View used to go to specific sheet layers/viewport and you can probably get what you need. A combination of the above ideas using a script to attach a record (or set a Record.Field) to each object that should show in a given viewport coupled with the None fill, None pen for objects that don't have the record should be what you are looking for. Or maybe a record with a field for each year. The script would then go through and populate each of the year fields based on if the building existed then. That would definitely be able to be handled by Data Visualization.
  4. The real trick to the above is to realize that any of the criteria can be used as a formula in a cell (either with or without the IF statement) to return a boolean (true or false) value that can then be used for other comparisons or summaries in the worksheet.
  5. Yes, you can. Assuming you can create a criteria for the database rows that limits the selection to only items that are in two areas, add a column with a formula of: =IF(((LOC='Area-1')), 'Area-1', 'Area-2') This will give you the name of the area for all the items. Click the disclosure triangle and choose the Summarize Items check box. In the next column put a formula of: =SYMBOLNAME Click the disclosure triangle and choose the Summarize Items check box. This should give you a list showing one row for each symbol in each area. In the next column put a formula of: =Count This will give you the number of each symbol that is summarized in each subrow.
  6. Pat Stanford


    Are you getting the other snap hints? As long as Snap to Angle is selected in the Snapping palette you should be getting the extensions lines to show when you are vertical or horizontal. Are you getting the 30/45/60° extension lines showing? Are you getting the snap hint text to show? The "Y" key on your keyboard will toggle the snap hint text on and off so it is possible you accidentally hit that and turned them off.
  7. Pat Stanford

    Controlling visibility using data visualisation

    While DataVisualization may not do what you want, it would be a fairly simple Vectorscript to set custom visibilities based on a date that a building existed. If you are interested, I can explain in more detail, but the idea is exactly what you have above. Attach a record with fields that show when the building was build and when demolished. The script would then just take a data as input and set the custom visibility of all objects that were built before the script data and not demolished until after the script date.
  8. Pat Stanford

    Push/pull tool:sub face mode

    Yet again @zoomer and I think differently. Rather than fillet 325 edges, I would create a complete negative of the hole (small cylinder of the correct length for the inside of the hole, large cylinder equivalent to where the fillet should end for the "outside" of the hole. Add solids and then fillet between the two) then duplicate this as I describe using the cylinder above and subtract solids. It does not matter how far above the plate the subtracting surface goes, so make it big enough that it is easy to handle.
  9. Pat Stanford

    Push/pull tool:sub face mode

    @zoomer That is certainly possible, but I have never noticed it. But I usually keep my 2D and 3D conversion resolution set to high or very high, so it is possible that the conversion it does is just good enough for me. Also, I rarely use the Push/Pull tool and usually do separate parts and Add Solids/Subtract Solids. Just being old-school (and lazy to learn the new ways) on my part.
  10. Pat Stanford

    Push/pull tool:sub face mode

    Or Extrude your board and then extrude one cylinder which is the same dimensions as your hole(s) and located at the correct x/y/z to put the whole into the board. With the cylinder Selected, use Duplicate or Duplicate Array to make the pattern of 325 holes. Select the Board and all 325 cylinders and Choose Modify:Subtract Solids. Make sure the board is highlighted and click OK. You should end up with a board with 325 holes.
  11. Pat Stanford


    Restart VW to make sure it is not just a temporary problem. Use the Workspace Editor to add them back into the palette.
  12. Pat Stanford

    How do I save custom settings to Workgroup Library?

    @Christiaan Based on some quick trials (and it is possible I have the files in the wrong location), the DWG-DXF settings are not recognized when they are in the Workgroup folder. I even tried putting them in the workgroup and putting an alias of the folder back into the User Folder. I still could not get VW2020 to recognize the saved settings. When I have time I will see about using a Symbolic Link instead of an alias and see if that will work. Enhancement Request time. 😞
  13. Pat Stanford

    Auto hide floating palettes

    I don't think there is a program wide setting for this. I think it has to be done on a palette by palette basis. Floating palettes have two buttons in the upper left. The X to close the palette and a + or minus to tell you the autohide state. When the Autohide button is a + the palette remains open at all times When is is a - the palette will autohide when the cursor is not over the palette. Does this answer your question?
  14. Pat Stanford

    Shared Libraries

    @BohHas provided good advice. If you want your plants to be available as Default Content, then you have to go the Workgroup method and you have to place VW file(s) with your resources in exactly the right subfolder in the workgroup. A Workgroup folder can be on any server that can be connected to by all of the VW client machines. The Workgroup folder can even be on a file sharing service like Dropbox if you need mobility, but this is best for files that are only changed by a single person or change infrequently as there is a potential for file conflicts if changes are made by two users and each saves before the Dropbox sync occurs. There are a number of threads floating around about how and where to put files in Workgroup folders. Do a search on my name and Workgroup and you should find what you need. If not, please ask again.
  15. Pat Stanford

    Formatting Worksheet Database Cells

    The only work around I can think of for this would be to Copy/Paste from the database rows to worksheet rows and then you can highlight that row.
  16. Pat Stanford

    Finding objects within a perimeter

    @MullinRJHow did you mock up the area? I drew a rectangle and then drew a circle at the top and a circle at the right. I added the rectangle and the top circle. I subtracted the poly and the right circle. For me, this puts the counterpoint of the round wall on the right OUTSIDE of the poly and therefore not found by LOC. What did we do different?
  17. Pat Stanford

    Title Block Borders in VW 2109

    Try putting a folder named "Sheet Boarder - Title Blocks" inside your Defaults folder and store the VW file with your Title Block there. Things that are not in the correct folder in Defaults will not show up as Default Content when you use a tool to insert an object. Check these threads for more info:
  18. Pat Stanford

    Finding objects within a perimeter

    There is a very thin line between a bug and WAD (working as designed). 😉 It appears that LOC uses the "insertion point" of the round wall i.e. the center of the radius as the point it checks to see if the object is in the LOC or not. You should probably file a bug, but I would bet this is working as designed but is just a bad design. Or just add it to the Wish List forum. No real work around other then to create a dummy object to use as the LOC that does not have the concave portion.
  19. Pat Stanford


    @josue CoronaIt looks like we are reading different things into your request. Can you give us a clearer explanation of what you are trying to do and why so we can offer the best possible solution?
  20. Pat Stanford

    3d locus to 3d surface

    For stuff like this Ungroup is your friend. Right after Undo. Umbrella, Ukulele, Unicycle. I guess I just like words that start with U 😉
  21. Pat Stanford


    If you make symbols of the logos (just drag the logo in, leave it selected and Modify:Create Symbol). You can then store this in a VW file containing the logos that can be referenced from your Resource Manager. Once you have the logo file created and favorited you can bring the logo into the file you need it in, make the symbol from it there. Select it in the Resource Manager, right click and Export to your logo file so you don't even have to open it. I don't know of a way to have a folder of non-VW Resource logos available directly.
  22. How about this. Tolerance in the script is set to zero so requires an exact match. Change the value on line 16 of the script to set a tolerance for near matches. Procedure SelectSameHeight; {September 23, 2019} {© 2019 Patrick Stanford pat@coviana.com} {Licensed under the GNU Lesser General Public License} {Using a selected rectangle as the source selects all rectangles} {in the drawing with the same height using a user setable tolerance.} {Tolerance is set by changing the value in the Const section of the} {script.} {No warranty expressed or implied. Use at your own risk.} {Test on an inconspicuous sport before using} {Here by dragons.} Const Tolerance=0"; Var H1: Handle; OrigHeight, ThisHeight:real; Procedure Execute(HD:Handle); Begin ThisHeight:=HHeight(HD); If ((ThisHeight >= OrigHeight-Tolerance) AND (ThisHeight <= OrigHeight+Tolerance)) then SetSelect(HD); End; Begin H1:=FSActLayer; DSelectAll; If (H1<> Nil) and (GetTypeN(H1)=3) then Begin OrigHeight:=HHeight(H1); ForEachObject(Execute,((T=RECT))); End Else AlrtDialog('A Rectangle Must Be Selected to use this command'); End; Run(SelectSameHeight);
  23. Pat Stanford

    3d locus to 3d surface

    For the Loci, check your VW Preference, Display tab. Display 3D loci: It is probably set to Only in wireframe. Set it to Always. You can create a Digital Terrain Site Model from 3D Loci. If you ungroup the Site Model you will get a Mesh object and a group containing the projection of the each the mesh faces onto the layer plane. HTH
  24. Pat Stanford

    Saved Views - Import and Export

    One other thing you could try is to GROUP your viewport and then Copy the group, Paste it into the new file, and UNGROUP. The first thing I would do after that would be to check the layer and class visibilities. No guarantees. Your mileage may vary. Do no try while operating heavy machinery. etc. etc. etc.
  25. Pat Stanford

    Text Style

    That is from the 2019 Function Reference on my HD. I have not upgraded my link to 2020 yet. Objects-Text. And you are right, it is not showing in the Developer On-Line Function Reference. Probably worth a bug submit.


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.