Jump to content

Pat Stanford

  • Content Count

  • Joined

  • Last visited

Everything posted by Pat Stanford

  1. Are you sure that the class you set to invisible is not the active class? The active class and the active layer are always visible regardless of the visibility settings. Does the trim disappear in 3D when you set the class to invisible? If not, perhaps the trim is in a different class than you think.
  2. Probably best to repost this in the Wishlist Forum. More likely to be seen and considered there. But it is a very good idea.
  3. I don't think you can do it with the built in Tag. I think that lack of flexibility was one of the driving factors for the Tag Tool as a separate object.
  4. Try separating them by commas instead of double periods. =SUM(B2, (B3*2), (B4*3))
  5. Can you post a file with just you little piece of Landscape area and the tag and I will take a look. Are you doing this in VW2020?
  6. Edit the tag and remove the Area. Add it back making sure you specify Document Units and not Square Meters. I don't think there is a way to tell what the format is after it has been added or to change the format. You have to delete and re-add.
  7. You need to use EndXtrd() with the parentheses.
  8. So the trick in this case is to edit the marionette network to take the parameter entered in the Shape Pane of the OIP and also store that value in a record.field for access by a worksheet. That is a cool trick, but it would be much nicer is there was a way to directly access the marionette "fields" rather than having to manually do it with 3 or 4 extra tiles for each field you want to be able to access.
  9. This has been discussed before, but I can't find the thread right now. The LandscapeArea.Area field that is being displayed in the tag has already been converted to a text representation by the LandscapeArea PIO. You can't do much with that other than display it as is. There is an alternative function under Object Function in the Data pull down that will give you a numeric version of the Area. With this you can also then set the units to display and the precision (number of decimal places). Unfortunately, it appears to only work with the default units and the unit mark is sq m. I can get it to add m2 to the end, but no way to remove the sq m. If you are willing to Change the Document Units of your drawing to a Custom style, you can define the unit mark (M2) and the precision and then use that to get what you want. I got the superscript 2 by dragging it form the Emoji and Symbol viewer.
  10. I don't do a lot with roofs, but I think you can do this. Make a roof that is VERRY tall using the slope of the vertical portions of the roof. Draw a clipping polygon that matches the outside of that roof at the desired height. Select roof and poly and do Clip Surface. You should now have a Roof with a whole in the middle the shape of the clipping polygon. Use the clipping polygon to create a second roof to fill the hole. It will take some trial and error, but I think it will work.
  11. Somewhere along the line, VW shifted from a mostly fixed color palette to the more flexible multiple palettes that we have today. Originally since there was a "fixed" palette, you could use a single number to define the color. With the new format, colors need to be defined using three values RGB (Red, Green, Blue). The attached script will return the RGB values for the PenFore of the first selected object on the active layer. Select an object with the color you want, run the script, copy the values from the dialog box. Edit your script and paste the RGB string into the PenFore() in place of the single number. Procedure ReturnRGB; Var R1,G1,B1:Real; S1:String; Begin GetPenFore(FSActLayer,R1,G1,B1); S1:=StrDialog('Pen RGB Values',Concat(R1,',',G1,',',B1)); End; Run(ReturnRGB);
  12. Thank you all for the input. I think that is enough for me to move on. For now. Best Regards.
  13. I created a roof. Drew the rectangle on the right. Selected the roof and the rectangle and did Clip Surface from the Modify menu. I then did the same on the left. I then ungrouped to get Roof Faces and did the same with the circle on the top. And then I Add Surface with an oval at the bottom. I don't know what is up with your roof. Can you try a simple roof in a blank file like I did?
  14. I don't have 2017 available, but what you suggested above (extrude rounded rectangle and then fillet top edges) worked well in VW2020. If the radius of the corners and the edges are the same you could extrude a rectangle and fillet the vertical and top edges at the same time. The extrusion will have to be at least a thick as the fillet radius to make it work. I am assuming that you are only talking about the top pink part in your image. To do the whole thing I would make the top using the method above and then Add Solids to connect it to the other pieces. Or if the parts need different colors/textures I would either make a group or a symbol.
  15. Based on my limited testing, it appears that you are correct. I don't know why they are shifting part time for you. If I Paste In Place into a symbol, the object gets pasted relative to the symbol 0,0 the same as it was to the drawing 0,0 point. The reverse when I copy out of a symbol definition and paste in place into the drawing. All of this was only test in 2D in Top/Plan with very simple symbols.
  16. I think my archive might have gotten too big, because I am sure this has been discussed before, but I can't find it. The basic question is: How can you right a script that will run anywhere if it depends on how things are delimited. In the US we use a period (.) as the decimal point. In many other countries it is a comma (,). In the US we use a comma (,) as the separator in a CSV file, in Europe it is a semicolon (;) I am considering a script that will read the formula out of a worksheet cell [=record.field format] and then I want to be able to extract the record name and field name. I can do that relatively easily using Copy, Pos, and SubString, but only if I am certain what the delimiter character between the two parts of the field are. Is it always a period? Or is it a comma in some languages/countries? Since I think this is actually based on the operating system settings, it is not even a easy as having different versions for different countries as someone could set their OS up differently. How do I determine what delimiters are used or how do I write a script that is delimiter independent? I think I was bitten by this in the last couple of weeks where a script I posted had to have the commas changed to semicolons but I can't find that thread either. Grrrrr. OK Gurus what am I missing to make this work?
  17. Do each of the symbol definitions have the same record(s) attached? Do you want the data for a specific record to be the same for all symbol definitions? Do you want to change the data for all symbol definitions with that record attached? To the same value? Do you want to change the data attached to the symbol definition? Or do you want to change the default values for the record? They are different. Editing data attached to a symbol definition is pretty easy using a script. But if you want to do individual data for different definitions it is a harder problem to determine by script (instead of using wetware) which definition should get what value. A long time ago (VW2012) I worked on a script to transfer back data from a symbol instance to either the symbol definition or the record defaults. But I don't think I ever got it to work completely. Maybe this is my chance. The way this would probably work for you is to put an instance of every symbol you need to edit on a layer and then use a worksheet to display and edit the data for each instance. Run the script and it would take the values from the instances and store them back to the proper symbol definition. How big of a problem is this for you? If this is 3 fields in 10 definitions 1 time, it is probably not worth my time. If this is 10 fields in 100 definitions every week, I will consider it. And you do realize that changing the value in the symbol definition does not change the values in the already placed instances in the drawing? There have been several discussions that a field type that would track with the definition would be a good addition, but it has not happened yet.
  18. You should be able to just draw a 2D object (poly, retangle, oval, circle, etc.) select the object and the Roof and do Clip Surface (or Add Surface) to make changes to a Roof or Roof Face. VW does not allow you to insert symbols in anything other than Walls and Roofs.
  19. The way color are defined changed a loooong time ago, but the old method basically still worked. hold If you can post the script (hold down the Option key and click on the script in the Palette. Copy the script from the Script Editor window) we can probably help you figure out what needs to change to make the scripts work again.
  20. Rendered viewports are effectively bitmaps saved in the file, so that could definitely impact the file size if you have a lot of them. Especially if they are high resolution. Glad you found the issue.
  21. Also make sure you are in Top/Plan. Labels don't show in other views.
  22. The easiest way to do this would be to make sure you only have items with a given prefix that are "on schedule". Edit the ones that should not be on the schedule to be A' or A- or A* or -A, etc. A [space] would probably even work. Then you don't need the On Schedule criteria.
  23. You have a couple of conflicting issues that are going to make this a little challenging. First your idea of doing multiple reports is good. You can actually do multiple databases in a single worksheet so you could manually put your header row in. The problem is that VW automatically "ORs" criteria that use the same criteria type. So when you have Field Value On Schedule is 1 and Field Value ID Prefix = A both in the criteria list you will end up with every window that is marked as On Schedule OR has and ID Prefix of A. There is no easy way to work around this automatic "OR". If you can change the prefixes on the windows that should not be on the schedule, then you can delete the three rows of On Schedule and use ID Prefix = A as the only Field Value criteria and get the subset you want. The other option, if you are running VW2020 is to use the new Database By Script command. This will allow you to create a database using any criteria you want and specifying exactly what goes into each subrow. This was actually developed for the one of the Landmark Planting schedules to put the summary into the place it was desired. (I can't remember if it was to move to the top or the bottom.) But this option requires being able to script in either Vectorscript or Python (at least a little bit). You might get some takers to help you write the script, but you are going to have to completely specify exactly what the script needs to do. If it is only A and B it is pretty easy. If you need A to ZZZ or something like that it gets more complicated. If you have Landmark or Designer, there are a couple of example scripts in [Vectorworks]\Libraries\Defaults\Reports_Schedules\Landmark Schedules
  24. Another thing to check would be the Tools menu: Purge.. command to make sure you are not carrying around a bunch of images or textures that are not being used. Depending on how complex the file is, 400Gig is not unheard of. Are you using Symbols rather than duplicates of objects where possible? Have you brought in PDF or other image files?
  25. Hi Roberto, Yes if we need to do matrix then converting to Python is probably best idea and not hard to do since we already have a framework that works. The only issue is that I hate the Python is white space delimited ūüėČ. I thought I got away from that when I did my last Fortran program. I have asked one of my gurus to take a look and see if he can come up with an alternative to matrix manipulation. We will see if he gets back to me. The delimiters in functions and worksheet match the Mac system settings, since you are using European settings, your need to use semicolons as delimiters. Here in the US we use commas.


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