.. vale off :class:`CompositeCriterionDefinition` ===================================== .. py:class:: ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.CompositeCriterionDefinition Bases: :py:obj:`object` CompositeCriterionDefinition class. .. !! processed by numpydoc !! .. 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:`~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:`~RemoveAt` - Removes the CompositeCriterionTerm at a specified index in the definition. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~Item` - Item property. * - :py:attr:`~Count` - Gives the number of CompositeCriterionTerms in the definition. Property detail --------------- .. py:property:: Item :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm] Item property. .. !! processed by numpydoc !! .. py:property:: Count :no-index: :type: Optional[System.Int32] Gives the number of CompositeCriterionTerms in the definition. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: Add(item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) -> System.Void :no-index: .. 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() -> System.Void :no-index: Clears all the CompositeCriterionTerms in the definition. .. !! processed by numpydoc !! .. py:method:: IndexOf(item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) -> System.Int32 :no-index: .. 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: System.Int32, item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) -> System.Void :no-index: .. 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:: RemoveAt(index: System.Int32) -> System.Void :no-index: .. code-block:: text Removes the CompositeCriterionTerm at a specified index in the definition. Returns IndexOutOfRangeException for invalid index. .. !! processed by numpydoc !! .. vale on