.. vale off :class:`CompositeCriterionDefinition` ===================================== .. py:class:: ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.CompositeCriterionDefinition Bases: :py:obj:`object` .. py:currentmodule:: CompositeCriterionDefinition Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~Add` - Adds a CompositeCriterionTerm at the end in the definition. * - :py:attr:`~Clear` - Clears all the CompositeCriterionTerms in the definition. * - :py:attr:`~Contains` - Contains method. * - :py:attr:`~CopyTo` - CopyTo method. * - :py:attr:`~Equals` - Equals method. * - :py:attr:`~GetEnumerator` - GetEnumerator method. * - :py:attr:`~GetHashCode` - GetHashCode method. * - :py:attr:`~GetType` - GetType method. * - :py:attr:`~IndexOf` - Gives the index where the specified CompositeCriterionTerm exists in the definition. * - :py:attr:`~Insert` - Inserts a CompositeCriterionTerm at a specified index in the definition. * - :py:attr:`~Remove` - Remove method. * - :py:attr:`~RemoveAt` - Removes the CompositeCriterionTerm at a specified index in the definition. * - :py:attr:`~ToString` - ToString method. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~Count` - Gives the number of CompositeCriterionTerms in the definition. * - :py:attr:`~IsReadOnly` - IsReadOnly property. * - :py:attr:`~Item` - Item property. Property detail --------------- .. py:property:: Count :type: Optional[int] Gives the number of CompositeCriterionTerms in the definition. .. !! processed by numpydoc !! .. py:property:: IsReadOnly :type: Optional[bool] IsReadOnly property. .. !! processed by numpydoc !! .. py:property:: Item :type: Optional[Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm] Item property. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: Add(item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) -> None .. code-block:: text Adds a CompositeCriterionTerm at the end in the definition. Usage: CriterionDefinition.Add(Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm(primCritObj, 1.3)) .. !! processed by numpydoc !! .. py:method:: Clear() -> None Clears all the CompositeCriterionTerms in the definition. .. !! processed by numpydoc !! .. py:method:: Contains(item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) -> bool Contains method. .. !! processed by numpydoc !! .. py:method:: CopyTo(array: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm, arrayIndex: int) -> None CopyTo method. .. !! processed by numpydoc !! .. py:method:: Equals(obj: Any) -> bool Equals method. .. !! processed by numpydoc !! .. py:method:: GetEnumerator() -> Iterator[Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm] GetEnumerator method. .. !! processed by numpydoc !! .. py:method:: GetHashCode() -> int GetHashCode method. .. !! processed by numpydoc !! .. py:method:: GetType() -> type GetType method. .. !! processed by numpydoc !! .. py:method:: IndexOf(item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) -> int .. code-block:: text Gives the index where the specified CompositeCriterionTerm exists in the definition. Returns -1 if the term is not found in the definition. .. !! processed by numpydoc !! .. py:method:: Insert(index: int, item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) -> None .. code-block:: text Inserts a CompositeCriterionTerm at a specified index in the definition. Returns IndexOutOfRangeException for invalid index. Usage: CriterionDefinition.Insert(1, Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm(primCritObj, 1.3)) .. !! processed by numpydoc !! .. py:method:: Remove(item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) -> bool Remove method. .. !! processed by numpydoc !! .. py:method:: RemoveAt(index: int) -> None .. code-block:: text Removes the CompositeCriterionTerm at a specified index in the definition. Returns IndexOutOfRangeException for invalid index. .. !! processed by numpydoc !! .. py:method:: ToString() -> str ToString method. .. !! processed by numpydoc !! .. vale on