Point3D¶
The value type Point3D is used to create the input controls for a 3D point
Syntax¶
<Parameter>
<Name>Point3DRow</Name>
<Text>_</Text>
<ValueType>Row</ValueType>
<Parameter>
<Name>Point3</Name>
<Text>Center</Text>
<Value>Point3D(1000,5500,1000)</Value>
<ValueType>Point3D</ValueType>
</Parameter>
</Parameter>
If each coordinate is to be displayed in a separate line, the syntax looks like this
<Parameter>
<Name>Point3</Name>
<Text>Center</Text>
<Value>Point3D(1000,5500,1000)</Value>
<ValueType>Point3D</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 Point3D value type is described in the example GeometryElementsInput located in
…\etc\Examples\PythonParts\PaletteExamples\GeometryElementsInput.pyp…\etc\PythonPartsExampleScripts\PaletteExamples\GeometryElementsInput.py