AutoCAD Visual LISP / AutoLISP :: Different DWG Version Icons In Windows Explorer

May 23, 2013

Back in the day, there was an application that showed the drawing version # in the icon in windows explorer.  That was good for then, because of the lack of object data in many of the vertices.  The link I have isn't valid anymore and it didn't work in Win7.   

What I'd like to have is something that will show the different Acad versions related to the icon using the product ID, for example:

ACAD-5xxx = 2007 
ACAD-6xxx = 2008
ACAD-7xxx = 2009
ACAD-8xxx = 2010
ACAD-9xxx = 2011

then in 2012 they changed to Axxx

2013 = Bxxx (???) I dont' have 2013 loaded
2014 = Dxxx (what happened to Cxxx?)

With the lack of backward compatibility between versions for objects (and I totally get that), it would be nice to be able to tell by an icon which version was used to create the drawing.  I know the version information is stored in the header, which can be read, I'm just not a programmer.  

View 3 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Custom Plot From Windows Explorer

Jan 27, 2012

Goal: using the native windows explorer, Open the folder containing the the multitude of drawings from different vendors and customers, usually 30 -40 .dwg files.

Highlight all the files, Right click print.behind the scenes without any further clicking or involvement from the user autocad plots the extents of model space of all the drawings to a designated plotter fit to 11x17 sheets. 

Acad 2012
Win 7

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Make Summaryinfo Visible In Explorer?

Aug 27, 2012

i want to put the information of summaryinfo into the property of the file visible in the file explorer of windows XP

(setq activedocument (vla-get-activedocument (vlax-get-acad-object)))

i want to  put this in the properties of the file (vla-get-title   SummaryInfo)

because if i set the summaryInfo in autocad, when i open the explorer this information is not here

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Blurry CUI Icons

Jan 17, 2013

Before I get to my problem, let me give you a brief description of our environment.  I recently created a custom GUI for my company that uses mostly macros to insert blocks. This gui is loaded as a partial into the machine.

Now, personally I don't like going back and forth between 3 tabs all day long, and I can get the bulk of the panels/tools I use (whether they were from ACAD or my own partial CUI) all into tab. I create the new tab, and drag and drop any panels I want from ACAD & the partial into this new tab.  Then I customize my workspace and add the tab.  I have a problem though with some of the icons from my partial coming in blurry, and I can't seem to fix it.

I've tried everything I can think of. The steps I've tried are:

Going to the CUI, selecting the command (under MEP, not my partial name), deleting the icons for both large & small icons, then re-linking them. Didn't workSame as above, but rather than deleting the icons, I edit the icon, and import the one I want to replace it with. Still doesn't work.Same as above, but tried clicking on the icon directly and selecting import. I've attached 2 pictures.

I'm using a 22" monitor, and have more horizontal room and no tabs are being collapsed.

I added another attachment to show the Lutron wires from the partial. This attachment is "partial icons2"

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Transparency In PNG Icons

May 6, 2011

I'm customizing a ribbon using png icons, but the background color appears in black.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Multi-line Tooltip For Icons?

Feb 24, 2013

I have some my own Icons on my Toolbar in Autocad that prepared by myself,

I can define tooltip for those icons by "Description" property of icons in CUI.

but the limitation is: I will have just single-line and simple tooltips!

so, how can I define multi-line tooltips for my own icons? or even graphical tooltip?!

should I use "Zammel" language? 

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Extracting HKCU Path From Unknown Version Workstation?

Jan 6, 2012

I have the following path declared for a R2007 workstation:

(setq rr (strcat "HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.0\ACAD-5001:409\Profiles\" (getvar 'CPROFILE)))

How can I extract this path without manually declaring it?

Something like:

(VL-Get-Registry-Path-Prefix (getvar 'CPROFILE))

Which will result in the following statement:

(setq rr (strcat (VL-Get-Registry-Path-Prefix (getvar 'CPROFILE)) (getvar 'CPROFILE)))

Dyslexia is a permanent physical disability that cannot be seen.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Any Way To Force Wblock Method To Save As Previous Version?

Jun 4, 2012

I am using Autocad 2013, and need to have lisp wblock to a 2010 format file.  Is there a way I can force it to, without the trouble of opening the file dialog box and setting the format there?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Plot In A File Some Windows?

Jan 24, 2001

I need to plot in a file some windows from a LISP, like (command "-plot"...

The windows are defined in a list of points like (((0 0 0)(10 10 0))...) defining lower-left and upper-right corners. Each .plt file must be saved with a different name.

Is it possible from AutoLISP in 2000?

View 3 Replies View Related

Paint Shop Pro :: View Icons In Windows Explorer

Oct 19, 2011

How to view psp images in Windows Explorer (I have Windows 7 - 64 bit)? When I am in PSP X3 I open my files by going to "file" then "open". I get the standard psp icon instead of the actual pic view. PSD and PNG files show up, PSP images do not.

I do not like using the pic display at the bottom of my screen. I want the largest workspace possible.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Draw Doors And Windows In 3D From Block In 2D

Jul 4, 2013

i make  a lips that  draw doors and window in 3d from block in 2d......the problem..It does not work in all autcad¡¡ the same version but different  pc.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Creating A PDF And Putting It Into The Windows Desktop?

Dec 2, 2011

cannot find a way to create a pdf and saving it into a desktop.  Basically, in the -plot command, there should be an option to allow it to save to C:documents and settings"username"desktopfilename.pdf"

See the command line used:

(COMMAND "-PLOT" "Y" "" "DWG to PDF.pc3" "30 x 42" "Inches" "Landscape" "No" "Extents" "1=1" "CENTER" "Yes" "Fullsize.ctb" "yes" "No" "No" "No" "C:\Documents and Settings\Username\Desktop\Filename.pdf" "N" "Y")

The objective is to allow the lisp to plug in whichever username and automatically creating a pdf based on the filename.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Load LSP File Named For Windows Login

Sep 14, 2012

If my windows login name is HSIMPSON and i have created HSIMPSON.lsp in a Supported Directory, how do I load that Lisp file via the command line?

I have tried:

(load "loginname")

but that doesn't work because the 'load' command seems to want an explicit name, not a variable name.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Open Windows Folder Of Current Drawing?

Jun 5, 2013

How to create lisp which i can simply type in to the command bar so that the current drawing's filepath-folder will be automatically opened by windows explorer?

running AutoCAD 2012 / Windows 7...

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Continuous Dimension Lisp That Alternate Its Position

Jul 12, 2012

Is there a lisp that will allow me to do a continuous dimension, but will alternate the dimension position from low, high, low and high?  If there is no lisp already created, how to create one? 

See Continuous dimension attachment for example.

I work at a glass and glazing company and this is how we dimension mullion width and DLO. See typical window dimensioning attachment for window elevation with dimensions.

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Add String To Each Item In List Using Lisp

Nov 14, 2013

I have a list ("temp.dwg" "temp2.dwg") and would like to add the string "insert text here" into each item in the list resulting in ("insert text heretemp.dwg" "insert textheretemp2.dwg").  how would i go about doing that using LISP?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Opening Drawings With Default Visual Style Set To 2D Wireframe

Oct 7, 2013

Is there a way to programatically set a visual style before a drawing actually opens?

We have some huge models and people seem to forget to change their visual styles back to 2D wireframe before saving and exiting drawings.  Some models will crash on some workstations when trying to open in a rendered mode.

I found a lisp with a function that looked to set viewport visual styles.  But it does not seem to be supported anymore. --> (vla-put-VisualStyle vport 1)

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Write A Lisp Routine That Invoke The Mleader Command

Oct 11, 2012

I'm trying to write a lisp routine that, when I invoke the mleader command, osmode is set to "nearest" & orthomode is set off. I then would like the original settings to be returned.

attached is what I have written so far:-

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Visual Effect Settings?

Jun 20, 2013

Lisp that switches back on Selection Preview i.e. thickens and highlights lines when you hover over them?I don't know why, but they are always unticking the boxes.

View 4 Replies View Related

AutoCAD 2013 :: DWG Icons In Explorer

Oct 25, 2012

Is there a way to update old dwg files in mass to show the drawing preview in explorer ?

View 3 Replies View Related

AutoCAD 2010 :: DWG Icons In Explorer Missing

Sep 29, 2010

With 2011 I have noticed my DWG icons in explorer are displaying the generic icon and not the new DWG icon.I have gone through the Folder options and File Types tab to try to reassign it but no luck.

View 5 Replies View Related

AutoCAD Inventor :: Dwf Preview In Windows Explorer Windows 7 64?

Sep 8, 2011

We can preview the DWF files in Windows Explorer with Windows XP but cannot seem to be able to with Windows 7 64. 

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Combinations In DCL?

Sep 7, 2012

Is it possible to execute a certain command based on multiple selections withinin a dcl?  for example:  two radio colums, one with selections A and B, and a second with selections 1 and 2.  is it possible to program commands based on user selections from each column?  ex: if A and 1- do a command.  A 2- do a different command, etc...

I tried :

 (action_tile "key1" "(setq A t")
 (action_tile "key2" "(setq B t")

 (action_tile "key3" "(setq 1 t)(done_dialog)")
 (action_tile "key4" "(setq 2 t)(done_dialog)")

(if
(and (a) (1)
)
(command ...

but was unsuccessful.  no matter which combination was selected, the command under all combinations would run.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Get Attribute Value

Jun 3, 2013

I am trying to find a lisp that would get an attribute value (tag name = NBR_5) . I'm trying to run a simple routine that would let the user place the value from the titleblock attribute as text on a drawing. I see a ton of articles regarding getting attributes but I am not well versed in programming.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Nil At The End Of Command

Jun 22, 2012

I have a routine that work fine, but I receive a nil at the end of command. How to fix that?

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: 3D Point From X And Y?

Oct 9, 2013

I'm trying to find acceptable point values to feed to the vlax-3d-point function for a vla-addmtext function. With vanilla lisp I just provide the point as x y = "7/32" "2-3/8". So I assumed that I could drop a 0 in for the z like: (VLAX-3D-POINT "7/32" "2-3/8" 0).

Then I thought I was going to be tricksy and try (vlax-3D-point (getpoint)) believing that I could pick the point and get what I need to feed the function, but yet again, no deal. The command line gave me: 

node
of #<variant 8197 ...>

Nothing I can use in my code. So how do I find the point in a format that vlax-3d-point will like?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Put Point At Each End Of Arc?

Dec 19, 2011

What is the magic word for put a point at each end of an arc, the lisp I have only put a point at center of the arc.
 
(defun cAA ( / i j ss e1 e2 p1 p2 p3 points )
(if (setq i -1 ss (ssget '((0 . "ARC"))))
(progn

[Code].....

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Get The Value Of Attribute

Dec 30, 2011

Is there a quick way of getting the value of an attribute?

I have an attributed block called "tp_attributes" and it has and attribute called "OrderNum".

I just want to be able to quickly grab that value.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Use Of The Alt Key In A Macro

May 29, 2013

I use Spell Check regularly and I always check the entire drawing. I would like to add to the Spell macro so that when I pick Spell from the toolbar it goes past the Check Spelling window and begins checking the entire drawing.

I believe I need to  insert Alt S into my macro to select Start from the window to begin the check. Is there a character or series of characters that will represent Alt in a macro?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Toggle Between PS And MS

Nov 8, 2011

I upgraded from Autocad 2004 to 2012 recently and my lisp file doesnt work anymore.

what it's supposed to do is when looking at the layout tab that you want you can switch to the model space location of the same zoom as the layout tab without messing with the layout zoom.

(defun c:msp ()
(setq cm (getvar "cmdecho"))
(setvar "cmdecho" 0)
(command"view" "d" "tmp")
(setvar "tilemode" 0)
(command"pspace")
(princ "Click TWICE on desired VPORT: ")
(command "mspace" pause "view" "s" "tmp")(princ)
(setvar "tilemode" 1)
(command "view" "r" "tmp")
(setvar"cmdecho" cm)
(princ)
)

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: DOS DIR Command

Oct 27, 2012

I need a program that simulate this DOS command: dir /on/b *.dwg >list.txt

it list all dwg files on current open dwg file folder and sort them and finally put them in a text file with list.txt name. something like thistype list.txt)

test1.dwg
test2.dwg
test100.dwg
test256.dwg
test1005.dwg

(sort alphabetically and logically) because of disabled DOS utility in my PC I need a pure lisp functions, I tried to wrote this program but I couldn't!!

(defun c:listMaker()
(vl-load-com)
(setq path (getvar "dwgprefix"))
(setq fn "list.txt")
[code]...

and also I need a append a string(='This Is EOF') in the last line of the "list.txt" file.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved