Visual Lisp script for link photo from autocad block attribute


Autocad block attribute

This visual lisp script creates a link between the autocad block attribute 'ID_pnt' (see photo) and the photo in the corresponding directory (see example c:\sample\x_foto\TB???, TB001, TB002 etc)
The command 'Link' (file link_photo.lsp)syntax is:


Dialog box Link photo vicual lisp script

Syntax of the commands:

Extract all file and copy to c:
In case of problem with dialog box windows (autocad don't find file base.dcl) follow these steps:
1)write in the command line : '_options'
2)select 'File'
3)select 'support file search path'
4)select 'browse'
5)select destination path 'Program Files/AutoCAD 2015(yourversion)/UserDataCache/en-EN(yourlenguage)/support' and press 'ok'

The script also contains the command 'make_dir', which allows you to create directories related to autocad blocks (ex. TB001, TB002, TB003 etc.)
The command 'make_dir':

The demo of this application is provided FREE by cadoptimize.com


Home
Profile
Lisp product
Download
Contact us

Linear interpolation 64x >    Longitudinal profile >    Map making >     Lisp Surface elevation 64x >   

lisp applications

Free lisp update block attribute >    Free lisp link photo from block >    Free lisp polyline to points >    NEW Free lisp circle selection >   

lisp cad video youtubecad linkedin


Application Lisp Applicazioni Lisp lisp applikationer Lisp-Anwendungen 口齒不清的應用             Valid HTML 4.01 Transitional