AutoCAD 2013 :: How To Run Lisp By Toggle DCL Menu

Oct 12, 2013

i have toggle dcl , and lisp as an example , who can say that how can i make combination by toggle and define to change lisp ? and of course run to change lisp after my choise from toggle menu

(defun getValues () (setq a1 (get_tile "toggle1") a2 (get_tile "toggle2") a3 (get_tile "toggle3") a4 (get_tile "toggle4") a5 (get_tile "toggle5") (done_dialog 1) ) (defun c:aaa (/ an dcl_id) (setq dcl_id (load_dialog "rc-cap.dcl") ) (if (not (new_dialog "ABC" dcl_id)) (exit) (progn (action_tile "accept" "(getValues)")

[Code] .......

View 1 Replies


ADVERTISEMENT

AutoCAD 2013 :: How To Toggle Menu Mode

Jan 8, 2014

Somehow I activated a mode where when I click on an object, if there are several objects there, it will bring up a little menu to pick which one I want, similar to Inventor if you hover or say "Select other...". How do I toggle this mode? Turns out I like it sometimes but usually I don't need it.

View 3 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 :: Toggle Between Two Functions

Nov 21, 2011

I’m having a mental collapse blank today. I'm trying to write a lisp that toggles between two custom lisp/ functions.

just incase, the lisp is to be incorporated into a button...

View 3 Replies View Related

3ds Max :: Menu Item Display Selected With Edges Toggle?

Apr 10, 2011

I have used the display selected with edges toggle quad menu item for years, and can't seem to get it to work for me. Is it broken?

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Toggle Drawing Units

Nov 28, 2013

Is there a way of opening existing cmds in the visual lisp editor and edit them to do something else? I'd like to set up a lisp where 'uu' would switch the drawing units from decimal to architectural units and hittng 'uu' again would switch it back.

View 4 Replies View Related

Lightroom :: How To Use Keystrokes Or Shortcuts To Toggle Between Menu Items At Top Of Screen

May 14, 2012

I'm taking a photography class and we're getting a quick lesson in using Lightroom, working on Macs. I'm never used the program before and I use a PC so I'm not familiar with Mac either.
 
I'm catching on pretty quick, but Im wondering, is there a way to use keystrokes or shortcuts to toggle between the menu items at the top of the screen. The assistants in the class said that on a Mac you can access these menu items with the mouse, but in a PC you use the Alt + a letter and can get to the sub-items with either letters or the arrow keys.

View 4 Replies View Related

AutoCAD 2013 :: Toggle Between Coordinates And Last Input

Jan 9, 2014

How do I get the last input to come up when pressing the up arrow key?  Say I'm drawing a line & input @10,10.  When I press the up arrow, the coordinates come up.  How do I get @10,10 to come up?  I've changed it before, but I can't remember how & I can't think of what to search for.

View 2 Replies View Related

AutoCAD 2013 :: Change Toggle Polar On / Off

Dec 12, 2013

I am looking for a way to change the toggle polar On/Off from F10 to F6. I already did it with the "delete" and the "Ortho" keys but i can't find the macro for the toggle polar on/off.

Has you can see on the picture for Delete it's  ^C^C erase;

For ortho it's ^O

Maybe for Polar it's ^P  but i could validate with you before i do any changes. (;

View 1 Replies View Related

AutoCAD 2013 :: Cursor Color Toggle In Paperspace?

Aug 20, 2012

In Autocad 2012 the white cursor automatically toggles to black when moved onto the white background of paperspace. This does not occur in 2013. Imported the sysvaribles from 2012 into 2013. Cursor still does not toggle.

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Toggle Between Customized Old Style Menus / New Style Workspaces?

Nov 13, 2011

Is there a way to toggle between customized old style menus and new style workspaces?

View 1 Replies View Related

3ds Max :: 2013 - Isolate Selection Is A Toggle?

Apr 16, 2012

Another worsening thing in 2013: The isolate selection is a toggle

It's impossible to use isolate selection one after another to get deeper in complex models with many objects? Did I miss something?

View 9 Replies View Related

AutoCAD 2013 :: When 2013 Restarted - Menu Changes Lost

Sep 3, 2012

When customizing the screen menus, adding a few icons or pull down menus, when autocad is restarted, Autocad reverts back to the default menu.  How can I set this up to retain any menu changes I make. 

View 2 Replies View Related

AutoCAD 2013 :: Toggle From Paper Space Into Same Zoomed Area Within Model Space

Oct 5, 2013

Lisp that would permit Toggling from Paper Space into the same zoomed area within Model Space and vice versa.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: POP Menu Position

Jun 27, 2012

How can I get the position (POPn ) where a menu is, considering the other menus loaded (ACAD, Expres.. etc)

For example:

File  Edit  View  Insert .  .Express  WIndow  Help  DOBLADO  PCSMEN. .. and I need to know the position of DOBLADO.

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Execute Macro In CUI Menu

Oct 30, 2013

I have tried to find information about this, but I am having a hard time. So i need to explain what I am doing.

I would like to be able to use commands stored in the cui menu file, initially this is done using our tablets, but our tablet drivers cannot work with windows 7 and autocad, nor can i get any that do, (i have tried over 20 different drivers).

So, instead of making a lisp function for every macro. I need to be able to use some of them.

Can I execute one of these macros using "MENUCMD" ? , I have all the information i need to do it but cannot figure it out menucmd does not seem to have an option to actually run the macro, and if it does It only seems to be able to do that with popup menus.

 Currently i use the ribbon and add them in there, but want to know If i can do so just with lisp. and create my own on-screen tablet menu.

Here is an example of one of the macro's in the cui i need to use.

And here it is in the cui menufile:

UNDER-> <MacroGroup Name="User">
<MenuMacro UID="MMU_WT1[A-5]">
<Macro type="Any">
<Revision MajorVersion="17" MinorVersion="1" UserVersion="1" />
<ModifiedRev MajorVersion="17" MinorVersion="2" UserVersion="1" />
<Name xlate="true" UID="XLS_6804">WT1[A-5]</Name>
<Command>^C^CDTEXT C .125 0 </Command>
</Macro>
 
So.. that is my question how can i use that command via lisp..

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Use Civil Menu Macro

Oct 7, 2011

I would like to use the following macro from the LDD 2004 Civil menu (yes, we are still using 2004!): ^C^C^C^P(cd_mnl)(zz_sdsk '(ad_xsutl 2));LDD.  The macro is Zoom to Station from the Cross Section pulldown menu. How to use this in a LISP routine, or an equivalent LISP command?  (The user won't be supplying the station number.  The station number will be extracted from a selection set of objects with attribute blocks with equivalent station numbers.)

Each cross section has an attribute block associated with it, which lists all the details for that section, including station.  The macro must be using that block (listed in a database, perhaps?) to find the station in the dwg. 

View 4 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 :: Unresolved Menu Groups

Oct 24, 2006

During the creation of an Enterprise CUI, I somehow was left with Unresolved Menu groups, as shown in the attachment. Any thoughts on how these can be removed?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Edit Customized Pop Menu

Sep 13, 2011

We have had custom toolbars for many years that included custom pop menus etc. Now that we are running cuix customizations how do I edit these customized pop menus? Do I need to rewrite this stuff in lisp, vba, .net, whatever?

View 1 Replies View Related

Maya :: Bonus Tools 2013 Menu Doesn't Show In 2013?

Sep 4, 2012

BonusTools 2013 menu doesn't show in maya 2013,how can show it.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Create A Pop Up Menu Triggered By A Function Key?

Dec 29, 2011

I would like a small menu to pop up near the cursor like the middle mouse button menu, but based on some other function key or quick key shortcut. 

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Toggling Check Mark In A Menu

Oct 8, 2013

I am trying to add an on and off  checkmark via lisp to an item in a pull down menu.

It can be done with diesel but only on system variables.

In my case i can't use sysvars - only lisp.

I tried (menucmd ....) but I get nil.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Loading A Menu Wipes Out Workspaces?

Apr 7, 2012

I have some legacy menus that are quite large.  I have tried to create a new workspace, and that seemed to work o.k.

UNTIL I used menuload to try to load the old menu.  At the point all the defualt workspaces were wiped out somehow.

I would like to have access to both the default workspaces and then also by switching to a custom workspace, my legacy menus.

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Menu Swapping - Migrating To CUIX From MNS

Jan 1, 2010

I read Robert Bell's document “Migrating from MNU to the CUI” (Autodesk University 2007) with interest. I have been using 2005 up until now and I am finally forcing myself to get to grips with 2010.

I managed to get it to work after much trial and error through the CUI transfer interface.My customizing makes use of a lot of swapping pull-down menus, which swap in and out based on current later setting.A typical command would be:

(MENUCMD "P15=RCASPOPS.mfireeqp") where RCASPOPS is my swapping menu loaded at POP15.

Then I would use (MENUCMD "P15=*") to force the “mfireeqp” area of the pull-down menu to display.Trouble is, when I CUIload RCASPOPS, it does not seem to recognize the various areas of the menu.Here is a part of that subsection of RCASPOPS:

***MFIREEQP
[FireProtEquipLayers]
[--]
[0]0;
[defpoints]defpoints;
[X-Refs]x----ref;
[code]...

Typically the whole of RCASPOPS is loaded but when I try to force it to display, the whole of it pops on the screen (well, the top of the file does anyway) and not just the subsection I want.

Is this a syntax issue with the newer AutoCad?Also notice that I use the -> and <- for fly-out sections of the menu - is there a syntax issue with this? I notice that the future support of drop down swapping menus is not guaranteed. What is the alternative?

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Shortcut Menu In Partial Menus?

Aug 26, 2008

I have made an extra CUI that is loaded as a partial CUI.

Now I want to add a context-sensitive shortcut menus like this: POP504, OBJECT_AEC_DOOR.

The problem is that this shortcut menu only shows up if I add the shortcut menu to the main CUI file. If I add it in some partial CUI it never shows.

Does shortcut menus only work from within the main CUI?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: 2014 And Keyboard Context Menu Key

May 17, 2013

Switching from 2010 win xp to 2014 win 7. I need my specific user interface  , and cant replicate it because of this issue  :

I used to press context menu key on keybard to make edit menus pop up . In 2014 even though its same settings  (show context menus and time sentive click)  i ve lost this ability .

Either menus dont appear at all or they are replaced by the small command line context menu. I think this suggest new command line features are messing with right click options any variable i can turn off , or else to go back to normal.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Delete Toolbar From Partial CUI Menu

Feb 15, 2013

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.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Getting Legacy Screen Menu To Show Up?

Jun 27, 2013

through the groups here I have found the redefine screenmenu command, but I cannot find how to get the screen menu up on the screen as it is not an option in the display options any longer.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Page UP/DN Control Key For Menu Accelerators?

Sep 18, 2001

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.

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Open Standard Drawing From Menu

Sep 4, 2012

I have a small number of drawings that I use very often. I would like to make a menu item to open a certain drawing but I keep getting stuck when the drawing name should be entered automatically.I use the code

^C^Cfiledia;0;open;"test.dwg";filedia;1;

The drawing is my support file search path and the name is unique. How do I get this to work properly?When running this command:

Command: filedia
Enter new value for FILEDIA <1>: 0
Command: open

Enter name of drawing to open <C:previous.dwg>:

*cancel*
Command: "test.dwg"
Unknown command ""TEST.DWG"".  Press F1 for help.
Command: filedia
Enter new value for FILEDIA <0>: 1

It asks what file to open and suggests the last opened file, and whatever I tried so far this keeps happening.

*.scr files are not allowed on our network, I can't create or rename files to *.scr. Of course I could ask the admins to allow this but I think our security policy is more important than me having a button to open a file.

View 6 Replies View Related







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