• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X Scripting - Skill
  3. SKlLL to Offsets lines and arcs by a specified distance...

Stats

  • State Verified Answer
  • Replies 11
  • Subscribers 19
  • Views 7301
  • Members are here 0
More Content

SKlLL to Offsets lines and arcs by a specified distance,

Xiaome8
Xiaome8 over 1 year ago

Hi Bro, 

would you help to provide the skill which can offsets lines and arcs by a specified distance ,like the following picture show, (the original command offset copy is not good for any angle copy , only support X or Y direction offset copy)

thanks in advanced!

  • Sign in to reply
  • Cancel

Top Replies

  • Hoangkhoipcb
    Hoangkhoipcb over 1 year ago in reply to Xiaome8 +1 verified
    Hi Xiaome8, you can refer this code. axlCmdRegister ( "offset_line" `offset_line ) ( defun offset_line ( ) axlVisibleLayer ( "anti etch/all" , t ) axlClearSelSet () axlSetFindFilter ( ? enabled…
  • Hoangkhoipcb
    Hoangkhoipcb over 1 year ago in reply to Xiaome8 +1 verified
    Hi Xiaome8, Here your the code: ;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++ axlCmdRegister("offset_line" `offset_line) offset_value_s = "" (defun offset_line () offset_value = axlUIPrompt…
Parents
  • andakConsultingLtd
    0 andakConsultingLtd over 1 year ago

    This is not a trivial piece of code, I'd rate it mid level complexity Slight smile.

    I am curious to see if/how others have managed it.

    I personally prefer the hug option instead

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Hoangkhoipcb
    0 Hoangkhoipcb over 1 year ago in reply to andakConsultingLtd

    Hello AnDak

    ... Two men holding hands...Motorcycle

    Cheers,
    HoangKhoi.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Hoangkhoipcb
    0 Hoangkhoipcb over 1 year ago in reply to andakConsultingLtd

    Hello AnDak

    ... Two men holding hands...Motorcycle

    Cheers,
    HoangKhoi.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information