Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 1.04 KB

File metadata and controls

48 lines (40 loc) · 1.04 KB

PtDialog3D

Description

Procedure PtDialog3D displays a dialog box which requests the user to enter a 3D coordinate (point) value.

PROCEDURE PtDialog3D(
				displayStr : STRING;
				xStr       : STRING;
				yStr       : STRING;
				zStr       : STRING;
				VAR xPt    : REAL;
				VAR yPt    : REAL;
				VAR zPt    : REAL);
def vs.PtDialog3D(displayStr, xStr, yStr, zStr):
    return (xPt, yPt, zPt)

Parameters

Name Type Description
displayStr STRING Dialog user prompt string.
xStr STRING Default value for input field.
yStr STRING Default value for input field.
zStr STRING Default value for input field.
xPt REAL Returns user input X value.
yPt REAL Returns user input Y value.
zPt REAL Returns user input Z value.

Examples

==== VectorScript ====

PtDialog3D('Enter the 3D location:','0','0','0',x,y,z);

==== Python ====

xPt, yPt, zPt = vs.PtDialog3D('User prompt string','0','0','0')

Version

Availability: from All Versions

Category

  • Dialogs - Predefined