saveVis = axlVisibleGet()
axlVisibleDesign(nil)
; set desired layers visible via one or more calls to
axlVisibleLayer(...)
; set find filter for objects to find
axlSetFindFilter(...)
; find objects by using one of the Select APIs .. example
axlAddSelectAll()
objs = axlGetSelSet()
; restore visiblility
axlVisibileSet(saveVis)
; note no need to make a call to axlVisibileUpdate because
; the visisbility changes are a wash
获取design的可见性
axlVisibleGet(
)
Example
visList = axlVisibleGet()
(
(nil class "BOARD GEOMETRY" visible nil subclassinfo nil)
(nil class "COMPONENT VALUE" visible nil subclassinfo nil)
(nil class "DEVICE TYPE" visible nil subclassinfo nil)
(nil class "DRAWING FORMAT" visible nil subclassinfo nil)
(nil class "DRC ERROR CLASS" visible t subclassinfo nil)
(nil class "ETCH" visible -1
subclassinfo
(("TOP" t)
("TRACE_2" nil)
设置design的可见性
axlVisibleSet(
l_visList
)
axlVisibleSet(
( list
(nil class "ETCH" visible -1 subclassinfo (
("TOP" t)
("INT2" nil)
)
(nil class "ETCH" visible -1 subclassinfo (
("TOP" t)
("INT2" nil)
)
)
axlUIWUpdate (nil)
设置层的可见性
axlVisibleLayer(
t_layer
g_makeVis
)
axlVisibleLayer( "ETCH/TOP" t )
axlUIWUpdate (nil)