Hi Lawerence,
Request you to please see the code:
; create a shielded path
procedure( shielded()
cv=geGetEditCellView()
errset(
(let (cv layer purpose list_draw_layer tech width1 tfId)
cv= geGetEditCellView()
layer = car(leGetEntryLayer()) ;displays layer on LSW is taken
purpose = cadr(leGetEntryLayer()); displays drawing or pin on the selected lsw
list_draw_layer =list( layer purpose )
tech = techGetTechFile(geGetWindowCellView()); rule deck file id is stored in tech
width1 = techGetSpacingRule(tech "minWidth" layer) ; the minimum width is stored in width1
rodCreatePath(
?name "shielded"
?layer list( layer purpose )
?pts list(2:-15 2:-5 15:-5 15:-5)
?width .12
?justification "center"
?cvId cv
?offsetSubPath
list(
list(
?layer list( layer purpose )
?justification "left"
?sep .16
?width .16
) ;end of offset sublist1
list(
?layer list( layer purpose )
?justification "right"
?sep .16
?width .16
) ;end of offset sublist2
) ;end of offset list of lists
) ;end of rodCreatePath
) ; end of let
t
) ; end of errset
) ; end of procedure
I want to take the values from the from the user. Therefore, I have created form and passing the values to the variables. Now, wrt to the above programme, can you please tell me what changes I need to make in order to have user defined width and spacing.
Regards,
Manu