Jump to content

Pat Stanford

  • Content Count

  • Joined

  • Last visited

Everything posted by Pat Stanford

  1. Pat Stanford

    Custom Doors and Frames

    It depends largely on what you define as accurate enough for fabrication. You can use Marionette, Vectorscript, Pythonscript, or the SDK to create 2D or 3D objects. You can make these objects as accurate and complex as you want. The issue is that the more accurate you need them to be and the more variations you need/want, the more time it will take to create the scripts/networks to generate the desired outcome. If you are a door manufacturer and want to be able to generate drawings of 1000 doors a year to fabricate from then this probably makes sense. If you have 10 different styles of door. If you have 900 different styles of door, it will probably not make sense to try and put that many different options into a script. If you an an architect trying to get around having to detail 20 doors a year you will probably never get the time back. Tell us more about what you are really trying to do and we can offer better advice.
  2. Pat Stanford

    Worksheets Layout

    @SarahSuperland I think everything you are asking for is possible in VW. 1. The default order of the worksheet is the stacking order of the lines in the drawing. You can sort by any column of the database by clicking on the black disclosure triangle in the column header row. 2. I don't understand what you want for the second column. What data do you want to display there? 3. The worksheet can be shown on the drawing by selecting Worksheet on Drawing from the worksheet File menu or from the Resource Browser. 4. The number in the header row is the sum of all the values in the column. If you would rather see it at the bottom, just leave another row between the two databases and use a formula in Column B of =B2 5. Ask again if you need more info.
  3. Pat Stanford

    How to flip a door that's not attached to a wall?

    Or the Flip Vertical/Flip Horizontal commands under Modify:Rotate.
  4. Pat Stanford

    Insert variable for table name in filter

    I wrote a script a while ago that will store the worksheet name into the worksheet. Take a look at this thread and see if it will do what you need.
  5. Pat Stanford

    Door Types on Door Schedule

    In a Report/Schedule, every column must be linked to a formula or record.field combination. You can't just randomly type things into a column. If you have a column with a record.field combination, you can type into the worksheet and edit that data. You can use one of the fields from the Data pane of the Door object to act the the location to hold this data. =Door.'UserFld1' would use User Field 1 to store the data. Ask again if you need more help.
  6. Pat Stanford

    Report of viewport

    Try this: Create an object the same size as your Viewport Crop and place it on a design layer in the same position as your crop. Give it a name in the OIP and place it in a new class. Edit your Report Criteria to add a new criteria of LOCATION IS 'Name you gave the object' You may also need to add a criteria to specify the Design Layer you are interested in. You can then set the class of the object used in the LOCATION to Invisble and it should still limit the report. Ask again if you need more help.
  7. Pat Stanford

    Changing the order of instruments in instrument schedule

    In the worksheet edit mode, make sure that Database Headers is checked in the Worksheet View menu. Select the column you want to sort by and click on the black disclosure triangle and select Sort: as either ascending or decending. You can sort by multiple columns at once, but need to start with the least important and work to the final desired result.
  8. Pat Stanford

    Finish Schedule showing brackets

    Can you post a simple VWX file that shows the problem. I will be glad to take a look, but I don't have time to create a file with rooms with finishes.
  9. Pat Stanford

    Help with Wall Schedule!

    Hi Sky, Sorry for the delay, but I have been slammed at work. I have uploaded an edited version of your test file back to my dropbox and sent you a link via DM. I don't know why you were having trouble, but I did see it when I opened the file. After I edited it back to what I thought you had, it then worked based on my suggestions above.
  10. Pat Stanford

    Custom Right Click

    It appears that this should be a pretty easy thing to write a script for, but I don't have enough Braceworks experience to be able to figure it out. If you can upload a file with a couple of simply truss systems so I can look at the record formats and see what the command actually does I will see if I can replicate in a right clickable format.
  11. Pat Stanford

    Sorting report on specifig number

    Based on some testing I just did, it appears that text field comparisons allow the use of wildcards. Edit your Report and add an additional criteria (under Advanced Criteria is you are not already using that.) Add an additional criteria of: Field Value Sheet Title = 203* The * is the wildcard telling the comparison to accept anything after 203. Ask again if this is nor enough.
  12. Pat Stanford

    Link to file location

    In 2017 there is no easy way to have a text block that will automatically update when the file name changes. Relatively easy to make a semi-static text block that could be updated by a script or a PIO that could be regenerated, but you would need to manually run the script or regenerate the PIO when the file name changes.
  13. Pat Stanford

    move object to active class

    For a single selected object SetClass(FSActLayer,'Class to Move To'); For multiple selected objects Procedure ChangeSelectedObjectsClass; Function Execute(H1:Handle):Boolean; Begin SetClass(H1,'Class to Change To'); End; Begin ForEachObjectInLayer(Execute,2,0,0); End; Run(ChangeSelectedObjectsClass);
  14. Pat Stanford

    Link to file location

    Kind of. I don't have time right now to find exact steps so hopefully this will be enough. With an Unstyled title block, from the OIP click he Edit Title Block Layout button. Choose of place a text block where you want the file name to appear. It should say Text in Title Block at the top of the OIP. At the bottom of the OIP under Title Block Data set a Data Type of Link Value and a Parameter of Project Data:File Name. Exit the Title Block Layout. You can then save the edited Title Block as a new Style for future use. You may be able to edit a Style of Title Block from the Resource Browser, but I am not certain.
  15. Pat Stanford

    Link to file location

    @Bruno SáAre you actually trying to make a hyperlink from the file to itself? Or do you just want to display the file name as part of the title block?
  16. Pat Stanford

    Creating a new size option for an existing tool

    The data for the tubing sizes is taken from a text file. You should be able to edit that file to add the sizes you want (and to delete sizes you don't want if you are very brave). Applications:Vectorworks 2019:Plug-Ins:Common:Data:SquareTubing-Inch.txt (or SquareTubing-Metric.txt) Take a look at a size you know to try and figure out what the columns are and enter appropriate values for your size. It looks to me like the first block of data is the description; second is the X dim; this is Y dim; fourth is X Wall thickness; fifth is Y Wall Thickness, but I don't have time to test. I would also expect that where you put it in the list will determine the order it will display in the pop down menu. Make a back up copy of the text file before you start mucking around so you won't end up having to do a complete reinstall of VW if you mess it up. You might also try putting a copy of the text file (edited) into your user folder in the same Plug-Ins:Common:Data path. This would be a more secure location if it works as a reinstall of VW won't overwrite your changes. If this does not work, make sure you make a backup after you edit the file also so you can just replace the file rather than having to re-edit the file when you reinstall VW or upgrade the next time.
  17. Pat Stanford

    Creating a cropped viewport in 2019

    If it is not asking, then you probably did check the Do Not Show Again. Unfortunately, the only way to undo this is to undo ever Do Not Show Again option. But sometimes this is helpful as you might have checked this on something a long time ago and forgotten an option exists. Vectorworks Preferences : Session Tab. Click the Reset Saved Settings button. Follow the prompts in the dialog box that opens.
  18. Pat Stanford

    Isolate Object command

    For me the Custom Visibility tool does not effect objects with hidden Class or Layer visibilities. The scripts created are really simple. Show All: Show(INSYMBOL & INVIEWPORT & (ALL)); Hide Visible Selected Objects Hide(INSYMBOL & INVIEWPORT & (VSEL=TRUE)); If scripts are acceptable, copy and paste everything in the code block in to a new blank Vectorscript from the Resouce Browser. If you want to give them key shortcuts or add them to the contextual right click menu you will need to use the Plug-in Manager (Tools:Plug-ins) to make them into a command and then add that command into your workspace.
  19. Pat Stanford

    Help with Wall Schedule!

    No, the E3 formula is correct. Can you post a simplified sample file with a couple of walls and the worksheet and I can take a look? Or send it to me in a direct message? I have both versions working in a test file here.
  20. Pat Stanford

    Help with Wall Schedule!

    Part of it it my fault. First, what is the row number for the database header row? If it is not 3, then you need to change the formula to reference the correct row. Also what Column is the Description in? We want to make sure we are referencing the correct columns. Second, the column F formula had a typo. It should be =GetIFCProperty(E3) My typo that you copied and pasted. So cell "E3" should end up with a value of ifcWallStandardCase.Name And "F3" should end up pulling the Name from the IFC record into the cell. Try entering a formula of =GetIFCProperty('ifcWallStandardCase.Name') into a header row and see what happens. The other two are just there to handle walls that are not standard case.
  21. Pat Stanford

    Help with Wall Schedule!

    Either I was working too fast last night or just not paying attention. The single cell version is not working for me either, but a 3 cell version does. In three columns enter the following formulas. I have assumed that these will be in columns D,E,F. D3 =IFC_Entity E3 =Concat(D3,'.Name') F3 =GetIFCPropery(E3) You can then set the column widths on D and E to zero so you don't see them. HTH
  22. Pat Stanford

    Help with Wall Schedule!

    =GETIFCPROPERTY(CONCAT(IFC_ENTITY, '.NAME')) Should work for Styled Walls with IFC information.
  23. Pat Stanford

    Saving Worksheets to a Workgroup

    There are several threads floating around about using Workgroup folders. Do a search for me and Workgroup over the last 3 months or so and then should show up. The short answer is just put the regular VW file in the Workgroup folder and everyone should be able to access it from there. By using the Resource Browser options to limit what is shown it should be relatively easy to find. This applies to worksheet and any other Resources that you create. The biggest trick to the workgroup folder is getting the folder structure set up correctly if you want to store Default Content for any of the tools there.
  24. Pat Stanford

    Isolate Object command

    Simplest way is to make them yourself. Edit your workspace and add Custom Visibility to the menu from the Legacy set. It was originally in the Tools menu with Custom Selection etc. before being moved to Legacy. Run the tool and check the Create Script option. The first script you want to have it make is Show All so you can get things back after you hide them. Then you can make a tool for Hide Objects that are Not Selected. And as many other versions as you need to do what you are trying to do. Hide specific layers or classes. Or types of objects (text perhaps). Very powerful.
  25. Pat Stanford

    How to find objects

    More detailed instructions: Go to the Resource Browser. Click the New Resource button. Choose Worksheet from the list. When the worksheet opens it will be in Edit mode. Right click (ctrl-click) on one of the row headers (I usually pick row 3 in case I decide I need to add labels later). Choose Database from the menu. The Criteria dialog box will open. Enter the criteria you are looking for. Since we don't know where this object is, click the Including Components of: check boxes. You will get a subrow for each item in the drawing (not resources that are in the Resource Browser but not in the drawing) that matches the criteria. These will be numbered with the database header row.subrow number (i.e. 3 is the Database Header Row, 3.1, 3.2 ... are the subrows. If you then right-click on the database you will get the option to Select the object that is shown in that subrow. It will work like a Force Select and change the layer/class visibility and zoom to put you into a mode where the object is at the center of the screen and selected. HTH


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.