Difference between revisions of "VS:SetObjEndMarker"

From Vectorworks Developer
Jump to: navigation, search
m (1 revision)
(Shorten OBJECT, reserved word)
 
Line 11: Line 11:
 
<def>
 
<def>
 
<funcDef lang="vs">
 
<funcDef lang="vs">
FUNCTION SetObjEndMarker(object:HANDLE; style:LONGINT; angle:INTEGER; size:REAL; width:REAL; thicknessBasis:INTEGER; thickness:REAL; visibility:BOOLEAN) : BOOLEAN;
+
FUNCTION SetObjEndMarker(obj:HANDLE; style:LONGINT; angle:INTEGER; size:REAL; width:REAL; thicknessBasis:INTEGER; thickness:REAL; visibility:BOOLEAN) : BOOLEAN;
 
</funcDef>
 
</funcDef>
 
<funcDef lang="py">
 
<funcDef lang="py">
def vs.SetObjEndMarker(object, style, angle, size, width, thicknessBasis, thickness, visibility):
+
def vs.SetObjEndMarker(obj, style, angle, size, width, thicknessBasis, thickness, visibility):
 
     return BOOLEAN
 
     return BOOLEAN
 
</funcDef>
 
</funcDef>
Line 23: Line 23:
 
<lineList ident=1>
 
<lineList ident=1>
 
<line>
 
<line>
object
+
obj
 
HANDLE
 
HANDLE
 
Handle to object.
 
Handle to object.
Line 95: Line 95:
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<version>
 
<version>
Availability: from VectorWorks13.0
+
Availability: from VectorWorks 13.0
  
 
</version>
 
</version>

Latest revision as of 16:13, 10 February 2016

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


Description

Sets all properties of an object's end marker. Return TRUE if operation was successful.
FUNCTION SetObjEndMarker(
obj  :HANDLE;
style  :LONGINT;
angle  :INTEGER;
size  :REAL;
width  :REAL;
thicknessBasis  :INTEGER;
thickness  :REAL;
visibility  :BOOLEAN) : BOOLEAN;
def vs.SetObjEndMarker(obj, style, angle, size, width, thicknessBasis, thickness, visibility):
    return BOOLEAN

Parameters

obj HANDLE Handle to object.
style LONGINT The marker style. (see comments for details)
angle INTEGER The marker angle in degrees. (0 to 90)
size REAL The marker size in page inches.
width REAL The marker width in page inches.
thicknessBasis INTEGER The marker thickness basis. ( see comments for details)
thickness REAL The marker thickness.
visibility BOOLEAN The marker visibility.

Example

VectorScript

PROCEDURE Example;
VAR
ok : BOOLEAN;

BEGIN
MoveTo (0,0);
LineTo (100, 0);
ok := SetObjEndMarker(LNewObj, 1280, 25, 0.25, 0.125, 34, 2, TRUE);	
END;

RUN(Example);

Python


Version

Availability: from VectorWorks 13.0

See Also

VS Functions:

VS:SetObjBeginningMarker

VS Functions: [[VS:SetObjBeginningMarker]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox