AutoCAD VBA - simple code to draw line with colour information

Simple Code to Draw lines in AutoCAD VBA

'call statement

Call drawline(x1, y1, x2, y2, 1)

replace x1, y1, x2, y2 with your X and Y cordinates

replace 1 with colour of choice

available colours

1 : White

2 : Cyan

3 : Green

4 : Red

5 : Yellow

6 : Blue

7 : Magenta

 

 

FULL CODE

Tags

DIY KITS

DIY KITS

3D printer CNC Kit for arduino

Included : GRBL CNC Shield +UNO R3 Board + RAMPS 1.4 Mechanical Switch Endstop + DRV8825 A4988 GRBL Stepper Motor Driver with heat sink + Nema 17 Stepper Motor

3D printer CNC Kit for arduino

BUY NOW