Jump to content

Pat Stanford

Moderator
  • Posts

    12,626
  • Joined

  • Last visited

Everything posted by Pat Stanford

  1. Cross posting from the Classes... thread. Make two vectorscripts each with one simple line. The first is: Show(All); When you run this, all objects that have had their individual visibility set to hidden will reappear. The second is: Hide(SEL=True); This one will set the visibility state of all the selected objects to hidden. If you really want to get fancy you could make into menu commands and then add them to your workspace and given the keyboard shortcuts. I find this useful to get objects out of the way, especially when working in 3d. This is a global setting, so there is no way to do this for a single viewport. Additional comment. If you need to change the visibility in different viewports, you really need to think about how you are using classes and layers. Especially the use of sub-classes.
  2. Make two vectorscripts each with one simple line. The first is: Show(All); When you run this, all objects that have had their individual visibility set to hidden will reappear. The second is: Hide(SEL=True); This one will set the visibility state of all the selected objects to hidden. If you really want to get fancy you could make into menu commands and then add them to your workspace and given the keyboard shortcuts. I find this useful to get objects out of the way, especially when working in 3d. This is a global setting, so there is no way to do this for a single viewport.
  3. All of the MD tools have been roled into Designer. I believe some of them were also rolled into Architect and Spotlight. Market for MD was vanishingly small, something like 4000 copies a year. Impossible to justify the costs of a separate version.
  4. Dragging the Sort Acending (rising bar graph) or Sort Descending (decreasing bar graph) "tiles" to the header row is how to sort. You can actually have any row in the database area selected, it does not have to be the header row. The SUM tiles work similarly. If you put a single SUM tile it will condense all of the items with the same value (say door tag number), but the summerized row will then total the numeric values such as the door widths. Just drag another SUM tile to those columns to undo the totaling.
  5. I don't think Str2Num handles strings with unit marks. It will only handle pure numeric strings. If the data is consistent enough you could use the string manipulation functions to remove the unit marks. Check the reference at developer.vectorworks.net for Str2Num for more information.
  6. Make sure you check out the difference between the Read and StdRead procedures. StdRead was added to make it easier to bring in the entire line of data to parse.
  7. It only looks like Excel, not acts like Excel. The other "similar" function to Excel that I miss/use is Fill Down/Paste. With Fill Down in Excel you can copy data and/or formulas from the first selected cell to all the ones below it. (There are also Fill Up, Fill Right, Fill Left, but they don't have default keyboard shortcuts). You can get a similar function in Worksheets by Copying the data and then selecting the range and pasting. VW will fill every selected cell with the data where Excel would give you a warning that copy and paste area are different sizes. If you Copy more than one cell, it will paste the entire group (repeating as necessary) into the selected area.
  8. In the quote above you are missing a right Parenthesis. That might be part of the problem. Also I have found that Vectorscript and Worksheet functions seem to like an extra level a parens. Try: =IF((('Lighting Device'.'Position')=''), 'BLANK', 'NOT BLANK')
  9. VW Walls are always the same thickness and rectangular. If you want something that is like a wall but not rectangular use your polygon and convert it to a pillar. (AEC Menu, Pillar). You can then use the Wall Join tool to connect your other walls to the Pillar.
  10. Look at the GetPickObjectInfo function. This should let you get a handle to the symbol rather than the wall.
  11. Closed does mean with all the lines connected. But it is possible to draw a poly and not quite get the start point and end point to be exactly coincident. If that happens, even though it looks closed to your eye, the computer does not realize it is closed. The closed button fixes this by drawing an extra line between the first and last vertices.
  12. If you get the value from the cell, you will get exactly that, the value that is in the cell. If you are trying to use this value (that you know is cm) someplace where VW is expecting a dimension in another unit (like a PIO that was written in inches), you will get strange results when you paste the value in. Four possible options: 1. Make sure that where you are using the dimension is set to use dimensions rather than just straight numbers. This only works if it is all in your script. 2. Manually do the conversion in your script to the units the PIO is expecting. 3. Convert the value to a string and append the 'cm' to the end prior to using the value. 4. If you can live with the cm showing on every row in the worksheet just edit the format of the cells to include cm in the trailer and then use GetWSCellString.
  13. What about adding a record to the symbols that should be numbered and using Link Text to Record. That way each symbol instance can be numbered separately even if they are contained in a master symbol.
  14. There is an option in the DXF/DWG import dialog settings to import as all 2D, all 3D or as drawn. Just pick to 2D option and reimport.
  15. Check the Class Visibility of the viewports. Normally viewports are set to not show classes that are added to the file after the viewport is created. You can adjust this in either the OIP from the viewport or from the Organization palette.
  16. Rectangles, Rounded Rects, Ovals, Worksheets, Bitmaps are controlled by their bounding boxes. Check out the GetBBox and SetBBox commands to change the size of your Rounded Rects.
  17. I just tried the script (copied and pasted from above) in VW2013 SP2 and it worked fine. Can you try it in a new blank file with a single wall and see what happens?
  18. Mike, You skipped 5 versions. Many of the changes you are complaining about occurred gradually over that period. Many things are different in 2013 than in VW12.5. It wil take time and effort to learn the new ways, but I think most of us would be loath to go back to VW12.5 after getting used to VW2013. For your texture adjustment check out the Attribute Mapping tool from the Basic tool set.
  19. Check the Snap Grid constraint in the Snaps Palette. If it is not on turn it on. Also check that you have not "Suspended" snapping. This is the tilde key in the standard workspace.
  20. Yes, I did misunderstand. If it won't let you directly add the script to an existing palette, let it make a new one then use the Resource Browser to copy/move the script to the palette you want. Or I think you can even use Copy/Paste to move scripts between palettes. And the first visibility script I always make is Show All.
  21. Just do multiple sorts. Start with the least important (most sub criteria) and work out to the most important. So sort on Street Number, then Street, then City, then State to get a list of addresses sorted by state.
  22. BiRail Loft is probably your best bet. If you really need multiple compound curves you will probably need to break it up into pieces and then combine the surfaces (or add solids). My bigger question is how closely will these pulls be seen in your drawings/renderings? You could spend a lot of time making it perfect for something that will never be more than 1/4" across in a rendering. I always recommend thinking of the final use of the object before you decide the level of detail that you need.
  23. It will not go on a scripts palette because it is not a script, it is a menu command. You have to use the Workspace editor to add it to your workspace. Likewise, scripts can not be added to a tool palette or a menu because they are not tools or commands. But if you have the source code for the script it can usually be converted to a tool or command.
  24. How about setting an extra variable/parameter. If that field has the correct value then don't read in the data. If it is blank or has the default data then do the read?
  25. This is the way it works. Once a symbol is placed the record data belongs exclusively to that symbol instance. Changing the record data of the symbol definition will not change the instances. Try to make a worksheet database showing all of the symbol instances. From there you should be able to rapidly edit all of the data to match the updated symbol instance. In the worksheet if you copy a single cell and then paste it into a selected range, every cell in the range will be assigned the data. This is different than Microsoft Excel, but give a capability similar to Fill Down in Excel.
×
×
  • Create New...