Jump to content

Hello Community!

This Saturday, April 11, from 9am – 1pm EDT we will be performing maintenance on the Vectorworks Community Board. During this time, the site will be unavailable.

Gerard Jonker

Member
  • Content Count

    186
  • Joined

  • Last visited

Posts posted by Gerard Jonker


  1. Hi Andrew, Indeed, usually you want new Layers to be invisible and new classes to be visible in all existing viewports and Saved views. The dialog doesn't follow the general logic, which is a pity but we can correct for it. However, most om my new classes are not created new in the current document but instead they come along with copy and paste from older projects. These pasted classes are all set invisible. Such a shame.  At least we should get a question about that when pasting objects with classes new to this document.

     

    a bit more than 2 cts,

    Kind regards,


  2. Among my clients there were many who Used to set up their files in such way that you needed merely changing the active layer to have another drawing in sight.

    The command "Create ViewPorts from DesignL" assumes your LayerOptions to be set correctly, Then it flips through the DesignLayers and creates a ViewPort on a new SheetLayer for each new actively Layer. Some of these VP's maybe maeningless (only showing grid and Title border) but all other VP's should be useful.

     

    Enjoy.


  3. -Install the plug-in "Create ViewPortss from Views". See movie in the link below.

    -After installing run the command in a file with Saved Views.

    -A dialog pops up asking if you want each ViewPort an a new SheetLayer

    -Check your SheetLayers.

     

     

    The youtube movie is about a tool, in this case it is a menu command.

     


     


  4. @HEengineering I noticed I gave this command already a try in 2006. This time I managed to get a working version. Although not perfect (no perspective and no render info). It should do for 2D work and simple isometric views. How to know it is a view and not a script? I checked the name of the palette:  "Saved Views".

    Please give it a try. There are two plugins. The one you asked for and one with a little twist. I hope it helps you through the bulk of your work.

    Download address: https://www.dropbox.com/s/5ady3rx2kxn2kul/Create_ViewPorts_from_.zip?dl=0


  5. Set your Design Layer to a scale more or less matching your viewports. IAC not 1:1. I use as my standard scale for most of my project 1:50 in the Design Layers now the scale factor to my viewports is not too huge to get all nasty moving of of text and other ill effects.

     


  6. There is a little tool called "Hide Class". Install it in your Vectorworks. Then click on objects who's class you want to hide. Then all those classes are hidden.  To show them again you option click in the Organze: Classes window on the column with the eye.

    If you really want to use that single class Idea then you could quite easily change the script and replace "getclasse" and "Hideclass" lines  with

    SetClass(h,'00_off');

    Have fun

    Hide Class.vst


  7. 15 hours ago, markdd said:

     

    Question: is there not a way to select the first object of the current selection ?

     

    There is no Super-Selected state. An object is either selected or not.

    I don't think you can traverse through a list of selected objects by script AND change the focus of the OIP to the next object.


  8. I don't think you can traverse through a list of selected objects by script AND change the focus of the OIP to the next object.

    I had to have only one object selected, having the others deselected would mean the script would then also slect objects that were not of interest so that is why I had him isolate the problem.

    14 hours ago, Pat Stanford said:

    Could you use a worksheet to accomplish this? If you are changing a bunch of values to be the same, you could copy it once and then select the range to past into and change them all at once.

     

    That would be the right answer if Mark was editing Record fields:

    - Menubar: Tools: Report: Create Report...

    - have it list object with a certain record

    - Add the fields of interest

     

    The worksheet also uses the stacking order (unless you sort the columns)

    You can not paste directly from the clipboard to multiple cells, unless you first copy the value of one cell.

    Unfortunately Mark is editing the Y values and you can't change those through the worksheet.

     


  9. I think you should:

    0: move your objects to an empty layer and  Deselect all.

    1: Run your first script: setselect(factlayer);

    2: Do your thing

    3: Run the second script: setselect(nextobj(fsactlayer)); setdselect(fsactlayer);

    4: Do your thing

    5: repeat steps 3 and 4 until you reach the last object.

    6: Bring every thing back to the original layer

     

    Explanation:

    setselect(factlayer); Selects the First Object on the active layer;

    setselect(nextobj(fsactlayer));  Selects the next object from the First Selected Object {Don't miss the "S" here}

    setdselect(fsactlayer); Deselects the First Selected Object, there for, in the next run, the object that was the next object will now be First Selected Object.


  10. Hi Will,

     

    I added multi Layer support.

    Just found out in VW 2018: You only need to use my Check Solids command if you edit your symbols by double clicking them in the layer. If you edit your symbols through the Resource manager it will update all solids using that symbol.

     

    I noticed I'm using a top down search in this script. Normally I would start factlayer (first object on active layer) to start a search, but I used Lactlayer. That means checking solids will change the stacking order. If you change the stacking order you have to be careful using ForEachobject-xxxx calls as they also run from first to last. If each object you check is placed at the end of the list you may never stop, unless you build in an extra check for that. A simple handle check might be enough, but needs testing.

     

    Check_Solids.vsm.zip

     

    Have fun,

    Gerard


  11. 23 hours ago, willofmaine said:

    @Gerard Jonker  Okay!  I got it to work.  I just dragged the .vsm file into the Vectorworks Plug-Ins folder in Application Support and restarted Vectorworks.  Then I used the Workspace Editor to add it to the Model menu.  Does the warning that not all solids may be "intact" refer to the "impossible to compute" geometry that you describe in your post?  It seems this only updates solids one layer at a time.  Could it be made to do all layers, or, would that slow it down considerably?

     

    "intact" indeed refers to "impossible to compute". It was a problem that I ran into a lot when changing form VW version 2009 to 2010 (I think it was) So I included that warning.

    There is a ResetObject(h); function you can call. However, it didn't do what I expected it to do when I wrote the script. It might now.

    Checking solids inside symbols that might be using other symbols.... It hadn't occurred to me one might want that.

    The number of layers is hardly an issue, most time goes into the shear number of objects to check.


  12. Same problems here:

        https://www.dropbox.com/s/c923j16cvy1hnnd/GlasVoet.mov.zip?dl=0    2.5 MB download

    The VW file concerned:

        BHH 3D glas pilaar 308 v2018.vwx.zip

     

    OSX 10.12.6

     

    Model Name:    Mac Pro
      Model Identifier:    MacPro6,1
      Processor Name:    Quad-Core Intel Xeon E5
      Processor Speed:    3.7 GHz
      Number of Processors:    1
      Total Number of Cores:    4
      L2 Cache (per Core):    256 KB
      L3 Cache:    10 MB
      Memory:    16 GB
      Boot ROM Version:    MP61.0116.B46
      SMC Version (system):    2.20f18
      Illumination Version:    1.4a6
      Serial Number (system):    F5KSJ0NSF9VN
      Hardware UUID:    279633DA-F8D2-5990-8675-51CFD8A6B064

     

    AMD FirePro D500:

      Chipset Model:    AMD FirePro D500
      Type:    GPU
      Bus:    PCIe
      Slot:    Slot-1
      PCIe Lane Width:    x16
      VRAM (Total):    3072 MB
      Vendor:    ATI (0x1002)
      Device ID:    0x679e
      Revision ID:    0x0000
      ROM Revision:    113-C3861J-687
      Automatic Graphics Switching:    Supported
      gMux Version:    4.0.11 [3.2.8]
      EFI Driver Version:    01.0D.687
      Metal:    Supported


  13. Check Solids.vsm.zip

     

    This is a Plug-in menu command that doesn't reset the solids but actually enters them like you would do manually.

    When you are working on an older file some solids that were fine to create in an older VW or because of your change in the symbol, may now suddenly be "impossible to compute" so always keep a saved version or backup file before running this command.

     

    Have fun.

    P.S. It is an 18 yr old command (funny how you forget VW doesn't have a solution for this if you have one yourself). It uses an old technique to run through the document. I'll see if I can speed it up a bit by using foreachobjectinlayer, sometime, not today.

 

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