Jump to content

Wall thickness in door schedule


Recommended Posts

We do this by reporting jamb size for internal doors as we design for timber construction so we have it set to 'use wall depth' anyway

image.png.682f053bf08dc6b7a3f6665ccc54a52a.png

 

You could do the same for external doors but we don't because it looks unrealistic on our GAs. Unsure how you would report the wall thickness if your jamb size differs i'm afraid.

Link to comment
20 hours ago, David Poiron said:

This is how we do things currently but it would be helpful if we could simply refer to the wall width - this allows the door manufacturer to have more direct information, which we think would lead to fewer issues in the field.

Agreed, however i'm not aware of any way to do this currently. Maybe one of the pros will know @Matt Panzer?

Link to comment

Try this.  Copy the script below and paste it into a new blank Script Resource named "WallThickForDoor". The palette name does not matter.

 

If the worksheet database header row put the following formula

 

=RunScript('WallThickForDoor')

 

This has been extremely lightly tested, so use at your own risk. It appears to work for both Styled and Unstyled walls. If a wall is not in a wall it will return three dashes instead of a number.

 

Ask if you need more help.

 

Procedure WallThickForDoor;

{February 25,2022}
{©2022 Patrick Stanford pat@coviana.com}
{Licensed under the GNU Lesser General Public License}
{No warranty expressed or implied. Use at your own risk}
{Test before useing on real data}

VAR	H1, H2	:Handle;
	R1		:Real;
	B1		:Boolean;
	
BEGIN
	H1:=WSScript_GetObject;
	H2:=GetParent(H1);
	If GetType(H2)<>68 then 
		WSScript_SetResStr('---')
	Else
		BEGIN
			B1:=GetWallThickness(H2,R1);
			WSScript_SetResReal(R1);
		End;
End;

Run(WallThickForDoor);

 

 

  • Like 1
Link to comment
  • Vectorworks, Inc Employee
59 minutes ago, Pat Stanford said:

Try this.  Copy the script below and paste it into a new blank Script Resource named "WallThickForDoor". The palette name does not matter.

 

If the worksheet database header row put the following formula

 

=RunScript('WallThickForDoor')

 

This has been extremely lightly tested, so use at your own risk. It appears to work for both Styled and Unstyled walls. If a wall is not in a wall it will return three dashes instead of a number.

 

Ask if you need more help.

 

Procedure WallThickForDoor;

{February 25,2022}
{©2022 Patrick Stanford pat@coviana.com}
{Licensed under the GNU Lesser General Public License}
{No warranty expressed or implied. Use at your own risk}
{Test before useing on real data}

VAR	H1, H2	:Handle;
	R1		:Real;
	B1		:Boolean;
	
BEGIN
	H1:=WSScript_GetObject;
	H2:=GetParent(H1);
	If GetType(H2)<>68 then 
		WSScript_SetResStr('---')
	Else
		BEGIN
			B1:=GetWallThickness(H2,R1);
			WSScript_SetResReal(R1);
		End;
End;

Run(WallThickForDoor);

 

 

 

Yeah.  What @Pat Stanford said. 🙂 

I was thinking a script might be the only way to get at this.

 

Thanks Pat!

Link to comment
  • Vectorworks, Inc Employee
39 minutes ago, Pat Stanford said:

I don't know about the only way, but to me the simplest.

 

Yeah.  I would have to do more digging to see if there is a way without a script. I I don't think so.

 

39 minutes ago, Pat Stanford said:

I didn't even make any typos in writing that. It ran the first time. 😉

 

That is a very rare case for me but it SURE IS NICE when it happens!  🙂 

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