AutoCAD 2010 :: Use LISP File To Create Tool Palette?
Aug 9, 2013How to use a LISP file to create Tool Palette?
View 3 RepliesHow to use a LISP file to create Tool Palette?
View 3 RepliesLisp that can create layouts (using a dwt--I would code in the file path to my dwt) reading data from a csv file??? I would create the drawings ahead of time, all I would need is to run the lisp and it would create all the layouts in those dwgs and name them according to the csv.
The csv file contains the drawing names in column A and the layout names in column B. So, what I want to do is create "n" number of layouts in specific dwgs, using the cell data it reads from column A--which are the drawing names, and then rename all those layouts with the cell data from B--note it would not create duplicate (existing) tabs. This way I can re-run it later to add new layouts to the drawings as needed.
The reason is that I work on projects with several hundred layouts--thus the need to create layouts more easily across as many drawings as necessary. Instead of renaming/deleting a ton of layouts; it would be easier to start with a minimal template(s) and have the lisp create the exact number of layouts we need instead of going back and making a ton of edits. Since the csv is created at the beginning of the project, any changes later (adding layouts), can easily be done by running the lisp again.
I wrote some LISP programs. I would like to use the output data generated by LISP program in Command arear of AutoCAD. I Heard we can dave the output data into .dat files.
View 9 Replies View RelatedHow do I have a .LSP file load automatically when I open autocad?And how do I put .LSP files in the tool palette?
View 3 Replies View RelatedI am developing 'enterprise' tool palettes which i've put on a networked drive to which i have write permissions and the users have read-only permissions. Within these palettes, each palette has separators and Text titles to group the commands and these groups originally appeared on everyone's computer as i expected when i first made them available. But now when i add new commands to a palette on the networked drive, the new command appears on the correct palette, but at the bottom of the palette, on the user's computers.
I have made provisions for each user to create their own collection of palettes, which are saved on their own directory and, of course, they can do whatever they want with them. But i want to prevent them from re-organizing the enterprise palettes and more importantly, if i add a new command in palette "X" and locate it in group "y" of that palette, i want it to be in that location when the users view it.
Is there some way to make the enterprise palettes on their computers look like i arrange them?
I have created a new tool palette. The tool palette takes the blocs from a drawing.
Now I want to connect this to a catalog, so it can refresh from there. I should be able to export the tool palette with a right click but I only have the possibility to rename, new palette or delete.
I guess that once I have managed to export the catalog I can then easily import the tool palette in my colleagues computer. Also if it links to the same catalog we should be able to easily refresh it.
We use Autocad 2012 with hsbCad.
I'm trying to create a Tool Palette for Autocad 2000 from VB.Net.
View 5 Replies View RelatedIs there a way to create more than one tool palette in AutoCAD instead of just adding tabs onto an existing tool palette?
View 1 Replies View RelatedI heard tool palettes are easy to create and use? I am being able to drop in doors and windows into plans. Is there an easy way to create these tool palettes?
View 2 Replies View RelatedI want to create a new Tool Palette Group. How can I do?
View 6 Replies View RelatedWe use autocad 2011 and we are trying to create a new tool palette. We have no problem dragging and dropping to our existing tool palettes, but we can not drop to anything new we create. We do not have any read/write issues. I have tried saving workspace, restarting CAD just erases the palette i tried to create.
View 2 Replies View RelatedI used this snip it to add the path for network tool palettes. It works but it keeps adding the same search path every time i open a new session of AutoCAD. The list keeps getting longer with the same information. Say you want to make sure your users all have a certain tool palette.
(setq tooldir "z:\1111\2222\test]" toolpaths (vlax-get-property (vlax-get-property (vlax-get-property (vlax-get-acad-object) 'Preferences) 'Files) 'ToolPalettePath))(if (not (vl-string-search tooldir toolpaths)) (vlax-put-property (vlax-get-property (vlax-get-property (vlax-get-acad-object) 'Preferences) 'Files) 'ToolPalettePath (strcat (vl-string-right-trim ";" toolpaths) ";" tooldir) ))(setq tooldir nil toolpaths nil)
It's been too long since I created one of these for Toolbars. I need a macro that will insert and explode a block. I just need the block's content, not the block itself. I can create a maco to explode a block with no path, but can't remember how to include the "*" in a file with a folder path to explode the block while its being inserted. Because of spaces in the file name, quotes (") must be around the path.
View 1 Replies View RelatedI have created our tool palettes that reside on our network. I am setting up a laptop workstation, and use the same tool palettes. The issue is the laptop tool palettes will reside on the C:/ drive, which is not our network drive. Is there an easy way to switch drives without changing each item, on each tool palette?
I have the same directory tree on the laptops C:/ drive, the only exception is the drive letter.
I use this palette all the time and keep the icon displayed (in hidden form) on every session that I open. I started AutoCad this morning and "external reference" icon was not displayed on the screen. I went to the tools tab and selected the external reference palette. A box was displayed that could not be hidden and all screen function were stopped until I closed this box.
I went to customize tool palettes and compared it to the properties palette and they looked the same. I want to get my external reference palette function back to the way it was.
I'm trying to save blocks to a new tool palette and it won't let me.
I'm doing everything I've always done. Right click on the tool palette, click "new palette" then change the name.
the new tab appears on the tool palette. I go then to drag the block from my drawing to the newly made palette.
As I drag over the tool palette with block, the black line appears on the palette as it should, but when I drop it to the palette its not there. I can drag and drop that same block to any of the other tabs on the tool palette whether it's a default one or one that I've made previously. I've done this process a thousand times, it always worked without a problem. All of a sudden it doesn't. I havent made any changes to my pc or os except for the microsoft updates.
I've also tried to load the blocks from design center to the new palette, no success!
I've checked to make sure tool palettes are saving to the right file....
C:Documents and Settingsuser nameApplication DataAutodeskAutoCAD 2011R18.1enusupportTool PalettePalettes
and they are not read only!
I'm running Windows XP Pro, never had any issues until now.
Is there an patch or update to fix this
Is there something I'm missing
It's very frustrating, when you can't work on a project the way your used to
How do I keep the tool palette from going back to the default after I set it up?
View 2 Replies View RelatedI have a section cut that I use from my tool palette that disappears from paperspace. It shows up in model space and everything else I use from my tool palette shows in both model and paperspace. I have all layers on, unfrozen, etc. They are not on my defpoints layer either. It just seems to be that particular block that is disappearing. Its the strangest thing. One day it worked just fine and the next it started doing this.
View 5 Replies View RelatedI have created multiple tool palettes that i load depending on whether im working on a rcp plan or a toilet room plan, etc. On the right hand side it says Tool Palettes - All Palettes. How to rename that to say rcp,civil, etc? If I right click on the right side of the tool palette & select rename it renames all tool palettes to whatever I type in. I thought it might be tool palette groups but I am not sure. I can't seem to set one to be current. The selection is grayed out
View 3 Replies View RelatedI have a problem in Autocad2011model space when I drag blocks from the tool palette they disappear. The block initially appears when I grab it and drag it across the model space. Then when I go to insert it in position on the drawing as per normal it then vanishes. If I insert the same blocks using the 'insert block' method the blocks insert normally.
View 6 Replies View RelatedWe are having an issue while inserting blocks from the tool palette. Inserting a block from the tool palette takes about 5 seconds per block. Pick a block, wait 5 seconds, pick insertion point. Last week it took maybe 1 second. It doesn't sound like much, but we use alot of blocks everyday, and waiting 5 seconds everytime gets annoying. Especially when it used to be almost instantanious. We also have our blocks in our template. The template is on the server. If you type insert, and insert the block that way, it loads fast, like it used to using the tool palette.
Most of the blocks are simple text or shapes. None are dynamic. We also have some hatches in there, that are unaffected by the delay. They insert quickly.
Another thing has changed. The time it takes to change to a different tab on the palette has grown. A tab with about 10 blocks used to take about 6 seconds to load, now takes a good 30 seconds. And a tab with about 30 blocks that used to take about 12 seconds, now takes about a minute and a half! Once the tool palette and each tab has been opened for the first time, say first thing in the morning when cad is first opened, the delay is gone. They switch betweeen tabs with no delays.
The only thing that I know of that has changed that coincides with this is last week we made a few changes to the template. We removed a few sheets that we no longer use. Could this have done something? The blocks are still in the template. We have 3 pc's that are affected in the same way, at the same time.
I've tried a few things to remedy this. I am by no means a cad guru. I created a .dwg with all the blocks in it. Made another tab on the tool palette using the blocks from the .dwg. Still the same delay. I tried creating a new palette using the design center and the blocks .dwg I made, but cad locks up on me and I have to restart cad. I tried that twice, same result.
We are running AutoCAD Civil 3D 2010 on Vista Business 64bit.
my tool palette causes a systematic crash at startup .
is there a way to launch without opening toolpalettes .?
For some reason, the tool palette I usually use is not accessible. I opened a drawing that a co-worker was using and my tool palette now looks like an old version - it doesn't have any of my custom tools in it. How do I get back my tool palette??
View 1 Replies View RelatedI don't know why but I don't see images of my dynamic blocks at tool palette.
View 6 Replies View RelatedWhenever I insert a block into my drawing from the Tool Palette, Autocad creates a Text Style and Dimension Style,both named Annotative. This happens on any drawing, with any block.
I can purge them after the block has been inserted. They are NOT nested in the blocks. I have tried recreated the tool. Nothing seems to be working.
tool palettes from a directory called ACAD2008 to ACAD2012. Tool palettes can't find the associated blocks because the support path still points to the ACAD200 Directory.
Is there a way to "globally" change the associated path? There are too many blocks to think about changing each one manually.
Is there anyway to add a tool palette into a work space using the customize user interface?
View 2 Replies View RelatedI am new to using Tool Palettes. I have created a folder on my C: drive which contains all my tool palettes. Right now, I get the symbol of a circle with a line drawn through it and cannot use my tool palettes.
In the Options tab, I noticed that there are the "Tool Palettes File Locations" and also "Authoring Palette File Locations". What is the difference between the two? Do I need to do something to both so I can use my tool palettes without difficulty?
I wan´t to delete a palette from Autocad Tool Palette. How can I do?
View 3 Replies View RelatedI'm trying to save a dwg file in .net using lisp and it works fine for local files, but when I try to save on server it doesn't work.
here's the
//acApp is an instance of Autodesk.Autocad.Interop.AcadApplication.
acApp..ActiveDocument.SendCommand(string.Format("(defun caveFile() (Command "saveas" 2010 "{0}"))
",path));
acApp.ActiveDocument.SendCommand("SaveFile
");
when path parameter is set to @"d:\test.dwg" it works and saves the file but when set to @"\\server\New Folder"\test.dwg" it does not work.what should I do?.
So I am trying to create a TP that has a few commands on it... the problem is I dont know where to start in order to make everything available to the others on my network...
I have created a new GROUP, dragged a palette into that group, made my commands, and they work on my PC... but how do I get them all so everone can see them. Exporting the "command tool samples" and importing it as "My layers" works, but the name is still command tool samples and breaks the actual command tool samples...
C3D 2010