Jump to content

michaelk

Moderator
  • Posts

    6,398
  • Joined

  • Last visited

Posts posted by michaelk

  1. Interesting factoid about cabinet objects.

     

    If the drawer door type is Shaker Frame then the frame is drawn at the Door/Drawer Thickness in the OIP,  but the panel is 3/16".  I don't see any way to change that.  

     

    So you could search for extrudes of the door/drawer then use =LENGTH, =DEPTH, =WIDTH.

     

    =LENGTH will return the thickness of the door panel.  The other two will be the dimensions of the panel.

     

    If the door/drawer is one of the shakers the panel is only between the frame, no inset.  The other dimensions are the frame or panel dimensions.

  2. Yes.

     

    Probably.

     

    Mostly.

     

    Here's an example on slab doors and drawers that actually works.

     

    To make it work:

    1. Put the doors and drawers in a class.
    2. In the criteria look for extrudes in that class.  Include objects that are part of Plug-in objects
    3. Get the volume of those extrudes.  Divide by the thickness of the doors.
    4. Do any necessary foot/inch math if using imperial units.
    5. Sort by area.
    6. Summarize by area
    7. divide the count by 3

    That's kind of weird.  The cabinet tool makes 3 duplicate doors and drawers.  At least with slab doors and drawers.

     

     

    Door Area.vwx

  3. As far as I can tell the topRangeSubrow and bottomRangeSubrow always return 0 no matter what when using GetWSSelection.

     

    I'm able to select cells using 0 in those values.  If there are subrows it always selects the header row.

     

    currentCellRow and currentCellColumn should be in the range of the topRangeRow,leftRangeRow,rightRangeRow,botttomRangeRow

     

    I've found that it may let you set (1,1,10,3,0,14,7,0) but you might be force quitting Vectorworks soon after.

     

    The only way I can see that a user could select a range of rows with a mouse would force currentCellRow,currentCellColumn to be equal to either topRangeRow,leftRangeRow or rightRangeRow,botttomRangeRow.  

  4. Classes and Design Layers are independent.

     

    It might help to think of it like this:

     

    Design layers are like stackable sheets of mylar in the old days of drafting.  You can change the stacking order of them and that will determine what stacks on top of what.

    Classes are used to control visibility of objects AND graphic attributes.  Classes are in alphabetical order.  The order cannot be changed.  They have nothing to do with stacking.

     

    So in a typical architectural project you might have separate design layers for the first floor, any roof that covers only the first floor, the second floor, the second floor roof, etc.

     

    But you might have a plumbing class that controls the visibility of all the plumbing fixtures as well as the line weight, line color, fill color.

     

    The short hand advice is usually:  Use a design layer for where it is.  Use a class for what it is.

     

    Check out the university for some examples.   https://university.vectorworks.net

     

     

     

    • Like 2
  5. I got the same thing.  I tried to create a new label legend (there were none in the drawing).  I was able to start the process of creating the Label Legend, assigning fields to include, but I couldn't assign any containers.  It failed when trying to set the legend layout.  I noticed your container symbol folder was empty.  Not sure what that means.

     

    I grabbed a random fixture out of one of my light plots and copied it into your drawing.  The lighting device pasted with all of the rectangles that you would see in the LLM set layout dialog.

     

    That label legend came into the drawing and after that I was able to create new label legends.

     

    After that the container folder had container symbols - even symbols that I didn't use in my label legend.

     

    Seems like it just need a swift swat in the side of its head to reset it.

     

     

    Artesian 3D Vectorworks Drawing 2023 Base Plot v2 v2024~.vwx

    • Like 2
  6. Welcome to the forum.

     

    I've not seen this before.  I wonder if the missing symbol is a Label Legend?

     

    Do you have any working Label Legends in the drawing?

     

    If you need a solution right away you can post a file here with a bunch of lighting devices or send it to me in a PM and I'll take a look at it tonight.

  7. 3 hours ago, Jayme McColgan said:

    @michaelk you can't do vs.RectangleN(-12",-12",0.03,0,24",24") in python... I would have to convert all those values to a string first and that defeats the purpose of all this... lol

     

     

    I did not know that.  What a bummer.  

     

    Learning this is just going to delay my inevitable switch to python 🙂 

  8. If the text flag is odd, then the dimension is centered and above the line.

     

    If the text flag is divisible by 2 - but not divisible by 4 - then the dimension is immediately to the left if negative and right if positive.

     

    If the text flag is divisible by 4 then the dimension is offset by the text offset value to the left if negative and right if positive.

     

    I don't see any way to make the text offset vertically.

×
×
  • Create New...