Home > Community > Forums > PCB SKILL > changing rectangular shape type to dynamic

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: *

 changing rectangular shape type to dynamic 

Last post Thu, Jun 13 2013 6:00 PM by D912349. 2 replies.
Started by D912349 12 Jun 2013 02:37 AM. Topic has 2 replies and 727 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Jun 12 2013 2:37 AM

    • D912349
    • Top 150 Contributor
    • Joined on Fri, Nov 23 2012
    • Posts 47
    • Points 800
    changing rectangular shape type to dynamic Reply

    Hi,

     I encountered a problem on converting shape type to dynamic using axlShapeChangeDynamicType.

    the code looks somthing like this:

     shape = axlDBCreateRectangle(list(0:0 100:100), t, "etch/pwr01" nil )

    axlShapeChangeDynamicType(car(shape) t t)

    When I input the following, static shape is created but when i try to change it to dynamic type it returns nil and the shape is not changed to dynamic. I tried using the same code to other shape(other than rectangular) but it works well.

    • Post Points: 20
  • Wed, Jun 12 2013 4:47 AM

    • fxffxf
    • Top 25 Contributor
    • Joined on Thu, Jul 17 2008
    • ., AK
    • Posts 298
    • Points 4,735
    Re: changing rectangular shape type to dynamic Reply

    You cannot change a rectangle to a dynamic shape. It is more efficient to create a boundary shape then to change a static shape to dynamic. With axlDBCreateShape pass the layer class as BOUNDRAY (example "BOUNDARY/PWR01")

    • Post Points: 20
  • Thu, Jun 13 2013 6:00 PM

    • D912349
    • Top 150 Contributor
    • Joined on Fri, Nov 23 2012
    • Posts 47
    • Points 800
    Re: changing rectangular shape type to dynamic Reply
    thanks fxffxf!
    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by D912349 at 12 Jun 2013 02:37 AM. Topic has 2 replies.