Jump to content

Two Questions about setting up Graphic Legends / Worksheets


Recommended Posts

I am trying to set up a graphic legend for my wall types.  I understand that the default legend counts walls that have been assigned a wall style.  I would like to set up a graphic legend that identifies walls with a certain mark.  Or maybe even only walls that have a mark.    Why do walls not show up in the "Field Value" list of options? 

 

52763660_ScreenShot2023-01-27at3_24_12PM.png.f116cb779bbf5da677f00d4be1eac93f.png

 

 

My second question has to do with counting objects on layers.  From the pulldown menus, the defining Criteria can only be "All" or "Any""Is" or "Is Not"   If I wanted to count something in two Layers, is there a way to say, only look for objects on this and that layer?  One way to get around it is to exclude all the other layers, but that is cumbersome.  I'm not super code-y.  So maybe I am not thinking about things the right way.

 

1009760094_ScreenShot2023-01-27at3_18_50PM.png.56640e82542159e1f7171b69e7966c8f.png

 

 

 

Link to comment

Answering the simpler, second question first.

 

The ANY and ALL make sub-groups in the logic. Notice that items under the ALL in your screen shot are indented. You can use the ADD button to add a ANY/ALL just like you can to add a different criteria. And then you can drag them up/down to get what you want.

 

After the ANY and ALL groups are calculated, the group results are then ANDed together to get the final output.

 

So something that looks like:

 

ANY

    Layer is Layer-1

    Layer is Layer-2

ALL

   Class is Dimension

 

Would be equivalent to:

 

(Layer is (Layer-1 OR Layer-2)) & (Class is Dimension)

 

In English this is  Everything on Layer-1 or Layer-2 and whose Class is Dimension.

 

Ask again if this is not clear enough.

 

HTH

 

  • Like 1
Link to comment

Thank you for your patience, Pat.  Your video is super helpful.  I have two more questions. 

 

 

1.  Why would doors show up from layers that are not in the above set?  Doors are coming into my worksheet from a layer that is is not specified...

 

 

2013206432_ScreenShot2023-01-27at5_49_37PM.png.06fd036104f5aa2a01d91928fa6f0d9f.png1153340776_ScreenShot2023-01-27at5_44_45PM.png.ca88e69a9816867216da3b973ed473bb.png

 

 

2.  Why would my worksheet include 1082 blank cells.  By the logic above I would imagine that we would be reducing the number of objects in the selection set.

 

445336273_ScreenShot2023-01-27at5_47_02PM.png.4467eb4129ec4bdaad303816488de590.png

 

 

 

 

 

 

Maybe this is just what I am used to, but the old way of making this felt a little more intuitive.  It was also much simpler.

 

Screen Shot 2023-01-27 at 4.52.30 PM.png

 

Edited by cberg
Link to comment

Notice the ALL Criteria is indented making it a part of the upper ANY criteria. So it is saying return Anything that is on Layer 1 OR Layer 2 OR is a Door AND On Schedule.

 

You need to have both the ANY and ALL at the same indent. I think you need to have an extra ANY or ALL as a wrapper to do this.

 

image.png.50594608e7306b91665eefd9eeec7a5e.png

 

So this one is saying return ANY object and Layer 1 OR Layer 2 AND has a Type of Door AND is On Schedule.

 

Those last two are actually a little duplicative.  Since the On Schedule Field is part of the Door Record, it will will not exist for anything that is not a door.

 

But there is really nothing wrong with listing them both. It might make later troubleshooting easier since the Window object also has an On Schedule field.

 

Hope this is enough to get you what you need.

  • Like 1
Link to comment

And now back to your first question that took more research.

 

You can't access Wall from the Record/Field pull down because a Wall is a Vectorworks Primitive, not a Plug-In Object and therefore it does not have a Plug-In Record.

 

You can attach a custom record or use an IFC record and then use that as part of the criteria. And (I think) you can use the Data Manager to automatically transfer a value from the Door information into either the IFC or custom record format so you can access them in the criteria builder.

 

That is about all I know about it at this time.

 

Good luck.

  • Like 1
Link to comment

Thanks Pat!

 

I was able to find a workaround.  I appreciate your sleuthing! 

 

I wonder if VW is "modernizing" the wall tool and at some point it will have Plug-In Record data.  A quick look reveals that slabs have record data.  Roof / Roof Faces do not.  In terms of its taxonomy, what exactly is a Vectorworks Primitive? 

 

(Some days, primitive is my preferred adjective for the wall tool. 😄)

 

 

Link to comment

"Primitive" is my term. I don't know what VW refers to them as.

 

Basically there are a few objects that seem to be hard coded into the core of VW and these objects support the ability to build higher level objects on top of them.

 

So to me, Walls, Roofs, Dimensions, Circle, Arc, Rectangle, Polygon, Polyline, Solid Addiiton/Subtraction/Intersection, NURBS, etc. are all primative objects. Unless there have been specific Vectorscript functions or Worksheet functions made available to access these objects there is very little you can do to them outside of the standard tools and menu commands.

 

Other higher level objects are Record/Style based (Door, Windows, Slabs, etc). These are much easier to manipulate via script because you can usually access even more through a script than you can via the menus and tools.

 

HTH

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...