Difference between revisions of "Template:BeginXtrd"

From Vectorworks Developer
Jump to: navigation, search
(Python)
 
Line 13: Line 13:
 
==== Python ====
 
==== Python ====
 
<code lang="py">
 
<code lang="py">
def Example():
 
vs.DSelectAll()
 
vs.BeginXtrd(0, 1)
 
vs.CallTool(-203)
 
h1 = vs.FSActLayer()
 
vs.EndXtrd()
 
vs.DSelectAll()
 
vs.BeginXtrd(0, 1)
 
vs.CallTool(-203)
 
h2 = vs.FSActLayer()
 
vs.EndXtrd()
 
int, h3 = vs.AddSolid(h1, h2)
 
Example()
 
 
</code>
 
</code>

Latest revision as of 09:19, 19 March 2019

VectorScript

PROCEDURE Example;
VAR
h1, h2, h3 :HANDLE;
int :INTEGER;
BEGIN
DSelectAll; BeginXtrd(0, 1); CallTool(-203); h1 := FSActLayer; EndXtrd;
DSelectAll; BeginXtrd(0, 1); CallTool(-203); h2 := FSActLayer; EndXtrd;
int := AddSolid(h1, h2, h3);
END;
RUN(Example);

Python






Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox