Dear corrado,
I use PDMS 11.6.
In design module, when we want to delete more than one element, we can select menu Delete -> identified.
But in Draft module, it is not available.
[QUOTE=htl;69688]Dear corrado,
I use PDMS 11.6.
In design module, when we want to delete more than one element, we can select menu Delete -> identified.
But in Draft module, it is not available.
Construct-->Group option will help you in draft for the above mentioned requirements...
Delete-->Group members will delete the grouping elements.Always use clear option before adding anything into grouping..
This function is not available - I have taken it up a few times with AVEVA
Its annoying the way AVEVA don't make the same functions available throughout the modules. Like above, people know what they want but its not available
Use this PML to do it...
define method .delete()
prompt dismiss
prompt off
!idarray = ARRAY()
do
prompt load escape 'Identify Element or -Escape-'
id@
handle(61,528)
break
elsehandle none
endhandle
enhance ce
!ceref = !!ce.ref
!idarray.append(!ceref)
enddo
if !idarray.size().eq(0) then
return
else
!ask = !!alert.confirm ('O.K. to delete items highlighted in Violet?')
if !ask.eq('YES') then
do !x values !idarray
$!x
!type = !!ce.type
!owner = !!ce.owner
DELETE $!type
handle(2,113)
$!owner
endhandle
unenhance all
enddo
else
unenhance all
endif
endif
endmethod