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


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Temporarily Reposition The Menu Bar From Top To Middle Of Screen?

Jan 1, 2012

have had the good fortune to have recieved a Christmas present (o.k. to myself) a new Dell 30" monitor with 2560 x 1600 resolution.

The only thing I am finding troublesome as you might be able to see by the attached screen shot, is that now my autocad menus are, as expected at the top of the screen.  This new size of monitor brings with it the problem that you now have to travel your mouse a great distance to reach the menu bar items.

View 1 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

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 :: 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

AutoCAD Visual LISP / AutoLISP :: Menu Link - Run IPE With String 270 When Click Amr

Feb 10, 2013

i have in Drive C a file "Steel.lsp" have function called IPE

in this function have this line 

(setq n (getstring "
Enter IPE Height :"))
 
i loaded it

i created a menu and command in it called "Amr"

no i need when i click Amr Run IPE with string 270 then click enter

i need all this happen automaticlly when i click on "Amr" on menu

how???

View 2 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 :: List Of Workspaces For Menu Files CUI And CUIX

Dec 8, 2013

Retrieving a list of Workspaces from menu files .cui and .cuix

The function to use is (workspacelist) which returns a list of workspace names, similar to (layoutlist) for retrieving a list of Layout names.

The functionality for extracting "WorkspaceRoot.cui" from .cuix requires copying the .cuix to .zip so that it can be accessed as a Windows compressed (zipped) folder which the Windows object "Shell.Application" provides.

Please rename the attachment to .lsp

I received the following error when I tried to post the .lsp: "The contents of the attachment doesn't match its file type."

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Show / Hide Menus In Workspace

Oct 17, 2012

I have a bunch of discipline specific menu files as partial cui's to my enterprise menu. I don't want to show them all, as some users may not need them all. What I would like to have is a menu item

Load Menus ->

Civil
Electrical
Mechanical
Structural

and when they click on one of them the relevant menu file is made visible in the current workspace. Is there a simple way to do this?

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Show Difference In Selected Text?

Jan 17, 2013

I have a little routine to add two selected numerical texts together and show the result at a selected position. I am using the entsel method to select them. I would like a way to highlight the selected text temporarily. Is this possible. The routine is as follows.

(defun c:T+ ( / Txt1 Txt2 Txt3 Pkt )
 ;Adds second selected number to first
 (setvar "dimzin" 3)
 (setq curlay (getvar "clayer"))
 (setq curcol (getvar "cecolor"))
 (setq curlin (getvar "celtype"))
 (setq ds (getvar "dimscale"))

[code]....

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Custom Menu Will Not Stay Loaded Between Restarts On 2005

Aug 2, 2012

This is related to AutoCAD 2005 only:

I have a custom menu file which is NOT located in the support path but rather is on a server drive for all AC 2005 user's to access. When I load this menu in AC 2005 and then restart, it is gone and has to be reloaded. This is happening for all 2005 users in this office. With AC 2009 we use CUI and that custom file is also located on the server, not in the support path, but the 2009 machines are working fine. It is only the AC 2005 users who keep loosing their menu item each morning.

I have done extensive searching on this and it appears to be a common problem but the thing which is also common to all the posts and articles I read on it is that none of them offer a resolution which actually works.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Make On Screen Layer Picker Routine?

Dec 16, 2011

I would like to make an on screen layer picker routine that sits in the upper left corner of the screen and always stays there.

I currently have a list of layers printed out in the drawing that I can do a "select current layer by pick" but they are always getting in the way as they are part of the drawing. 

I would mind if the pallette was part of the drawing if it could "float" and always stay in the upper left corner somehow.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Change Attribute For Only Items Visible On Screen

Mar 30, 2012

im trying to change an attribute for only items visible on screen why dose the follow in then work and the one there after not?

(command "_attedit" "N" "N" "A4LANDSCAPE" "MYDWGSTATUS" "*" "" (cadr (fnsplitl (getvar "dwgname"))))
(command "_attedit" "N" "Y" "A4LANDSCAPE" "MYDWGSTATUS" "*" "" (cadr (fnsplitl (getvar "dwgname"))))

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Show (read / Assign Variables) To Normal Or Custom Properties In Object?

Apr 9, 2012

Looking for Lisp command to show (read/assign variables) to normal or custom properties in an object?

View 7 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







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