Difference between revisions of "VS:VM ConvertToArray"

From VectorMEP
Jump to navigation Jump to search
(Created page with "z")
 
m
Line 1: Line 1:
z
+
== Description ==
 +
Procedure VM_ConvertToArray creates an array of repeated objects based on the active selection.
 +
<syntaxhighlight lang="pascal">
 +
PROCEDURE VM_ConvertToArray();
 +
</syntaxhighlight>
 +
<!--
 +
== Parameters ==
 +
<dl><dd><table cellpadding="2" border="0"><tr>  <td valign="top">h</td>  <td></td>  <td valign="top">HANDLE</td>  <td> </td>  <td valign="top">Handle to layer.</td></tr></table></dd></dl>
 +
-->
 +
 
 +
== Remarks ==
 +
Elements duplicated by the parent Array are still directly accessible and editable as they are standalone objects. The array controls the position and the number of iterations.
 +
 
 +
== Example ==
 +
<syntaxhighlight lang="pascal">
 +
PROCEDURE ConvertToArray;
 +
BEGIN
 +
    IF VerifyLibraryRoutine('VM_ConvertToArray') THEN
 +
        VM_ConvertToArray();
 +
    ELSE
 +
        Message('The routine VM_ConvertToArray is not available.');
 +
END;
 +
RUN(ConvertToArray);
 +
</syntaxhighlight>
 +
 
 +
== Version ==
 +
Availability: from VectorMEP 2021
 +
[[Category:VS Function Reference:Utility]]
 +
__NOTOC__

Revision as of 11:44, 16 November 2020

Description

Procedure VM_ConvertToArray creates an array of repeated objects based on the active selection.

PROCEDURE VM_ConvertToArray();

Remarks

Elements duplicated by the parent Array are still directly accessible and editable as they are standalone objects. The array controls the position and the number of iterations.

Example

PROCEDURE ConvertToArray;
BEGIN
    IF VerifyLibraryRoutine('VM_ConvertToArray') THEN
        VM_ConvertToArray();
    ELSE
        Message('The routine VM_ConvertToArray is not available.');
END;
RUN(ConvertToArray);

Version

Availability: from VectorMEP 2021