AutoCAD Visual LISP / AutoLISP :: Can Add Named View Control To Quick Access Toolbar?
Dec 8, 2011
I've made a failed attempt to add the RIBBONCONTROL Named Views to the main Quick Access Toolbar. The Customize User Interface dialogue box (CUI) seems to allow me to drag the Named Views RIBBONCONTROL from the command list to Quick Access Toolbar 1. I don't see the "forbidden" icon and the blue insert bar shows up when I perform the drag operation.
However, I suspect there is some compatibility issue, because the command doesn't pop up when I release the mouse button at the end of the drag operation. Using command QUICKCUI and trying to drag Named Views RIBBONCONTROL directly to the Quick Access Toolbar (on screen) seems to be allowed likewise, but doesn't work also.
Using the regular View Manager Dialogue is not the kind of solution I'm looking for, because in the View Manager it takes at least twice as much mouse clicks to change to another view.
Any way to reach the desired customization? Should it be reported as a bug to Autodesk?
I have a problem wit Revit 2014 from BDS Premium. I don't have 3D default view icon in Quick Access Toolbar and I can not add it. I tried to right click on QAT and customize it but unfortunately 3D view is not in the list and it can't be added by righ clicking on the icon.
I am in need of a LISP to freeze layers in viewports on named pages. I found the following functions to return the frozen vport, but it only returns the list of already frozen and it only works if the viewport is active; besides just listing the frozen layers isn't enough. I need to be able to supply the page/tab and a list of layers to freeze.
Is it possible to provide the page/tab name and a list of layers as aguments to a subfunction that could either activate the viewport and freeze a list of layers, or simply freeze the layer list for the named page's/tab's corresponding vport.
Important: most of my pages/tabs contain at least two vports. The largest of the two vports is the only one I wish to change, but if the layer list is frozen on all vports (per page/tab) it will make no difference because the smaller vport only requires that layer 0 is visible.
The crux of the matter is that the CANNOSCALE value needs to match an existing named scale. This lisp is part of a bigger lisp and I need to pass a variable into it. Here's what I have:
how to change the font of a specific attribute in all my blocks in a drawing. I am trying to change the INST attribute font to Arial but I have thousands of them through out my project. My other attributes that I do not want to change are using the same Style as this block so I can not simply change the style.
I'm dabbling in lisp to reduce some drafting time. I'm looking for a way to move a named block left 5 inches. The names block in this instance is "Bricks". What would be the easiest way of writing this in lisp form? I searched through the forums and I couldn't find what I was looking for. This is not after an insert command. This is a block that currently exists in the drawing template.
Have a problem seeing my quick access toolbar, there seems to be a white shading over most of it, how I can get rid of shading ? Not a display problem with my screen as only happens in Autocad ! See the attached screenshot .
I also note I could use excel but I have this thing where id like to have the lisp and AutoCAD run independent from other external programs.
I’m the CAD monkey at work and I’m given unbelievable autonomy to what I build (sometimes I confuse work with hobby) put all to one side. My functions often require toolbars with several buttons on them what I would like for one toolbar in particular is to make a most used function button. Better said a button at the beginning of my toolbar, which execute the most used button from within that entire toolbar.
The ideas so far is to add a write-line (append) function lisp for every button this would intern write a button codename/ reference example SNP for snap and SAV for save and so on. All easy I can do this.
What I’m having difficulty with is actually counting the instances of the most used button using lisp. At the moment I’m resorting to a vb.net program, which needs to be shelled first, to recalculate the whole list it works but is messy and quite patch worked. The highest instance would then be used to set a variable, which would be used as the command in the so-called “top 1 tool button”
I have a company .cuix menu that is loaded as a partial menu to the main acad.cuix file. I want to delete all the toolbars and pull down menus associated with it and leave the other stuff in place. This is in Autocad 2011 but should also translate to 2013. So far, I have tried opening the CUI menu, going to the company.cuix partial menu and deleting the toolbars. Then I hit save, then Apply. Toolbars disappear and pulldown menus go away. But when I reload AutoCAD they come back.
I already add in the Quick Access Toolbar the "Layer Combo Control" and the "Ribbon Combo Box - Linetypes"
I would like to add also "Ribbon Combo Box - Object Color" BUT it seems impossible...
I copy it from Panels - Home - Properties and put it into Quick access Toolbar, but it never shows up and worse when I go back to CUI it has dissappeared...
The only things that works is the "color" function.
Every time I try to use the CUI: create a new ribbon panel, create a new quick access toolbar, etc ACAD LT crashes and shuts down. When I reload ACAD LT the work spaces are gone.
how to quick select all the blocks from a specific layer (for instance XPTO) and export them along with their attributes, exactly as we do by quick selecting them and then, through AutoCAD Express -> Attribute Export Info, but in a script...
I am looking for a lisp routine that, when activated, asks the user to select the "preset view" (similar to the preset view command found in the ribbon, but instead smaller and quicker), enter name for the view, end.
If possible, perhaps a command, relating to the routine above, that can be placed in the short-cut menu (right-click), which will list the preset views (made by the user), and be selectable.
The approach is instant view change, where it is possible to apply the command, then reapply to go to another view.
if possible, surely there'd be some people that may be interested in this capability.
Is it possible to control the UCS without using the command line? I'd like to access it and control it with vlisp much the same way I can access DXF groups and manipulate insertions. Seems like it should be possible to play with it's definition inside the object model.
I am trying to customize my quick properties (acad.cuix), but i keep on receiving fatal error message. And when i click on quick properties it is all blank. Also, the Properties dialogue box is not working when i click on something, the properties do not appear on the Properties dialogue box. Attached is the error message.
I'm trying to create a macro for a toolbar button to open a third party program. Basically we want to open a custom .exe application from a button on the ACAD toolbar.
I have a user who's QA Toolbar is so light it is hard to see. I have tried to adjust all of his settings and it still looks washed out like it is faded back. Like it does for the inactive icons but with all of them yet lighter...
I made my first installation of Autocad 2013 on this computer. Unfortunately the quick access toolbar appears whitened as you can see in the attached picture.
I added the Layer group (On / Off Freeze Lock / Unlock and Layer name) to the Quick Access Toolbar. I only see the first part name of the layer. Is there a way to stretch this part of the group in the QAT tool bar so I can see the more of the layer name? The partial name and layer color may be a sufficient clue as to the whole layer name over time. Would be nice to see the whole name until then.
I have downloaded ARCH 2011 (Student Version) several times and the Quick Access Toolbar does not appear above the ribbon. The ribbon tabs are also incomplete.
SHOWING ONLY - HOME, INSERT, ANNOTATE, VIEW and MANAGE.
How do I activate the Q. A. Toolbar? And why are my ribbon tabs incomplete?
Recently I installed ACA2013 on a new Windows 8 64 proffesional laptop.
Installed ACA 2013 and the SP2.
But my quick access toolbar is completly white. If I stay over the toolbar the tips show up and when I click them they function. But I cannot see what I click on!
I already tried reinstalling ACA2013, but nothing works.
We have a problem at work with buttons disappearing from the quick access toolbar.
I already looked around and it is being said that it is a bug, wich can be fixed with a service pack. I work in a big company, and they are refusing to do the service pack.
So the next best thing I can figure is to make a macro, wich will add all the macros I want to the quick access toolbar in assembly level, part level, sketch level and drawing level.
I am using entmake to create a line but I want the transparency to be a percentage. I know that the (440 . xxxxxx) dotted pair controls transparency. I don't understand the number that has to be used with 440. What numbers to put in for different transparencies?
I doubt there is since they aren't listed in the control keys list in the help file, but it doesn't hurt to ask. I'm trying to simulate the CTRL+PG UP/DN feature of Excel to switch between tabs. I'm might just have to 'up' and 'down' arrow keys.