Author Topic: Add size to flex duct routine  (Read 2231 times)

0 Members and 1 Guest are viewing this topic.

TJAM51

  • Guest
Add size to flex duct routine
« on: February 18, 2008, 09:29:07 AM »
Here is a flex duct routine I located. I need for it to prompt me for size of duct such as 10", or 8", etc. How would that parameter be placed within the routine?

Thanks


Code: [Select]
;|

Flex.lsp
Version history
3.2 2003/03/04 Localized variable NextPointFactor. Added variable for default curve type
and layer color. Curve type was localized for the PEdit command.
3.1 2002/06/28 Anniversary (wedding) release. Update usage permissions.
3.0 2000/05/18 General use release.
2.1    1994/03/31      Added code for correct Release 12 operation.
2.0 1992/06/28 Major revision to support defaults & splined polylines.
1.0 1989/09/09 Initial release.

Draw a zig-zag polyline. Used for flexible ductwork.

Copyright ©, 1989-2003, by R. Robert Bell.

3914 E Bridgeport Ave
Spokane WA 99217-6933
509.487.3312

Written permission must be obtained to modify this software.
Permission is granted to copy and use this software, as long
as the code and this header are unmodified.

Exception: the software may be modified to change the values
for the following five variables only:

LayerName
LayerColor
DefaultCurve
NextPointFactor
ZigZagWidth

R. ROBERT BELL PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
R. ROBERT BELL SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.
R. ROBERT BELL DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM
WILL BE UNINTERRUPTED OR ERROR FREE.

RobertB@AcadX.com

********************************************************* ** SUBR **
|;

<edit: by CAB>
Please post a link to the routine & not the code.
Thanks
CAB
« Last Edit: February 18, 2008, 10:40:43 AM by CAB »

hmspe

  • Bull Frog
  • Posts: 362
Re: Add size to flex duct routine
« Reply #1 on: February 18, 2008, 10:01:13 AM »
The first step would be to contact Mr. Bell and ask for permission to modify the code.  See the notice at the top of the file....

Martin
"Science is the belief in the ignorance of experts." - Richard Feynman

TJAM51

  • Guest
Re: Add size to flex duct routine
« Reply #2 on: February 18, 2008, 10:06:56 AM »
The copy right is expired....2003 is the ending year

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: Add size to flex duct routine
« Reply #3 on: February 18, 2008, 10:08:51 AM »
The copy right is expired....2003 is the ending year
Ahh I not hunderd precent sure but I don't think it kind of works like that. 
But what do I know.
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

hudster

  • Gator
  • Posts: 2848
Re: Add size to flex duct routine
« Reply #4 on: February 18, 2008, 10:35:45 AM »
The copy right is expired....2003 is the ending year
Ahh I not hunderd precent sure but I don't think it kind of works like that. 
But what do I know.


The copyright year normally indicates when it was created, not when it ends.

In this case it looks as if it was originally created in 1989 and last modified in 2003.
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Add size to flex duct routine
« Reply #5 on: February 18, 2008, 10:38:56 AM »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.