Update AUTOCAD Drawing Using EXCEL formulas - Part 4
Excel_ing CAD - HYPERLINK, HATCH, ENCIRCLE
- HYPERLINK ADDRESS TO AREA OR OBJECT
- HATCHING UNDER BOUNDARY WITH CONDITIONAL COLORS
- ENCIRCLE THE TEXT AND MASK
- Get the Coordinates where we want to define the values as text/object. (Explained in Part-1)
- The area can be defined with 4 coordinates in a CAD file.
Hyperlink Formula: ="(command ""-hyperlink"""&" "&""""&"I"&""""&" "&""""&"A"&""""&" "&""""&[@X]&""""&""""&[@Y]&""""&""""&[@LINK]&""""&""""&""""&""""&[@LO]&""""&")"
RESULT: (command "-hyperlink" "I" "A" "2718683.6831,-1817319.5005""2719233.6831,-1816819.5005""https://www.google.com/doodles""""1")
HATCH Formula: =[@[HATCH-HELPER]]&[@[X,Y-1]]&" "&[@[X,Y-2]]&" "&[@[X,Y-3]]&" "&[@[X,Y-4]]&" "&[@CLOSE]&" "&" "
RESULT: -HATCH CO 30 W N 2718683.6831,-1816319.5005 2719233.6831,-1816319.5005 2719233.6831,-1815819.5005 2718683.6831,-1815819.5005 C
ENCIRCLE Formula: ="-TCIRCLE"&" "&[@[X-T]]&","&[@[Y-T]]&" "&" "&0.35&" "&"S"&" "&"V"
RESULT: -TCIRCLE 2719763.3475,-1816063.3271 0.35 S V
SIMILARLY FOR MASKING AND UNMASKING
MASK Formula: ="-TEXTMASK"&" "&[@[X-T]]&","&[@[Y-T]]&" "
UNMASK Formula: ="TEXTUNMASK"&" "&[@[X-T]]&","&[@[Y-T]]&" "
Comments
Post a Comment