Update documentation.
:language: python
:download:`Download this script <examples/parameter.py>`
+:download:`Download file for script <examples/File.txt>`
--- /dev/null
+ax 10.0
+bx 15.0
+cx ax+bx
\ No newline at end of file
model.begin()
partSet = model.moduleDocument()
model.addParameter(partSet, "angle", "60*3.141/180", "main angle")
+model.importParameters(partSet, "File.txt")
model.end()
| |param_up| one string higher in the table,
| |param_down| one string lower in the table.
+**TUI Command**:
+
+.. py:function:: model.importParameters(Part_doc, filename)
+
+ :param part: The current part object
+ :param filename: The txt file with parameters
+ :return: Created objects.
+
+**See Also** a sample TUI Script of a :ref:`tui_parameterFeature` operation.
**See Also** :ref:`parameter` operation.
:param string: The parameter comment
:return: Created object.
+Write error in Python console if:
+- parameter name is empty.
+- parameter don't have unique name.
+- parameter expression is empty or incorrect.
+
**See Also** a sample TUI Script of a :ref:`tui_parameterFeature` operation.
Result