Jump to content

Pat Stanford

  • Content Count

  • Joined

  • Last visited

Everything posted by Pat Stanford

  1. William, It is always very frustrating when this happens, but my experience is that most often when you get a file corrption like this, it is probably a hardware issue rather than software. VW12 has been out for almost 2 years. Yes, you sometimes hear of a corrupted file, but not often enough for me to think it is a software problem. That is the reason I strongly advocate lots of backups, on multiple media, in multiple locations. One of the announced features for VW2008 is an improved autosave. I hope that will be turned on by defulat and will help in situations like this. More likely a power fluctuation during a save, a memory chip problem or a hard disk problem. It could even be a magnetic monopole running through your hard disk ;-) Blaming the hardware/software for lost date/time is similar to blaming your cruise control for a speeding ticket. Regards, Pat
  2. Pat Stanford

    VectorWorks 13: 2D rotation and legacy files

    I think the reason Robert was suggesting Layer LInks is so you could draw the object so as to best use the horizontal/vertical snaps/constraints of VW. The LayerLink can then be brought into the site and rotated to match the required real world angle. This is a work around, but until we see the VW2008 Rotated Working Plane, probably not a bad way of working. Pat
  3. Pat Stanford

    Vectorworks interface improvements

    Thanks Pat, didn't actually notice this - it's good, though is there a way to customise this key? (say, to 'r' or similar) I looked in the workspaces editor and couldn't find it. Workspace Editor: Misc. Keys tab: Mode Groups How about using the Option (Alt) key and dragging a marquee? This will select every object that is touched. You can then Shift Click on the one on top to deselect it. How would your system work if there where three or more object on top[ of each other? Pat
  4. William, There are several things you can try. 1. Create a new blank file and use Workgroup References to bring in the data from the corrupt file. This may get you back everything on the design layer, but will probably not get you sheet layers or annotations. Since you have a 24 hour old copy, duplicate that and see if you can paste the referenced data into that file. 2. Open the VectorWorks Preferences and click the button that says, Reset. This will delete your preference file, and create a new one. It will automatically put your registration and serial number in the new file. You will have to go back and reset you preference to the way you like them after the reset. Since you say that it is only this only file that is causing problems, this is probably a long shot. 3. Restart you computer. 4. Reinstall VW. 5. Call/send the file to Tech Support at NNA. If there is data there, they can usually help get it out. I put his one last only because it will take the longest to get results. I am going to take your problem as an opportunity to advocate for using the Save to a separate file in backup folder option in VWPreferences:Session. This option creates a VW Backups folder in the same location as your file is saved. With the option turned on, every 5, 10, 15 minutes, when the autosave runs, the file is saved to this folder, not to the orginal file. In your case, this would have probably resulted in a good file only a few minutes old rather than a day. I hope you get this solved soon. Pat
  5. Pat Stanford

    Line arrows

    Yep, you are out of luck on that one. Pat
  6. Pat Stanford

    Line arrows

    What kind of arrowheads do you want?
  7. Pat Stanford

    2 Part ? regarding windows & Doors

    If you double click on the Angle Snap constraint in the Constraints Palette, you will see check boxes at the top for 30,60 and 45. If you only want 45 and 90, then uncheck the 30,60 box. Also make sure the Enter Angle box in the Alternate Coordinate System is also set to 0 or 45 of you will get an alternate snap at your 39.5 (or whatever) angle. Pat
  8. Pat Stanford

    select by color script - what color is that?

    Henry, That is very strange, I though all the colors were mapped to their closest match on the 16x16 palette. Ok, how about this script. Procedure SelectColorMatch; {Patrick Stanford, Coviana, Inc.} {www.vectortasks.com, www.podcad.tv} {Copyright 2007, Coviana, Inc.} {Released for public use} Var H1:Handle; R1,G1,B1,R2,G2,B2:LongInt; Procedure SelectIt(ThisObject:Handle); Begin GetPenFore(ThisObject,R2,G2,B2); If ((R1=R2) & (G1=G2) & (B1=B2)) then SetSelect(ThisObject); End; Begin H1:=FSActLayer; GetPenFore(H1,R1,G1,B1); DSelectAll; SetSelect(H1); ForEachObject(SelectIt,ALL); End; Run(SelectColorMatch); If you are looking for something other than the primary line color, you could replace teh GetPenFore with GetFillFore or GetFillBack or even Get Pen Back. Copy everything between (and including) the Procedure SelectColorMatch) and the Run(SelectColorMatch); and paste them into a blank Vectorscript (created from the Resource Browser). Touse the script, select one object of the desired color and run the script. Every object in the drawing with the same color will be selected. Hope this helps. Regards, Pat
  9. Pat Stanford

    user defined 'objects' ?

    It depends on exaclty what you mean. There are three possibilities/levels of difficulty. 1. If the Door and Window tools do what you want, create a door or window and then create a Symbol from it. From the Create Symbol dialog box click the Options... button. Check the box that says "Convert to Plug-In Object." The door/window with all of its settings will be available in the resource browser, but after insertion to the drawing, it will convert back to a door or window for further modification. 2. You can create your own symbols using 2D (for Top/Plan) and 3D (for other views) objects. This will cut a wall like a door/window depending on the insertion options you give the symbol when you create it. This will give you more control over the object, but you loose the adjustability of the object from the Object Info Palette. 3. You can write you own Plug In Objects in VectorScript (or using the SDK). This will give you the best of the two worlds above, but will required substantial time and a steep learning curve. Pat
  10. Pat Stanford


    The second parameter is the number of items you want to sort. In your case, you probably want to do something like: SortArray(ClassArray,ClassNum,1); Pat
  11. Pat Stanford

    Help, all my lines are curvy

    Check out this thread from last week that talks about the same issue. Pat
  12. Pat Stanford

    How to split a wall horizontally?

    I just posted a short Quicktime movie showing the use of the 3D reshape tool to "Notch" the walls around a window that needs to cross multiple walls. You can download the movie from the Vectortasks website. I hope this helps. Regards, Pat
  13. Pat Stanford

    Line arrows

    In VW12, go to the Tools Menu:Options:ArrowHeads... You can set 7 different arrow head styles. They can all be variations on a single style (filled triangles) or very different styles like in the default set. You can also adjust the angle and size of each of the 7 to be different. You probably want to make these changes early in the life of your file, as changes do not effect arrow heads on objects already in the drawing. Pat
  14. Pat Stanford

    select by color script - what color is that?

    If you select one of the objects, you can see in the Object Info Palette where in the polor palette the color falls. This will let you use the color picker in the Custom Selection dialog box to pick the same color. If you want to manually edit the script and change the color numbers, you need to dig a little deeper. The information you want is in the VectorScript Appendix of the on-line help. Select Help from the VectorWorks Help Menu. Select VS Function Reference. In the Right hand window click the link for the VS Function Reference.html. This will open a new browser window. In the top left pane, select Additional Resources, then the in bottom left pane select VectorScript Appendix. Once you get to the appendix, scroll down until you see the color chart. Each cell in the chart has the reference number that you need for the script. Pat
  15. Pat Stanford

    How to split a wall horizontally?

    Another way to deal with a split wall situation is to use the 3D Reshape tool and "Notch" the walls using the Add Wall Peak option. In the lower wall, add 4 peaks to the top of the wall and use them to lower the area around the window. For the upper wall add four peaks to the bottom of the wall and use them to raise the area around the window. This can also be a useful trick around doors is you must eliminate the "wall lines" across the bottom of the door. Pat
  16. Pat Stanford

    Line Weights - help please

    Are you talking about on screen or on your printout? I find that a 1 mil line on my 600 DPI laser printer is almost unreadable. If I fax the printout anythin less than about 12 points has a great chance to be lost. If it is on screen go to the Preferences and turn on the Zoom Line Thickness option. This will show the actual set line thickness as you zoom in. This will give you a better idea of how the printout will look. Remember, the screen has a resolution of between 1/72 and 1/100 inch. Anything less than about 30 point / 0.3 mm will be shown as 1 pixel on screen greatly overestimating their weight at a 100% zoom. Pat
  17. Pat Stanford

    Class and Layer: a beginner's question

    I have not read all of the previous threads, but let me take a shot at this. Every object in VectorWorks has both a Layer that it is on, and a class that it is in. If you start a new document and don't change anything, objects will be drawn in the None class and on a Layer called Design Layer-1. Layers and classes have both similarities and differences. Let's talk about Layers first. Each design layer can be given a different scale. I like this because it allows me to draw and assign line weight that are more likely to be appropriate for the output size. Layers can also be given Z (vertical) heights so objects can be set up to stack in a 3D view. This is also very useful in an artchitectural use to allow you to reference door and window heights to a local "zero" point. You can assign each floor a different Z-height. Then when you put the windows in on the third floor, you can just set the sill height to be 3'6". It will automatically be placed at 3'6" above the layer zero point. No calculating the heights of the first and second floor to get it right. Layers can also be assigned a color. If you then turn on layer colors in the Document Preferences, all objects on each layer will display using the color of that layer. This can be very useful to make sure things are where you want them. By using Layers, you can draw objects that overlap in the proper orientation instead of spreading them out across the drawing. What do Layers and Classes have in common? The can both be used to control visibility of objects. You can set a Layer or a class to be visible, invisible or grey. If either the Layer or the Class of an object is set to invisible, the object will not be seen in the drawing. Layers and Classes can also be used for Selection. You can set Layers and Classes to Show Active Only, Grey Others, Show Others, or Show/Snap/Modify others. Depending on the options you choose, you can pick certain parts of you drawing to select and modify the objects. What do Classes have that Layers don't? The biggest capability that Classes offer is the ability to assign attributes (colors, hatches, line weights) to objects that are in a given class. That way when you change the attributes of the class, all of the objects can be changed at the same time. Classes also provide a way to identify objects across multiple layers. So an Architectural example. Let's draw a three story building. You are probably going to want to have 5 Layers for the model. Basement/Foundation, First Floor, Second Floor, Third Floor, Roof. If you want to use a single file for both the model and documentation, you will probably want several more layers for Title Block, Notes, Details, Elevations, etc. Classes in an architectural use would be used to set the type of object. Some types would include Furniture, Plumbing, Electrical, Floor, Moulding, etc. In some cases where you want to have different types of flooring, you might end up with multiple Flooring Classes (i.e Tile, Linoleum, Hardwood, Carpet1, Carpet 2). You might also want to have classes for notes or objects that should not be seen everywhere (Objects that only show in the Reflected Ceiling Plan should be in classes that can be turned off when you are looking at the plan). If you want to use the worksheet capability to count specific types of objects, classes are a great way to do this. Put the fancy carved columns into a class and then use the worksheet to count the number of objects in that classs. Layers and Classes work together to allow you to specify what part of a model you want to see and how it will be look. They both apply to both 2D and 3D objects, so there is no differentiation there. One object two categories it can belong to. Both effect what is visible and what it look like. As said in the earlier threads. Layers are where an object sits, Classes are the type of object it is. I hope this helps. Pat
  18. Pat Stanford

    Where has the Align Layers option gone

    In my 12.5.2 I do have Align Layer Views available in the Workspace editor. You might want to check again. In the left hand column select the All Menus section and scroll down. It is arranged alphabetically. Align Layer Views is there. I do have Designer, so it is possible that it is not in Fundamentals, but If you have it in Spotlight, (is this the same install of VW?) then you should be able to add it to any other workspace you create or modify. Pat
  19. Pat Stanford

    Trouble moving doors & windows

    When using the mouse to move a door or window or symbol in a wall, make sure that your mouse pointer is inside the wall when you release the mouse button. The object will then remain "in" the wall and the wall breaks will remain. If your pointer is outside the wall, the door or window will "pop" out of the wall. Pat
  20. Pat Stanford

    Keynote Legend Numbering

    I don't think you can do it the way you are trying to. The Keynotes are kind of dumb and will only allow you to use them on a single layer. This means that each layer will have to have it's ownKeynote legend (starting at 1). Since the viewports are on a single sheet layer, you can only have a single legend. Could you add two new layers to the document and put your keynotes and legends there? Then you could turn the appropriate notes on for each viewport? Anyone have a better way? Pat
  21. Pat Stanford

    right mouse button assignment

    In the Workspace editor, under the Menus tab, the bottom two items are labeled "Document Context" and "Object Context". You can change what are in those menus to change the Contextual Menus (which are what come up when you right click). Pat
  22. Pat Stanford

    Total length of lines

    You can do this with a worksheet fairly easily. Create a new worksheet and create a database row. For the criteria, Click More Choices so there are four rows. Set each of them to Type is and in the last column select Line, Circle, Arc and Oval for each one. In the database header row first column type =T, In the database header row second column type =Length. The second column should now show the total length of each object and the header row should show the sum of all the lengths. Create a second database row. For the criteria put in two rows and set them to be Type is and enter Polyline and Polygon for the choices. In the database header row first column type =T, In the database header row second column type =Perim. The second column should now show the total length of each object and the header row should show the sum of all the lengths. In another cell (preferably at the top of the worksheet type in = and click the first total. then type + and click in the second total. This cell will now give you the overall total length of all your objects. If there are other object types that I have forgotten, try adding them to the two database criterias and see which one give the proper answer. If you need to limit the objects selected more, you can edit the criteria to only do objects on a certain layer or in a certain class. I hope I have made this clear enough. Pat
  23. Pat Stanford


    If you are looking for Wall Styles that are in the resource browser of the current file take a look at LongInt1:=BuildResourceList(127,0,'',LongInt2); LongInt1 will be the Id Number of the resource list. 127 is the identifier for Wall Styles. (not in the manual. Determined by brute force). After you have built the resource list, you can get use GetNameFromResourceList to get the names or GetResourceFromList to get a handle. If you are trying to find the wall styles actually in use in the document, you have two options: 1. Build an array of the wall style of every wall, and then loop through that to throw away the duplicates. 2. Purge Unused Objects first to eliminate the exta wall styles and then use the Build ResourceList as above. It would be helpful for you to provide a little more detail on what you are actually trying to do when you post these requests for help. Very open ended queries like this are often ignored because no one understand exactly what the question is, so we don't always know how to answer. Tell us what you really are trying to do and you will often get more potential options. Pat
  24. Pat Stanford


    Well, I just subscribed using a Yahoo.com address. It is a three step process. 1. Sign up for a password and confirm it. 2. Sign up for the Vectorscript list and confirm it. 3. Search the Archive 4. (if you don't want to get the mail) go the the Subscribers Corner and change your settings to No Mail. Pat


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.