How i can get coordinate of instance with skill?

Í

ÍőłÉłŹ

Guest
Dear All

I want to move a instance basis coordinate How i can get coordinate of
instance with skill and move it?



Best regards

Wang Chengchao
************************************************
Sanguine Microelectronics Corporation
Tel: +86-21-55666780 ext 141
Fax: +86-21-65640063
E-mail: ccwang@sanguine.com.cn
Address:9F,365# Handan Rd.,Shanghai
************************************************
 
Wang,

1)First open the cellview in edit mode
ex.
1) myCv = dbOpenCellViewByType("libraryName" "cellName" "viewName"
"maskLayout" "a");open the cellview in edit mode

2)Get the object id of instance you want to change the origin,
ex.
1) myInst = car(geGetSelSet()); Instance should have been selected

3)The property we are interested in is xy,
myInst->xy
will print the current origin of the instance

4)To change it is simple
ex.
1)myInst->xy = list(0.0, 0.0)


To view what else properties are there with the dbId ( database id), do,
myInst->?
will list all the properties associated with the dbId.Play.

rgds,
Suresh J




ÍőłÉłŹ wrote:
Dear All

I want to move a instance basis coordinate How i can get coordinate of
instance with skill and move it?



Best regards

Wang Chengchao
************************************************
Sanguine Microelectronics Corporation
Tel: +86-21-55666780 ext 141
Fax: +86-21-65640063
E-mail: ccwang@sanguine.com.cn
Address:9F,365# Handan Rd.,Shanghai
************************************************
 
And dont forget to save the cellview by,
dbSave(myCv);save the edits
dbClose(myCv);close the cellview

rgds,
Suresh

suresh j wrote:
Wang,

1)First open the cellview in edit mode
ex.
1) myCv = dbOpenCellViewByType("libraryName" "cellName"
"viewName" "maskLayout" "a");open the cellview in edit mode

2)Get the object id of instance you want to change the origin,
ex.
1) myInst = car(geGetSelSet()); Instance should have been selected

3)The property we are interested in is xy,
myInst->xy
will print the current origin of the instance

4)To change it is simple
ex.
1)myInst->xy = list(0.0, 0.0)


To view what else properties are there with the dbId ( database id), do,
myInst->?
will list all the properties associated with the dbId.Play.

rgds,
Suresh J




ÍőłÉłŹ wrote:

Dear All

I want to move a instance basis coordinate How i can get coordinate of
instance with skill and move it?



Best regards

Wang Chengchao
************************************************
Sanguine Microelectronics Corporation
Tel: +86-21-55666780 ext 141
Fax: +86-21-65640063
E-mail: ccwang@sanguine.com.cn
Address:9F,365# Handan Rd.,Shanghai
************************************************
 
Wang:
select instance
get instance id
inst=car(geGetSelSet())

get coordinates
coords=inst~>xy

read up on the dbMoveFig command or manipulate the xy list directly
---
Erik



"ÍőłÉłŹ" <news@99cn.com> wrote in message news:<bkbqg2$2o1a$1@mail.cn99.com>...
Dear All

I want to move a instance basis coordinate How i can get coordinate of
instance with skill and move it?



Best regards

Wang Chengchao
************************************************
Sanguine Microelectronics Corporation
Tel: +86-21-55666780 ext 141
Fax: +86-21-65640063
E-mail: ccwang@sanguine.com.cn
Address:9F,365# Handan Rd.,Shanghai
************************************************
 

Welcome to EDABoard.com

Sponsor

Back
Top