Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 979 Bytes

CC_Device.md

File metadata and controls

42 lines (35 loc) · 979 Bytes

CC_Device

Description

Creates a ConnectCAD device with the given properties. Power should be in W. Weight should be in KG. If make and model match a database entry, database values take precedence. Returns the handle of the created device.

FUNCTION CC_Device(
				name        : STRING;
				make        : STRING;
				model       : STRING;
				description : STRING;
				power (W)   : REAL;
				weight (kg) : REAL;
				fieldHeight : REAL;
				fieldWidth  : REAL;
				fieldDepth  : REAL) : HANDLE;
def vs.CC_Device(name, make, model, description, power (W), weight (kg), fieldHeight, fieldWidth, fieldDepth):
    return HANDLE

Parameters

Name Type Description
name STRING
make STRING
model STRING
description STRING
power (W) REAL
weight (kg) REAL
fieldHeight REAL
fieldWidth REAL
fieldDepth REAL

Version

Availability: from Vectorworks 2027

Category