VS:GetLineAttributeData/ja

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Description

選択されている線種と線の太さを返します。線種はインデックス(2、-1〜-32)、線の太さはミル。

PROCEDURE GetLineAttributeData(
dialogID :LONGINT;
itemID :LONGINT;
VAR lineStyle :INTEGER;
VAR lineWeight :INTEGER);
def vs.GetLineAttributeData(dialogID, itemID):
    return (lineStyle, lineWeight)

Parameters

dialogID LONGINT ダイアログ番号
itemID LONGINT アイテム番号
lineStyle INTEGER 線種
lineWeight INTEGER 線の太さ

Version

利用可能バージョン: VectorWorks12.0