The Line attribute function draws a line.
Syntax | |||||
Line(Section, xStart, yStart, zStart, xEnd, yEnd, zEnd) | |||||
Return value | |||||
Type |
Description | ||||
Section3D |
A Section3D object that describes the drawn line | ||||
Parameter | |||||
Use |
Name |
Type |
Passing |
Description | |
Required |
Section |
Section3D |
ByVal |
The image section to which the Line is to be attached. If the Line is to be attached to the root level, “Nothing” must be passed. | |
Required |
xStart |
Double |
ByVal |
x-Position Start | |
Required |
yStart |
Double |
ByVal |
y-Position Start | |
Required |
zStart |
Double |
ByVal |
z-Position Start | |
Required |
xEnd |
Double |
ByVal |
x-Position End | |
Required |
yEnd |
Double |
ByVal |
y-Position End | |
Required |
zEnd |
Double |
ByVal |
z-Position End | |
Note | |||||
Before editing a Model3D variable, the BeginModify attribute function must be called. After all modifications have been made, the attribute function EndModify must be called so that all changes are saved in the variable. | |||||