Jump to content

Pat Stanford

Moderator
  • Posts

    12,671
  • Joined

  • Last visited

Everything posted by Pat Stanford

  1. Edit the criteria of the worksheet to only show the symbols on the design layer. Worksheets by default count not only the original symbol instance, but also the "images" of the objects in viewports.
  2. So the group must be INSIDE one of the symbol definitions. That makes it harder to track down as worksheets can only see objects that are actually in the drawing. I don't have time to write a script to look inside all the symbols today. VW requires that names are unique throughout all the objects in a drawing. You can't have two objects even of different types that have the same name. Best I can offer right now is to look through your other symbols that are similar and see if they contain a named group. As you probably know, the name is displayed at the top of the Data pane of the Object Info palette. Another option would be to place an instance of each symbol (there is a script I wrote for doing this floating in the Resource Share - Vectroscript forum somewhere. Then convert all the symbol instances to Groups, then do the worksheet thing. Good luck.
  3. A group is not a resource, so you are not going to find the group that way. I would create a new worksheet, Right click in a Row Header (i.e. 3) to make it a Database row with a criteria of All Objects (at the bottom of the list). Set the formula for column A to =N You will now have a list of all the objects in the drawing with their name shown. Drag of Sort tile (Increasing blocks of decreasing blocks) to the Column A Column Header. This will make it easier to find the name you are looking for. Scroll down until you find the name you are looking for. Right click in the subrow header (i.e. 3.1) and choose Select Item. You will now have the item with the name of concern selected and you should be able to find it and figure out what it is and where is came from.
  4. And you used to have to restart VW after adding default content. I think that requirement MIGHT have gone away, but it is worth trying.
  5. Try taking the Ampersand "&" out of the file name. .lck files are normally created invisible and are there to prevent (lock) the file so that multiple people don't open them at the same time. The only time I usually see them is if I have a file crash while the .lck is still present. I normally try to not use punctuation in file names other than dash (-) and underscore (_) Slashes and periods are especially dangerous as they set the path and extension.
  6. I have not read Dom's note in detail, so this is probably duplication, but my understanding of how the Control Geometry works is as follows: you can have one and only one object in the control geometry that is passed into a Marionette Object, but that one object can be a group. If you pass a group, then you can control the order that the objects in the group are processed by changing the stacking order. If you pass the Control Geometry group into a Contents node, you will get a List of the objects. If you then pass that to a List Explode you can get each of the individual objects as output nodes to use as you need in your network.
  7. Three uestions: 1. Do you enjoy working with PC's and digging for information on drivers, interrupts and misc details of the operating system? 2. How highly do you value your time? 3. If you are coming from the Mac side are you talking about building a Windows machine or a Havkintosh? If you have never built a machine before, you need to be prepared for what could be a lot of extremely detailed trouble shooting with minimal vendor support on the integration. To do the research on the parts to use, the best place to purchase, to do the actual build and install the software, you are talking about a lot of time. Windows sort of supports custom built machines. Apple does not support (or actually allow under the licensing agreement) the building of non-Apple hardware. My estimate is that you will spend 10 to 30 hours building your own machine including research and trouble shooting. After that you still have a machine with basically no vendor support or warranty that you will have to support for its life. In my opinion, unless you want to make building machines your new hobby, you are much better off buying.
  8. Grab the bottom right corner and drag it, the same way you would resize any window. It is a little persnickety since there are only a few possible "shapes". Drag up and to the right, probably farther than you think you need to and it would give you what you need.
  9. In the dialog box for New Class creation (and I assume the layer dialog box also), there are pull downs for Saved View Visibility for New Class(es) and Viewport Visibility for New Class(es). By default these are set to Invisible. After you change them they are sticky and should keep the last setting used. Set to Visible or Grey and the new class will show up in all the saved views or viewports.
  10. A Published pdf from VW2016 has text that is editable in Adobe Acrobat Pro. A pdf created using the Mac Print to PDF function has text that is not editable. I don't think Word has the capability to edit PDF documents, so you are not going to be able to edit the text in the PDF in Word no mater what the source of the PDF. How often is this going to change and how much text is there? If there are only a few text blocks that won't move around, you could import the PDF into Word and then then create Text Blocks in Word to cover the text from VW. Those would then be editable.
  11. Check the settings for the viewport in the Organization dialog box (Command-Shift O in the standard workspaces). Click the Visibilites button at the upper right. Select the Viewports pane and then your viewport in the left column. Check the center column and make sure all of the proper classes are set to be visible in the viewport. Check the right column and make sure all of the proper layers are set to be visible in the viewport. Classes and Layers that are created AFTER the viewport is created are often set to be invisible in existing viewports. You can change this option, but often this step gets skipped. Or you only want the new layer/class to show in a single or few viewports but not all.
  12. So for a dynamic report that will reset every time you Recalculate the worksheet, you should be able to set your database criteria to be something like: Record 'MyCustomRecord' is present Selection State is Selected. The formula for the weight column will be something like: ='MyCustomRecord'.'MyWeightField' The header row of the database will then display the total of MyWeightField for each of the selected objects. If you want something slightly more permanent, you could add an extra field to 'MyCustomRecord' called 'MyGroup' or whatever name you want. Make it text (or a number) and manually enter the group that you want the object to be a part of. You could then generate a report and SUM it based on the group to get a total of all the objects in the group. Or you might want to take a look at Sam Jones Autopilot tools for Spotlight. It might already have something similar already done. http://www.autoplotvw.com
  13. Not going to work completely. A long time ago someone from VW (I don't remember who or where) told us that the wall hole code uses something that I believe is called a "Convex Hull" to make the opening for an inserted symbol. Think of it kind of like a rubber band stretched around the object. The "undercuts" at the base of the spade are not going to be properly filled by the wall. This is not a Marionette problem, but rather a Wall problem. EDIT: Here is the original thread about Convex Hulls
  14. You can set a report to show selected items only, but as with all worksheets, it will not be live, you will need to recalculate the worksheet to see the items that are currently selected. Also, you will need to use the worksheet directly and not the Create Report menu command. Set up a database row and for the criteria scroll the the bottom of the list and choose Selection State is Selected. The bigger question is what do you want to show about the selected objects. Since you could have different types of objects, you either need to choose a very small subset of information about the objects or you will need to use a lot of columns to handle the information from different types of objects. You can certainly use the standard object information that belongs to all objects. Things like: =L {Layer} =C {Class} =T {Object Type} You can probably also get the position of the objects. What you won't get easily is the object parameters. When you have object with different "basic" data (Circle/Arc has radius, rectangle does not), you will either have to get really fancy in your functions or accept blanks rows. Let us know more about what you are really trying to do and perhaps we can offer more insight in how best to proceed.
  15. No limit on the VW end that I know of. It is possible for a mostly vector PDF to contain some image content that would not show up after an ungroup. Are those rectangle you see Groups? Could they be extra "page" rectangles that are hiding more content behind them? Grasping for ideas here.
  16. Take a look a the Notch Walls Round Windows movie at: http://www.vectortasks.com/Movies/Movies.html for one way to do it.
  17. I don't think you can make that work. The way you put a record value into a cell is via a formula. The way to get the data you want into the cell is via a formula. I don't know of a way to force two formulas into a single cell (column). What about putting a second column with the formula next to the column with the record data. You could then copy/paste the entire row of calculated values into the column for the record to update. But it would be a manual process.
  18. Select the worksheet and open it for editing. Select the cells you want to change. From the worksheet menu bar choose: Format:Cells:Number Set the format to what you need
  19. The first SUM tile you add will SUMMARIZE the database by that column. Each Additional SUM tile that you add will "UnSum" that column and give you the "average" of all the values that are SUMMARIZED in that row. If they are all identical, you will get the value you are looking for.
  20. I just posted something that might be useful over in the Vectorscript Resource Share forum. https://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Number=218982Post218982 That script will change all of the objects in the symbol definition of a selected symbol to ByClass. HTH.
  21. This script was written based on a query in another forum: https://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Number=218975#Post218975 Procedure SymbolContentsToByClass; {If the selected object in a drawing is a symbol, it locates the} {symbol definition and converts all objects inside the definition} {to use the ByClass option for all attributes} {November 6, 2015} {© 2015, Pat Stanford pat@coviana.com} {Licensed under the GNU Lesser General Public License} {This has only been lightly tested. I recommend that you use this on a } {copy of your primary file. No warranty expressed or implied. Use at} {your own risk. Do not operate heavy machinery while using this script.} Var H1, H2, H3: Handle; SymDefName: String; Begin H1:=FSActLayer; If GetType(H1)=15 then Begin SymDefName:=GetSymName(H1); H2:=GetObject(SymDefName); H3:=FinSymDef(H2); While H3 <> Nil do Begin SetLSByClass(H3); SetLWByClass(H3); SetMarkerByClass(H3); SetOpacityByClass(H3); SetPenColorByClass(H3); SetFPatByClass(H3); SetFillColorByClass(H3); H3:=NextObj(H3); End; End; ResetObject(H1); RedrawAll; End; Run(SymbolContentsToByClass);
  22. Here is a way to do it. I have not figured out exactly why this works, but it seems to if you follow it exactly. You can use an IF statement in a database criteria. You can also use a SubString Function in the "False" part of the IF statement. I have not been able to make SubString work in the "True" part of the If statement. So, you should be able to manually type in a criteria similar to : =DATABASE((IF(FALSE, L='', SUBSTRING(L, '_', 1)='P'))) That will give you all the objects that are on layers that start with a single P followed by an underscore. You can't do this using the standard criteria builder. You will have to put in some standard criteria using the criteria builder and then Edit the criteria. Click the Cancel button on the dialog builder and the criteria will still display in the Formula bar. You can then click into the formula and edit it manually. After that every time you try to edit the criteria you will get a dialog message telling you that you can't edit it with the criteria builder and will have to edit it manually. I recommend that you develop your criteria using a single layer and then just go through and edit it for the multiple layers at the end of the development process.
  23. If you have not redrawn them all yet, try selecting all the dimension, changing the Dim Std (in the OIP) to something else then changing it back to the custom standard. Or if there is not a custom standard, create one (in Document Preferences, Dimensions, Click the Custom button) and then assign that to all of the dimensions.
  24. What is the question. There is a Duplicate Array command in the Edit menu of the standard workspaces. Does that not do what you want? What do you want to do?
×
×
  • Create New...