Home > Community > Forums > Custom IC SKILL > Delete Property figs / wire in schematic

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

 Delete Property figs / wire in schematic 

Last post Tue, Aug 20 2013 3:52 AM by karacaoe. 3 replies.
Started by karacaoe 20 Aug 2013 02:09 AM. Topic has 3 replies and 396 views
Page 1 of 1 (4 items)
Sort Posts:
  • Tue, Aug 20 2013 2:09 AM

    • karacaoe
    • Not Ranked
    • Joined on Fri, Jul 26 2013
    • Posts 5
    • Points 70
    Delete Property figs / wire in schematic Reply

    Hello all,

    How do you delete in Skill nets such that the wirings in your schematics are removed also? 

    There must be some sort of a simple solution for that!

    Thank you so much in advance. 

    Best regards,

    Oezlem

    • Post Points: 20
  • Tue, Aug 20 2013 2:37 AM

    • TaherKotb
    • Top 500 Contributor
    • Joined on Wed, Apr 24 2013
    • Posts 27
    • Points 375
    Re: Delete Property figs / wire in schematic Reply
    Hello Oezlem
    You can do this for example;
     
    -get the schematic Id 
    CellSchId= dbOpenCellViewByType( "Folded_Cascode" "Folded" "schematic" "schematic" "a" )
     
    -get the instance id which is connected to the wire you want to delete
    instM18 = dbFindAnyInstByName(CellSchId "M18")
     
    -get the ids' and names of the terminals connected of the instance
    instM18~>instTerms~>term
    (db:0x156c1c95 db:0x156c1c94 db:0x156c1c93 db:0x156c1c92)
    instM18~>instTerms~>term~>name
    ("D" "B" "G" "S")
     
    - get the net id for a specific terminal 
    d_path = car(car(instM18~>instTerms~>term)~>pins)~>figs
    - delete command
    dbDeleteObject(car(d_path))
     
    Best Regards,
    Taher 
    • Post Points: 5
  • Tue, Aug 20 2013 3:40 AM

    • TaherKotb
    • Top 500 Contributor
    • Joined on Wed, Apr 24 2013
    • Posts 27
    • Points 375
    Re: Delete Property figs / wire in schematic Reply
    Hey Oezlem

    I guess i was wrong concerning the dbDeleteObject command , it's not the right command to use
     
    instead please try this command

    d_path = car(car( instM50~>conns~>net~>figs) )

    schDelete( d_path )

    and it will delete the object you specified and in this case it will be  a wire

    Best Regards
    • Post Points: 20
  • Tue, Aug 20 2013 3:52 AM

    • karacaoe
    • Not Ranked
    • Joined on Fri, Jul 26 2013
    • Posts 5
    • Points 70
    Re: Delete Property figs / wire in schematic Reply

     Hi Taher,

     Thank you so much! 

     The command in your first reply deleted my pin ;) 

    Best regards,

    Oezlem

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by karacaoe at 20 Aug 2013 02:09 AM. Topic has 3 replies.