Quantcast
Channel: Autodesk India Community aggregator
Viewing all articles
Browse latest Browse all 1680

AutoCAD Customization: Visual LISP, AutoLISP and General Customization: Variable in Path to Block in Tool Palette?

$
0
0

I would like to use a variable to set the path to our block library then append the sub-folders and block names to that when inserting block from a tool palette.  It seems like it should be possible since the path to some of ACAD's demo blocks reads: "%SampleFolderLang%\Dynamic Blocks\Annotation - Imperial.dwg"

 

Unfortunately when I try to edit a block's path through right-clicking a block in a tool palette and selecting "Properties..." I am forced into a dialog box and forced to navigate to a folder in addition to typing a path into the text box.  Whatever path exists is appended to the front of what is typed into the box.  I tried to navigate all the way to the root directory but I am given an "invalid" message when I try so select this as the source folder.

 

Is there any other way to edit a blocks path in a tool palette or to otherwise achieve this goal?

 

Thnaks!


Viewing all articles
Browse latest Browse all 1680

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>