Code Red > AutoLISP (Vanilla / Visual)

Add size to flex duct routine

(1/2) > >>

TJAM51:
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: ---;|

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 **
|;
--- End code ---

<edit: by CAB>
Please post a link to the routine & not the code.
Thanks
CAB

hmspe:
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

TJAM51:
The copy right is expired....2003 is the ending year

Krushert:

--- Quote from: TJAM51 on February 18, 2008, 10:06:56 AM ---The copy right is expired....2003 is the ending year

--- End quote ---
Ahh I not hunderd precent sure but I don't think it kind of works like that. 
But what do I know.

hudster:

--- Quote from: Krushert on February 18, 2008, 10:08:51 AM ---
--- Quote from: TJAM51 on February 18, 2008, 10:06:56 AM ---The copy right is expired....2003 is the ending year

--- End quote ---
Ahh I not hunderd precent sure but I don't think it kind of works like that. 
But what do I know.


--- End quote ---

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.

Navigation

[0] Message Index

[#] Next page

Go to full version