Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 4/01/2024
Public
Document Table of Contents

4.1.5.31. dni::remove_from_collection (::quartus::dcmd_dni)

The following table displays information for the dni::remove_from_collection Tcl command:

Tcl Package and Version

Belongs to ::quartus::dcmd_dni

Syntax dni::remove_from_collection [-h | -help] [-long_help] [-intersect] <collection> <object_spec>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-intersect Removes objects from collection1 not found in object_spec. Without this option, removes objects from collection1 that are found in object_spec.
<collection> The base collection
<object_spec> A list of objects to be removed from the base collection
Description
Remove  objects  from  a collection, resulting in a new collection. The base collection remains unchanged.
Example Usage
set new_collection [::dni::remove_from_collection $collection [list $o1 $o2]]
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful