VS:Layer/ja: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
No edit summary
m (1 revision: Japanese Reference for 2016)
 
(No difference)

Latest revision as of 12:31, 14 January 2016

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

Description

新しいレイヤを指定した名前で作成し、そのレイヤをアクティブにします。
指定した名前のレイヤがすでに存在する場合、そのレイヤをアクティブにします。

PROCEDURE Layer(
name :STRING);
def vs.Layer(name):
    return None

Parameters

name STRING レイヤの名前

Example

Layer('Ductwork-1st Floor');
{creates a new layer named 'Ductwork-1st Floor'}

Layer(newLayerName);
{creates a new layer whose name is specified in the variable}

Layer('Untitled-1');
{switches to the existing layer 'Untitled-1'}

Version

利用可能バージョン: MiniCAD