Line3D¶
The value type Line3D is used to create the input controls for a 3D line
Syntax¶
<Parameter>
<Name>Line3DRow</Name>
<Text>_</Text>
<ValueType>Row</ValueType>
<Parameter>
<Name>Line3</Name>
<Text>Line</Text>
<Value>Line3D(1000,6100,0,5000,6500,1000)</Value>
<ValueType>Line3D</ValueType>
</Parameter>
</Parameter>
If each coordinate is to be displayed in a separate line, the syntax looks like this
<Parameter>
<Name>Line3</Name>
<Text>Line</Text>
<Value>Line3D(1000,6100,0,5000,6500,1000)</Value>
<ValueType>Line3D</ValueType>
</Parameter>
The result is
Value unit¶
The unit for the default values assigned to the coordinate values in <Value> is mm.
Example¶
The implementation of the Line3D value type is described in the example GeometryElementsInput located in
…\etc\Examples\PythonParts\PaletteExamples\GeometryElementsInput.pyp…\etc\PythonPartsExampleScripts\PaletteExamples\GeometryElementsInput.py