TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: MSTG007 on September 23, 2016, 08:04:39 AM

Title: Offseting from Block or Xref
Post by: MSTG007 on September 23, 2016, 08:04:39 AM
Having a moment here. I can not seem to find a routine that can Offset from a block or xref into the current dwg. Or is there a command within CAD that I cant seem to remember? lol. Thanks for any help.
Title: Re: Offseting from Block or Xref
Post by: Lee Mac on September 23, 2016, 01:39:58 PM
NCOPY then OFFSET?
Title: Re: Offseting from Block or Xref
Post by: MSTG007 on September 23, 2016, 01:50:48 PM
Yup, that is what I have been doing. OR even better... I redraw the line and offset it and then delete the previous line I drew! lol. Its all good. Thought I'd ask.
Title: Re: Offseting from Block or Xref
Post by: alanjt on September 26, 2016, 01:37:56 PM
Decided to update my ugly old code.
See attached.
Title: Re: Offseting from Block or Xref
Post by: MSTG007 on September 26, 2016, 02:38:30 PM
Thanks Alan for the code update.
Title: Re: Offseting from Block or Xref
Post by: alanjt on September 26, 2016, 03:09:40 PM
Thanks Alan for the code update.
Welcome.
Hope it helps.
Title: Re: Offseting from Block or Xref
Post by: MSTG007 on September 26, 2016, 03:11:55 PM
It helps a lot! Already using it... Something like that, just makes stupid stuff easier! or is it lazyier?
Title: Re: Offseting from Block or Xref
Post by: alanjt on September 26, 2016, 03:25:19 PM
It helps a lot! Already using it... Something like that, just makes stupid stuff easier! or is it lazyier?
Makes it smarter. ;)
Title: Re: Offseting from Block or Xref
Post by: CHulse on May 09, 2017, 10:32:01 AM
This is brilliant. Thanks Alan!
Title: Re: Offseting from Block or Xref
Post by: alanjt on May 09, 2017, 11:37:17 AM
This is brilliant. Thanks Alan!
You're very welcome. :)
I use it almost daily.
Title: Re: Offseting from Block or Xref
Post by: ScottMC on November 06, 2017, 08:58:40 PM
 :idea: Excellant Alan! Works great.
Title: Re: Offseting from Block or Xref
Post by: alanjt on November 07, 2017, 10:33:01 AM
:idea: Excellant Alan! Works great.
Glad you like it. :)