Home > Community > Forums > PCB SKILL > Moving by modifying dbid->xy

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Moving by modifying dbid->xy 

Last post Thu, Apr 7 2005 8:22 PM by archive. 3 replies.
Started by archive 07 Apr 2005 08:22 PM. Topic has 3 replies and 1804 views
Page 1 of 1 (4 items)
Sort Posts:
  • Thu, Apr 7 2005 8:22 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    Moving by modifying dbid->xy Reply

    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
    • Post Points: 0
  • Thu, Apr 7 2005 8:25 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: Moving by modifying dbid->xy Reply

    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
    • Post Points: 0
  • Thu, Apr 7 2005 8:27 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: Moving by modifying dbid->xy Reply

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


    Originally posted in cdnusers.org by nzdave
    • Post Points: 0
  • Thu, Apr 7 2005 8:45 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,910
    RE: Moving by modifying dbid->xy Reply

    I'll try axlTransformObject

    Thanks nzdave


    Originally posted in cdnusers.org by Newbie
    • Post Points: 0
Page 1 of 1 (4 items)
Sort Posts:
Started by archive at 07 Apr 2005 08:22 PM. Topic has 3 replies.