SelectionQuery
Canonical path: NemAll_Python_IFW_Input.SelectionQuery
Class containing checking procedures to obtain, whether an element is valid for being selected during element selection.
__init__
overloaded
Construct empty query. All elements are considered valid for selection
__init__(query: SelectionQuery)
__init__(query: list[QueryTypeID | object] | QueryTypeID | object)
Default constructor
Parameters:
-
query
(list[QueryTypeID | object] | QueryTypeID | object
) –Selection query as list with queries or single query.
Examples:
The query can be a list of QueryTypeID like this:
>>> type_uuids = [AllplanIFW.QueryTypeID(AllplanElementAdapter.Beam_TypeUUID),
... AllplanIFW.QueryTypeID(AllplanElementAdapter.Column_TypeUUID)]
... selection_query = AllplanIFW.SelectionQuery(type_uuids)
or a class with a call member, like this:
Placeholder