Difference between revisions of "VS:HPerimN"

From Vectorworks Developer
Jump to: navigation, search
m (1 revision)
m (minor correction in the example code line)
 
Line 36: Line 36:
 
<sample>
 
<sample>
 
<PRE>
 
<PRE>
perimeter := HPerim(object);</PRE>
+
perimeter := HPerimN(object);</PRE>
 
</sample>
 
</sample>
  

Latest revision as of 02:25, 12 August 2019

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


Description

Calculate a perimeter of an object. Same as HPerim(), but it gives more accurate result when the object is a polyline.
FUNCTION HPerimN(
ObjectHandle  :HANDLE) : REAL;
def vs.HPerimN(ObjectHandle):
    return REAL

Parameters

ObjectHandle HANDLE

Example

perimeter := HPerimN(object);

Version

Availability: from Vectorworks 2012
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox