Author Topic: Oval Reducer Lengths  (Read 2838 times)

0 Members and 1 Guest are viewing this topic.

Offline cnashTopic starter

  • Premier Member
  • *****
  • Posts: 1383
  • Country: us
  • Gender: Male
    • William R. Nash Companies
Oval Reducer Lengths
« on: May 18, 2021, 20:32:02 PM »
Anyone Figured out a way to have the lengths variable dependent based on the size?

See screenshot example below.
Christopher Nash
Operations Software & Process Manager
William R. Nash, LLC.

Offline DotNet

  • Senior Member
  • ****
  • Posts: 302
  • Country: us
  • Gender: Male
    • MICLOGIC
Re: Oval Reducer Lengths
« Reply #1 on: May 19, 2021, 00:42:56 AM »
The calculation field provides a few math functions. "Max" will return the largest of two numbers. "Abs" will return the absolute value of a given number. A common practice for reducers is to make the body length C1-C2 with a minimum of 4 inches.

Code: [Select]

Max(Abs(Left Diameter - Right Diameter), 4)

« Last Edit: May 19, 2021, 00:58:09 AM by DotNet »

Offline cadbyken

  • Premier Member
  • *****
  • Posts: 5298
  • Country: us
  • Gender: Male
Re: Oval Reducer Lengths
« Reply #2 on: May 19, 2021, 02:45:39 AM »
You could also product list it using excel to make the calcs for you.  Wouldn't take but 1/2 hour or so to do.
Ken Taylor - Atlantic Constructors, Inc
BIM Technology & Database Manager
Revit - not ready for Primetime given all of the add-ons, work arounds, and general issues with Fabrication in Revit.  Tired of them taking our money for little results.

Offline cadbyken

  • Premier Member
  • *****
  • Posts: 5298
  • Country: us
  • Gender: Male
Re: Oval Reducer Lengths
« Reply #3 on: May 19, 2021, 02:48:27 AM »
The calculation field provides a few math functions. "Max" will return the largest of two numbers. "Abs" will return the absolute value of a given number. A common practice for reducers is to make the body length C1-C2 with a minimum of 4 inches.

Code: [Select]

Max(Abs(Left Diameter - Right Diameter), 4)

That is cool.  never knew the Max and Abs functions were available to us.  Any others?
« Last Edit: May 19, 2021, 21:25:49 PM by cadbyken »
Ken Taylor - Atlantic Constructors, Inc
BIM Technology & Database Manager
Revit - not ready for Primetime given all of the add-ons, work arounds, and general issues with Fabrication in Revit.  Tired of them taking our money for little results.

Offline DotNet

  • Senior Member
  • ****
  • Posts: 302
  • Country: us
  • Gender: Male
    • MICLOGIC
Re: Oval Reducer Lengths
« Reply #4 on: May 19, 2021, 03:07:01 AM »
Quote from: cadbyken
That is cool.  never new the Max and Abs functions were available to us.  Any others?

Calculated Dimension Functions


Offline cadbyken

  • Premier Member
  • *****
  • Posts: 5298
  • Country: us
  • Gender: Male
Re: Oval Reducer Lengths
« Reply #5 on: May 19, 2021, 21:30:17 PM »
Quote from: cadbyken
That is cool.  never new the Max and Abs functions were available to us.  Any others?

Calculated Dimension Functions
Wow, I remember the request to add these but never knew they were added.  Don't use the calc fields often but that is very helpful.  Thanks.
Ken Taylor - Atlantic Constructors, Inc
BIM Technology & Database Manager
Revit - not ready for Primetime given all of the add-ons, work arounds, and general issues with Fabrication in Revit.  Tired of them taking our money for little results.

Offline cnashTopic starter

  • Premier Member
  • *****
  • Posts: 1383
  • Country: us
  • Gender: Male
    • William R. Nash Companies
Re: Oval Reducer Lengths
« Reply #6 on: May 20, 2021, 14:10:26 PM »
The calculation field provides a few math functions. "Max" will return the largest of two numbers. "Abs" will return the absolute value of a given number. A common practice for reducers is to make the body length C1-C2 with a minimum of 4 inches.


I was trying to do this since I use calculated fields for a lot of other items but for Oval it doesn't have enough arguments to do an if/then.

You could also product list it using excel to make the calcs for you.  Wouldn't take but 1/2 hour or so to do.

I also looked into this as well but with all the size variance in Oval it would be a huge .itm.
Christopher Nash
Operations Software & Process Manager
William R. Nash, LLC.

Offline VirtualPilot

  • Premier Member
  • *****
  • Posts: 6735
  • Country: us
  • Gender: Male
Re: Oval Reducer Lengths
« Reply #7 on: Jul 23, 2021, 16:02:23 PM »
We simply use A-B with a minimum of 4"...
Santos Cedeno
Pre-Production Mgr - DIXIE Metal Products

Offline DotNet

  • Senior Member
  • ****
  • Posts: 302
  • Country: us
  • Gender: Male
    • MICLOGIC
Re: Oval Reducer Lengths
« Reply #8 on: Sep 29, 2023, 20:08:38 PM »
We simply use A-B with a minimum of 4"...

That doesn't work for increasers.

Max(8 - 14, 4) returns 4, while the code posted above returns 6, which is the correct answer. Sign matters. Mistakes like this slip by all the time, sometimes for years. Many of them can be extremely costly, especially when scripting.
« Last Edit: Oct 01, 2023, 03:02:58 AM by DotNet »

Offline VirtualPilot

  • Premier Member
  • *****
  • Posts: 6735
  • Country: us
  • Gender: Male
Re: Oval Reducer Lengths
« Reply #9 on: Oct 09, 2023, 18:21:58 PM »
We simply use A-B with a minimum of 4"...

That doesn't work for increasers.

Max(8 - 14, 4) returns 4, while the code posted above returns 6, which is the correct answer. Sign matters. Mistakes like this slip by all the time, sometimes for years. Many of them can be extremely costly, especially when scripting.

For those "odd" cases, just simply type the length in the Length CALC field...
Santos Cedeno
Pre-Production Mgr - DIXIE Metal Products