Jump to content

Worksheet/Door Schedule Ordering


TomDK

Recommended Posts

Hi all, 

 

I feel a bit silly asking this question as it should be fairly simple... Perhaps it is because it is Friday and my brain has already left the office for the weekend! 

 

I am in the middle of creating a door schedule. Our door number system is as follows: D.01.01 (door.first floor.door number). The building I am working on has a basement, lower ground floor and upper ground floor (I am based in the UK for the Americans who call first floor the ground floor) and therefore the numbering system uses B for basement, LG for lower ground and UG for upper ground. 

 

All good on plan and it makes sense. However I am having an issue when it comes to creating the door schedule. the Lower Ground Floor keeps being placed above the Basement Floor. Is there a way I can switch the two so that it runs from Basement, Lower Ground, Upper Ground etc. 

 

Screenshot attached to hopefully make sense of my ramblings! 

 

Thanks!

Screenshot 2024-11-08 at 14.06.02.jpg

Link to comment
  • Vectorworks, Inc Employee

@TomDK Your prefix of '-01-', etc. to the floor name is the culprit. It's sorting based on that prefix. Have you considered changing that?

 

Otherwise another possibility would be to create 3 database rows, with each looking only on the floor you want it to display. You could then show the information in any order that you want.

 

Hope this helps as a possible solution for you.

Link to comment

Hi Kevin, 

 

Thanks for the speedy reply. I was thinking that would be the case.

 

The strange thing is, that logic doesn't seem like it follows through completely? If the prefix '-01-' comes before '-02-, that means the minus part of the prefix is ignored. And therefore the -01, -02 ordering is kept. But if that was the case, surely 00 would then come first rather than after the two lower floors. 

 

Perhaps I'm just completely over thinking it!  

 

Strangely @Tom W. that wasn't working either. 

 

I have however managed to force it to order as I want  by adding an asterisk to the start of my Basement Level layer name (which is the first column) and then hiding that column.  

Link to comment
  • Vectorworks, Inc Employee
8 minutes ago, TomDK said:

The strange thing is, that logic doesn't seem like it follows through completely? If the prefix '-01-' comes before '-02-, that means the minus part of the prefix is ignored. And therefore the -01, -02 ordering is kept. But if that was the case, surely 00 would then come first rather than after the two lower floors. 

 

You're sorting in ascending order, and the dash takes precedence over the number. It is not ignoring the dash.

Link to comment

If your layers are set up to list properly, then I would add a column to show the layer, and list in ascending order using the layer name, or part thereof.

 

If you have a logical cad standard and a consistent way of naming layers, and for example, the floor is always in the same place in the layer name and you use the hyphen as a separator, then you can use the formula

 

=substring(L,'-',n) where n is the position of the floor indicator in the layer name, e.g.

 

If the layer was

 

00-Something

 

the formula =substring(L,'-',1) would result in '00'.

 

In fact the '00' in the door number can come from the layer name if you use

 

=concat('Door'.'IDPrefix','.',substring(L,'-',1),'.','Door'.'IDSuffix')

 

This would give you

 

D.00.001

 

i.e. door on layer '00' using the door prefix 'D' and suffix '001'.

 

It can even be linked to the room too, although that's a bit more tricky if the door straddles two rooms.

Edited by shorter
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...