VAR !F FIND /name IN CE
[COLOR=#1C2837]where name - searching element, CE - view name[/COLOR]
[COLOR=#1C2837][FONT=arial]Possible values: FOUND, MISSING , Invalid Element
[/FONT][/COLOR]
!total = ARRAY()
var !views coll ALL VIEW
do !view values !views
$!view
var !f FIND /name IN CE
if(!f.eq('FOUND') )then
!total.append(!view)
endif
enddo
Let's say you are a field superintendent at a power plant and you are looking at navisworks and you spot a beam and you need to find the associated drawing.
GENSEC 495 of FRMWORK /014_650_MIL-S-001_BEAMS
in a specific drawing VIEW I get a result so I know it's there.q VSCAN FOR (GENSEC 495 of FRMWORK )
!total = ARRAY()
var !views coll ALL VIEW
do !view values !views
$!view
var !f FIND /014_650_MIL-S-001_BEAMS CE
if (!f.eq('FOUND') )then
!total.append(!view)
endif
enddo
q var !total
!total = ARRAY()
var !views coll ALL VIEW
do !view values !views
$!view
var !f FIND /014_650_MIL-S-001 CE
if (!f.eq('FOUND'))then
!total.append(!view)
endif
enddo
q var !total