@Anonymous wrote:
...here is what I've come up with so far... [^C^C_chprop;\;ltscale;1;;_LAYER;set;hidden;;Offset;l;current;.0625;\\\\;^C^C_chprop;l;\LA;LTLINES;;Offset;L;S;;;X;\;X;\;^C^C_EX;;\ ] it does most of what i want until it gets to the extend function & it just quits.
It looks to me like some of the ; and \ elements are not correct. I'm thinking something like [untested]:
^C^C_chprop;\;ltscale;1;;_LAYER;set;hidden;;Offset;l;current;.0625;\\\\;_chprop;l;;LA;LTLINES;;Offset;L;S;;\\;X;\\;_EX;;
The red ; is to complete object selection in the CHPROP command. The blue \\ is to pick an object to OFFSET and the side [but see below]. The magenta \\ combines selection of two things to EXPLODE into one command, instead of two.
I also removed some ^C^C cancels along the way -- if everything else is formatted correctly, commands will be completed, and you don't need those. And I took the last \ off the end -- it should just leave you in the command with all objects as boundaries, to pick things as desired -- no need to explicitly put in a character for only the first selection.
Your first group of four \\\\ allows for two Offsets. I assume you are starting with a Polyline rectangle, Offsetting it twice, and later Exploding those for the Extending part. But then I'm confused about what the later Offset command is for -- can that be omitted?
Of course, all of this depends on the User never missing in a pick, and understanding what to pick when and to which side to Offset things. An advantage of an AutoLisp routine is that it can include controls for at least some such considerations.
Kent Cooper, AIA