• 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 PCB Editor
  3. Moving by modifying dbid->xy

Stats

  • Replies 3
  • Subscribers 158
  • Views 1414
  • Members are here 0
More Content

Moving by modifying dbid->xy

archive
archive over 20 years ago

Hi All,

I'm trying to move a text by

;-- set selection filter
axlSetFindFilter( ?enabled list("noall" "text") ?onButtons list("text") )
;-- let user select a text
axlSelect( ?groupMode nil ?prompt "Please Select Text" )
;-- obtain Text dbid
text_dbid = axlGetSelSet()


;-- modify the location of component!?!?
text_dbid->xy = list(100 200)

the last line doesnt work.. i just cant change the 'xy' of the text.
May I know if this is possible?

thanks,
Newbie


Originally posted in cdnusers.org by Newbie
  • Sign in to reply
  • Cancel
  • archive
    archive over 20 years ago

    forgot to include

    text_dbid = axlGetSelSet()

    text_dbid = car(text_dbid) <--- remove from list first

    text_dbid->xy = list(100 200)


    Originally posted in cdnusers.org by Newbie
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 20 years ago

    No this isn't possible unfortunately! Try using axlTransformObject.


    Originally posted in cdnusers.org by nzdave
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • archive
    archive over 20 years ago

    I'll try axlTransformObject

    Thanks nzdave


    Originally posted in cdnusers.org by Newbie
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
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.

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

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