CC_CircuitFromShape ConnectCAD 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   CC_CircuitFromShape
( hObj:HANDLE ) :HANDLE ;

Python:

def  vs.CC_CircuitFromShape(hObj):
   return HANDLE

Description:

Creates circuit from the given shape. The shape must be line, polygon or polyline. Returns the handle of the created circuit.

説明

指定した図形からcircuitを作成します。図形は、ライン、ポリゴン、ポリラインのいずれかでなければなりません。



  CC_DeviceFromShape ConnectCAD 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   CC_DeviceFromShape
( hObj:HANDLE ) :HANDLE ;

Python:

def  vs.CC_DeviceFromShape(hObj):
   return HANDLE

Description:

Creates device from the given shape. The shape must be rectangle, rounded rectangle, polygon or polyline. Returns the handle of the created device.

説明

指定した図形からデバイスを作成します。図形は、四角形、角丸四角形、多角形または曲線のいずれかでなければなりません。



  CC_GetCableTypeData ConnectCAD 
Vectorworks 2025.2

VectorScript Declaration:

FUNCTION   CC_GetCableTypeData
(   cable_type :STRING;
    col_index :INTEGER
) :STRING ;

Python:

def  vs.CC_GetCableTypeData(cable_type, col_index):
   return STRING

Description:

Returns the entry in the cable types table for a given cable type. Column 1 = Description, 2 = Outside Diameter

説明

Returns the entry in the cable types table for a given cable type. Column 1 = Description, 2 = Outside Diameter



  CC_GetCircuitDest ConnectCAD 
Vectorworks 2025

VectorScript Declaration:

PROCEDURE   CC_GetCircuitDest
(   hCircuit :HANDLE;
  VAR  hDevice :HANDLE;
  VAR  hDevSkt :HANDLE;
  VAR  hAdapter :HANDLE;
  VAR  hSocket :HANDLE
) ;

Python:

def  vs.CC_GetCircuitDest(hCircuit):
   return (hDevice, hDevSkt, hAdapter, hSocket)

Description:

Gets handles for the destination device and socket of a circuit.

説明

Gets handles for the destination device and socket of a circuit.



  CC_GetCircuitSource ConnectCAD 
Vectorworks 2025

VectorScript Declaration:

PROCEDURE   CC_GetCircuitSource
(   hCircuit :HANDLE;
  VAR  hDevice :HANDLE;
  VAR  hDevSkt :HANDLE;
  VAR  hAdapter :HANDLE;
  VAR  hSocket :HANDLE
) ;

Python:

def  vs.CC_GetCircuitSource(hCircuit):
   return (hDevice, hDevSkt, hAdapter, hSocket)

Description:

Gets handles for the source device and socket of a circuit.

説明

Gets handles for the source device and socket of a circuit.



  CC_GetConnectorData ConnectCAD 
Vectorworks 2025.2

VectorScript Declaration:

FUNCTION   CC_GetConnectorData
(   connector :STRING;
    col_index :INTEGER
) :STRING ;

Python:

def  vs.CC_GetConnectorData(connector, col_index):
   return STRING

Description:

Returns the entry in the connector types table for a given connector. Column 1 = Description, 2 = Panel Connector symbol

説明

Returns the entry in the connector types table for a given connector. Column 1 = Description, 2 = Panel Connector symbol



  CC_GetDevice ConnectCAD 
Vectorworks 2025

VectorScript Declaration:

FUNCTION   CC_GetDevice
(   hSocket :HANDLE;
    skip adapters :BOOLEAN
) :HANDLE ;

Python:

def  vs.CC_GetDevice(hSocket, skip adapters):
   return HANDLE

Description:

Gets the parent device handle from the given socket handle.

説明

Gets the parent device handle from the given socket handle.



  CC_GetEquipmentItem ConnectCAD 
Vectorworks 2025

VectorScript Declaration:

FUNCTION   CC_GetEquipmentItem
( hDevice:HANDLE ) :HANDLE ;

Python:

def  vs.CC_GetEquipmentItem(hDevice):
   return HANDLE

Description:

Gets the associated equipment item from the given device handle.

説明

Gets the associated equipment item from the given device handle.



  CC_GetSignalData ConnectCAD 
Vectorworks 2025.2

VectorScript Declaration:

FUNCTION   CC_GetSignalData
(   signal :STRING;
    col_index :INTEGER
) :STRING ;

Python:

def  vs.CC_GetSignalData(signal, col_index):
   return STRING

Description:

Returns the entry in the signal types table for a given signal. Column 1 = Prefix, 2 = Connector, 3 = Description

説明

Returns the entry in the signal types table for a given signal. Column 1 = Prefix, 2 = Connector, 3 = Description



  CC_OnFindAndReplace ConnectCAD 
Vectorworks 2023.6

VectorScript Declaration:

PROCEDURE   CC_OnFindAndReplace
(   hObject :HANDLE;
    fieldName :STRING;
    fieldValue :STRING
) ;

Python:

def  vs.CC_OnFindAndReplace(hObject, fieldName, fieldValue):
   return None

Description:

Custom find and replace fuctionality for ConnectCAD objects.

説明

ConnectCADオブジェクトのカスタム検索と置換機能です。



  CC_ReloadData ConnectCAD 
Vectorworks 2023.4

VectorScript Declaration:

PROCEDURE   CC_ReloadData
;

Python:

def  vs.CC_ReloadData():
   return None

Description:

Reloads ConnectCAD data from the application, work group and user folder. Device database, signal types, connector types, cable options, cable types, custom cable lengths, jack field panel data, term panel data and custom Parameter files will be reloaded.

説明

アプリケーション、ワークグループ、ユーザーフォルダからConnectCADデータをリロードします。デバイス・データベース、信号タイプ、コネクター・タイプ、ケーブル・オプション、ケーブル・タイプ、カスタム・ケーブル長、ジャック・フィールド・パネル・データ、用語パネル・データ、カスタム・パラメータ・ファイルがリロードされます。



  CC_RoomFromShape ConnectCAD 
Vectorworks 2022.3

VectorScript Declaration:

FUNCTION   CC_RoomFromShape
( hObj:HANDLE ) :HANDLE ;

Python:

def  vs.CC_RoomFromShape(hObj):
   return HANDLE

Description:

Creates layout room from the given shape. The shape must be rectangle, rounded rectangle, polygon or polyline. Returns the handle of the created room.

説明

指定した図形からLayout Roomを作成します。図形は、四角形、角丸四角形、多角形または曲線のいずれかでなければなりません。作成されたLayout Roomのハンドルを返します。



  CC_RouteFromShape ConnectCAD 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   CC_RouteFromShape
( hObj:HANDLE ) :HANDLE ;

Python:

def  vs.CC_RouteFromShape(hObj):
   return HANDLE

Description:

Creates cable path from the given shape. The shape must be polygon, polyline or 3D polygon. Returns the handle of the created cable path.

説明

指定した図形からケーブルルートを作成します。図形は、ポリゴン、ポリライン、3Dポリゴンのいずれかでなければなりません。