AutoCAD Visual LISP / AutoLISP :: Ribbon Button Image Won't Repopulate After Modifying Bitmap Image

May 21, 2013

I am updating my CUI ribbon for some of my customized buttons.  I have changed some of the bitmap images that I have saved in my network folder for the network AutoCAD customization.  However, I cannot get the Ribbon to update to show the new button images.  

I have opened the CUI, browsed down to the partial CUI for our corporate configuration, then to the "Ribbon", then to the "Tabs", then to the individual section of the tab and clicked on it.  Then I click on the specific button in the "Panel Preview" pane to get the properties for that button to show.  Then at the bottom of the "Properties" panel, I click on the "Small Image" line to see the three dots that allow you to browse to where the .bmp is stored.  I have not renamed the bitmaps, but just modified their color and the way they look.  So I have to change the .bmp file to a different location in the small image properties, then change it back to the correct image name.  It will update the appearance in the "Panel Preview", but will not update the actual ribbon.  I click on "Apply" and "OK", and it still doesn't update the actual ribbon.  I have tried closing and restarting AutoCAD after that.  As a last resort, I rebooted to see if that would complete the change, but in vain.

I made sure that the network location for the bitmap files is listed in my Options > Support File Search Path (very near the top of the support file list), but that still isn't solving the problem.

How to get AutoCAD to completely forget the old image that is showing on the ribbon and repopulate it with the updated bitmap image?

View 1 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Ribbon Button - Custom Schedules

Feb 18, 2013

How to add buttons and create my own ribbon in AutoCAD, but now I would like to be able to have buttons for two different schedules that I have created. While I can have a button start the schedule command it won't automatically pick the schedule that I want it to create.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Tool Button Image Missing?

Jul 13, 2011

I added a couple of standard Autocad MAP tabs to a custom  panel and in my custom workspace some of the button images don't show up. If I go to the Planning & Analysis workspace, the images are visible, but in the custom workspace, all I get are clouds with a question mark.

I attached two screen shots.

Civil3D 2014 SP1
Win 7 Professional - 64-bit
HP Z400
Xeon W3550 @ 3.07Ghz
24GB of RAM
Nvidia GeForce GTX 760

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Customize Ribbon Panel In Ribbon Tab

Nov 28, 2012

I am trying to customize Autocad 2012 ribbon tab. I can't seem to find how to mimic the small arrow that appears in several of the standard menus. For example, in the 3D Solids - Home Tab, the second panel from the left is "3D Solids Home - Mesh" It has a small arrow in the corner that opens up a preferences dialogue box.

How can I add that arrow to a custom panel with that little arrow so that I can add my command to it?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Modifying Polyline From Fit / Smooth Cubic To None

Jul 5, 2012

I have many drawings with blocks containing polylines set with property Fit/Smooth = cubic. For conversion purposes, I need to change them to FIt/Smooth = none. It is easy with the Properties palette but, because I have lots of drawings to fix, I want to write a lisp routine. Any VLA-SET-xxx  property that will allow me to do it in lisp? 

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Modifying A Replace Block Script

Nov 26, 2012

Is there a way to modify this script so you don't have to manually choose the blocks. Instead have it find all block names starting with "Supply Diffuser 24x24" and replace them with a block in the drawing named V01.
 
(defun C:CHANGEBLOCKS(/ printDebug ssAll ssAllTotal ss ssTotal ssCount ssCount2 ssTotal ssMainBlock ssMainBlock entListMainBlock ssBlocks entListBlock entListBlock2 entElementNewBlock entElementOldBlock entElementOldBlock2 oldBlockName) ;PROGRAM CHANGES MULTIPLE BLOCKS ;WRITTEN BY --- RAUL BENITEZ ;Command reference ;subst - returns a list with a new item substituted for every occurrence of an old item ;quote (or ') - easy way to make the string into a list. ;cdr - returns a list containing all but the first element of
[code].......

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Reading .xlsx Files And Modifying A Block?

Feb 7, 2013

Is it possible to write an AutoLISP script to read an .xlsx file and use the data in the various cells to modify a block within a .dwg?

Ex.: We use Flow Control Modules (FCMs) and use AutoCAD Electrical to show electrical contractors where/how to wire up the devices. In AutoCAD, we have blocks for various types of FCMs, and each block has terminals which are tagged DESCA1, DESCA2, DESCA3, etc. Each of these tags will change based on what the particular FCM is used for. 

We also have .xls(x) files we call FCM Maps, which come from our engineers and tell the drafters how to lay out the .dwg files. 

Is it possible to write a LISP script to take, say, cell A1 from the .xlsx file, and put that data into DESCA2 in the block, cell A2 into DESCA3, and so on?

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Creating And Modifying MESH (SubDSurface) Entities?

Dec 25, 2012

I have uploaded the handout for my AU2012 class to Google Drive. The link is [URL] It contains the detailed explanation for all the source code used in entmake-ing and entmod-ing the new MESH (aka Subdivision Surfaces) entities. [URL]

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Routine For Modifying Object Properties In Multiple Blocks?

Dec 27, 2013

I have a CAD file with a couple hundred detail blocks in it, and I am trying to standardize them without haing to block edit each detail block.

What i am trying to do in each block is as follows:

- Explode all dimensions, leaders, and blocks

- Change all objects to layer "0"

- Change all lineweights to default

- Change all object on colors 7 and bylayer to byblock

- Change all text and mtext to arial font

- Delete all points

Civil 3D x64 2012
Win 7 x64 Ultimate
I7 3820 (3.6ghz quad core with HT)
32gig RAM (Corsair XMS3 4x8g)
Intel x z79 mobo (BOXDX79TO 2011 socket)
Radeon HD 7850 2gb GDDR5

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Enterprise CUI Ribbon

Jan 7, 2011

I have created a seperate CUI for use as an enterprise menu. My issue is when I set my main CUI as ACAD.cuix and my new CUI as enterprise, the custom ribbons created in the enterprise file does not show in the panel.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Extract Image Name From WMS

Nov 25, 2013

I have a drawing that has an aerial Images inserted into it using a WMS Connection How to extract Image Name through Autolisp from this

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Ribbon And Icon Design

Sep 24, 2010

I'm working on a Ribbon and Icon design for our software and I'm having some issues getting my icons to appear the same way they do in AutoCAD.  When I hover over an icon on my custom Ribbon there is a white box around the icon (see Ribbon.jpg), but when I hover over an AutoCAD icon the white box does not appear (see Ribbonii.jpg).  

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Ribbon Polyline Command

Jul 29, 2013

Creating a ribbon for Partial Customization files in the CUI, and I am trying to setup some buttons for existing polylines for example underground electric and overhead electric. When writing the macro what are some ideas for creating a polyline with the proper linetype for that particular object rather than changing the layer in layer properties dialogue.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change Color In Ribbon

Jul 2, 2012

In our 2010 version users used the "OPT Color Control" in a toolbar. When we went to 2012 we switched our users to the Ribbon. I am not able to move this Control to a ribbon panel. I can place in a toolbar and it works okay. Best I could find is "ACObjectColorCombo", Object Color Gallery drop down. Unfortunately I find that this drop down doesn't handle a selection set the way the 2010 toolbar did. I find that one cannot reliably pick a selection and use this to change objects to color bylayer. I can pick the object prior to using the OPT Color Control and they work fine. I pick the same objects and use the Combo box and sometime they are found and change other times I pick one or two and they work.

Is there a way to move this toolbar control to the ribbon, it will not let me drag and drop to a panel in the CUI.

Is there another solution to change object(s) color in a drop down from a ribbon panel? I have tried searching but am not finding other commands or control with selection drop down in the CUI. (Our choice is not to use the Properties dialog. Which, by the way, does work every time on the objects.)

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Ribbon Icon Grayed Out

Jan 16, 2012

Is it possible to have a custom grayed out icon in the ribbon when this icon has been used at least once? For example, the user clicks on this icon and it becomes gray to notify the user it has been used. The purpose is to load certain DLL with Netload only once.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Custom Ribbon Tab Is Not Visible?

Nov 7, 2011

I have tried everything even un-installing and re-installing. I have customized programs that have been working properly for months by many individuals. These include custom menus, toolbars and ribbon tabs. One day last week one of the ribbon tabs disappeared. The crazy thing is if I load the .cuix file as an Enterprise cui, everything is visible and works just fine. BUT, when I load it as a partial cuix file the ribbon tab does not show up. The custom menus come in, my custom toolbars work and show up just fine but the dag blasted ribbon tab won't show up.

Yes, it's marked as visible. I've done and redone the cui editor, customized my workspace again and again checking every piece of information. I need to have it loaded as a partial cui file as I am the author of these tools that hundreds of people in my company depend on.

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Dimensions Of Image Slide (DCL And LSP)

Jul 16, 2012

I'm not able to control the dimensions of image slide..Whatever value I use for height and width the image is displayed too small in the tile.

here's my
: image {
       key = "sld";
       height = 5;
       width = 30;
[code]....

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Image Tile Menu

Oct 24, 2013

I am upgrading from 2010 to 2013 and am having a problem with my image tile menu not showing my  slides. The dialog box comes up but none of the slides can be viewed. I am using the macro $I=acadbja.GENPLAN1 $I=*  Is there an updated command the super cedes this command?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Missing Ribbon Combo Box - Workspace

May 14, 2013

I am unable to find the "Ribbon Combo Box - Workspace" to our 2013 MEP or ACA CUI. It is visible in vanilla AutoCAD 2013, but it isn't listed in the Command List (under Ribbon Control Elements). I am unable to transfer it from AutoCAD's cuix either. We typically have this control in our Quick Access Toolbar, but I am unable to create this same environment in the 2013 verticals.

I am unable to see it even using one of the default profiles, like "AutoCAD Architecture (US Imperial)".

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Put List Of Open Drawings Onto Ribbon?

Dec 3, 2012

I want to put the list of open drawings (like the window tab on the menubar has) onto the ribbon? Is this possible?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Remove Proxy Image From Block

Jul 31, 2013

LISP application that will remove Proxy Images from inside a selected block?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Nested Drop Down List In A Ribbon Panels?

Feb 22, 2012

how to create a nested drop down list in a ribbon panel.

is it even possible. It must be, but I don’t know how Autodesk managed to do it in the C3D.cuix for the create ground data panel, point drop down.

second question, where is the icon for a drop down list saved.

looking at a C3D dropdown list icon there is no path to the icon, but when I create one it shows a path.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Ribbon Minimize State Not Remembering Selection?

Aug 9, 2013

toggling ribbonclose and ribbon but that did not answer my question. I'm using AutoCAD 2014 and there is a setting to either toggle through all ribbon states or you can select one.  You can cycle through:

Minimize to Tabs

Minimize to Panel Tiles

Minimize to Panel Buttons or

Cycle Through All

I want it to always minimze to tabs but when I close CAD and re-open it doesn't remember that selection and always cycles through all minimized states again.

I don't see any system variable or registry value that seems to save this. how I can make it remember?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Dialog Box Button

Feb 15, 2012

I would like to creat a dialog box with buttons or radio buttons to insert various blocks.  something easy to start the dialogue, push the button desired and my block or lisp is inserted or run. I have the dcl part figured out.  i'm not quite smart enough to get the lisp down.  is there a generic lisp that can reference a lisp command that i can alter or edit and add to?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Dialog Image From 2005 Not Displaying In V2012

Mar 13, 2012

I'm trying to bring a lsp routine up to date and it's almost as if I'm a newbie again.  A dialog image worked okay in 2005 but in version 2012 displays poorly.  So I made a new slide in 2012 and saved it to the same name as the old one,  HobMasterDialog.sld, and placed it in the same folder as the old one.  However, when the dialog appears the rectangular area for the image is blank.

What am I forgetting?

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Calling Image Tile Menu From Routine?

Nov 18, 2011

What is the code to call an image tile menu from a lisp command. I currently have a menu item that calls this image tile menu: $I=TYPSMBL1 $I=* but I want to have a keyboard shortcut as well "SL".

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Add Symbols To Text Edit Ribbon Under Symbol Icon?

Jun 14, 2013

Is there a way to add symbols to the text edit ribbon under the symbol icon

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Running Code As Macro (custom Command In Ribbon)

Dec 23, 2011

So I can run the following code from the command line with no problem:

  (WRK-Insert_Standards_Block '("S:\AUTOCAD\_Common\Linetypes\CSW_Civil-Linetype"))
  (WRK-Insert_Standards_Block '("S:\AUTOCAD\_Common\Linetypes\CSW_Survey-Linetype"))
  (WRK-Layer_Insert_all "CSW-X-FM_Layers_List")

However when I put it into a macro (custom command to be used from the ribbon) it spits out the following in my command line:

(WRK-Insert_Standards_Block '("S:

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Locking Several Layers With One Button

Aug 23, 2011

What the require setting to enable me to lock of several layer continuously when i click the "LAYER OFF" button at the toolbar? I wish to set to be like whenever i use the "LAYER OFF" command, i can direct just continue to click several layers for it to be turn off.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Text File With A List Of Image Tile Names

Jun 12, 2013

I have a text file with a list of image tile names with their bottom left hand easting and northing see attached. I have a lisp that asks for the name of the image then should  insert the image at its coordinate with a predefined scale and rotation but it isn't working so I would like an alternative method to test.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change (Reference Name) Of Attached IMAGE Xref TIFF

Feb 13, 2013

I am trying to write a LISP that does the following:

-Open drawing

-Saveas as NEW drawing based on certain criteria from DCL menu

-Deletes old drawing

-*THEN, if drawing contain attached IMAGE FILE (.tiff in my case)

-Rename image file and repath image file based on the new file name

I have gotten it to do all of this, except I can not figure out how to change the "reference name" of the attached image file (.tiff)

Is this read-only data? I can manualy change it under xref manager, so there should be a way to do it via code...

The closest I have gotten:

;;after renaming and repath image file...

(SETQ NAME2 (substr (getvar "dwgname") 1 (- (strlen (getvar "dwgname")) 4)))
(setq item (vlax-ename->vla-object (entlast)));convert to vl object
 (setq check (vlax-property-available-p item "Name" T));check if the entity can be updated
  ;if it can
  (if check
   ;change value to match
   (vlax-put-property item 'Name NAME2))

'Name seems to be valid w/ xref'd blocks but not xref'd/attached image files..

View 1 Replies View Related







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