AutoCAD 2013 :: How To Continue User Input In Toolbar Button
Dec 10, 2012
I made a toolbar button with the macros @, and tried also @ pause.
I need this in order to shorten the procedure for relative coordinate input, but, after pressing the button the last point is entered and i cannot continue entering values like in the manual input at the command like, like: @5,5
Even if i use the "@ pause " sequence it doesn't work.
How to wait for user input?
View 9 Replies
ADVERTISEMENT
Feb 21, 2013
I'm trying to add a script to toolbar button from the server. The macro I'using is
^C^CSCRIPT;"//server/path1/subpath1/HVAC-DUCTS.SCR";
The message I take from autocad is "CANT FIND FILE"
View 7 Replies
View Related
Mar 19, 2012
One of my students has moved their precise input toolbar. How do I bring it back?
View 5 Replies
View Related
Nov 2, 2013
In V2013 i make a 3D sketch and choose spline. I don't see the precise input toolbar and don't know how to bring it.
View 6 Replies
View Related
Dec 19, 2013
I've tried to figure out the pattern of how the command works for inputting partial customization menu toolbar names but I'm unsuccessful.
You should be able to show and hide partial customization menu toolbars with the -toolbar command because it can hide all toolbars including my partial customization menu toolbars currently shown. I've tried the toolbar menu alias (defined in the CUI command) and the name (refer to this link to the same image embedded below) and none work.
View 6 Replies
View Related
Sep 14, 2012
I develop addins for Inventor primarily, so the AutoCAD api is very new to me. I'm working in AutoCAD 2010 and visual studio 2012.
I've looked at many posts for getting block attributes, but they either seem to assume I already have the Blockreference, or they give a prompt to the user. I'm hoping to avoid both of those.
I know the info I need is inside of a blockTable by the name of "DET".
Database acCurDb = openDoc.Database;using (Transaction acTrans = CurDb.TransactionManager.StartTransaction()) { //How can I access the blockreference in here which corresponds to the blockTable "DET"? }
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1
View 4 Replies
View Related
Jan 3, 2012
Any way to trap when the user hits the escape key without a user input function. The idea is to loop infinitely and perform some analysis until the user hits the escape key.
I suppose I could do the same thing with a form but I would not.
View 1 Replies
View Related
Jul 2, 2013
I have a question. I'm using VB.Net 2010 with Autocad2012.
How to make code for promt input user.
Get input points from user and draw circle using VB.Net 2010 with Autocad2012.
View 1 Replies
View Related
Aug 30, 2011
I have a form with some textbox on it, which should be filled in with imperial dimension. Like foot and inch. Users right now complain about it is not user friendly ,to put data in form, and honestly they are right. I didn't a good job .
Some people like to put vetting in inch and then by the time textbox lost it focus it should automatically convert data to feet-inch format. Some other user like to put decimal I have to be able to should them in 1/8 inch.
some user like to use space as separator between foot and inch and some other like to use dash.
Bottom line I stocked. Is there any function for this in autocad ?
when I look at my code I just struggled with pure string. I thought maybe there is something in autocad which give developer this option. Like the way we input dimension in command prompt.
View 9 Replies
View Related
Aug 12, 2011
I have got a problem about getting user input. In a function i am first getting a selection from the user by editor.getselection(...)
then i show a palette set with my user control in the same function. everything is fine so far.
but after showing paletteset i try to get a string from the user by editor.getstring(...) in the same function but statement continues as i never request it. when i check the PromptResult status it is equal to cancel.
i mean
Transaction acTrans = null;
Document acDoc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument;
Database acCurDb = acDoc.Database;
acDocLock = acDoc.LockDocument();
using (acDocLock)
[code].........
i tried to lock the document but it doesnt work either. when i comment out "showpalette(true)" it works correctly. i realized that if my document window s state is not WindowState.Maximized then my code works just fine but if it is WindowState.Maximized it does not work.
View 4 Replies
View Related
Sep 5, 2012
I just need the userinput to be incorporated in the insert command but don't know how to segregate the block name from the block path..
;;;PROMPT USER FOR BLOCK NAME HERE
(setq userinBLKNAME (getstring "
Please type in the block name shown in the allrevblocks - ex: IFCC4:"))
;;;INSERT BLOCK BASED ON BLOCK NAME PROVIDED HERE
(command "-insert" "B:\CAD\REVBLOCKS\IFC\"USERINBLKNAME PAUSE "1" "" "")
View 3 Replies
View Related
Aug 23, 2012
Is there any way to allow user input in an expression for a profile label?
View 5 Replies
View Related
May 7, 2012
I've been trying to append a user input by adding this text "ABC" to the front of it. How can I do that?
(setq NUMX (getstring "
Please specify NUMBER:")); INPUT NUMBER 123 HERE
(SETQ NUMXX (append '(ABC) NUMX))
So that NUMXX now equals ABC123.
View 2 Replies
View Related
Dec 14, 2013
I want to write a very simple AutoLISP program to scale selected objects by a factor of (1/25.4). How to I get the program to pause and allow the user to select the base point? I know that "~" will bring up a selection window, but what is the character that will allow point selection (in this context)? While we're at it, what is the operator that would trigger a pause and allow user command line input?
View 7 Replies
View Related
Oct 21, 2013
is there a way to show the user symbols in the toolbar?
View 5 Replies
View Related
Jul 30, 2012
Is there a way to have an alert box pop up at a certain point in the code which gives the user a chance to cancel the LISP program and not proceed any further?
View 9 Replies
View Related
Sep 23, 2013
I am trying to locate a .wdp file with minimal user input. this is what I have so far
;All file saved in this folder
(setq filedir "I://PROJECTS//")
;User will put the following in, but there might be a small description after 915-01. That is why I have a wildcard
(setq filename (strcat "915-01*"))
; string together everything
(setq nextlevel (strcat filedir "JOB " filename "*" "//ACAD"))
;; the final path should look something like this:
I://Projects// JOB 915-01(something here... could be anything or nothing)//ACAD//915-01(something else could be here as well).wdp
;set file extension
(setq fileext ".wdp")
; search files
(setq wdp_file (vl-directory-files nextlevel (strcat filename "*" fileext)))
I am confused on where and when I can use wildcards for searching directories.
View 1 Replies
View Related
Mar 3, 2010
when I hover the cursor over my own custom toolbar buttons, I get the message "Press F1 for more help" you can then go to F1 but that only for Autocad commands not my own programs. My question is how can I get rid of the message "Press F1 for more help" when the cursor is over my custom program buttons?
View 6 Replies
View Related
Aug 31, 2011
I want to change 'mutil value select" to "custom value input" in ilogic user parameters. something like this:
if condition A then
multivalue.setlist("length", 1,2,3,4,5)
else
(users can enter any value they want, how can i remove the list first and set it to custom value input?)
View 2 Replies
View Related
Jan 30, 2013
Currently have an iLogic rule in my drawing template that base on user input brings up the Drawing View dialog box (as though you click on base view). I want to know if there is some coding I can do to control or handle what happens if the user clicks the cancel command inside this dialog box. Possibly show a message box. Or even run another rule after the cancel button has been clicked?
View 1 Replies
View Related
Sep 16, 2013
I have a list function that asks for the user to pick points when it is run. It looks something like this (foo arg1 arg2) When invoked it asks the user to pick points and press enter when done It.
Instead of getting the points from the user i want to pass it a list of pre-defined points. The code cannot be changed so I must use it as is.Is this possible, if so how can it be done?
View 9 Replies
View Related
Apr 7, 2006
I am starting a website from a template.
The template has two user input box (User and Password). I did all the
design modifications to the template, but when I want to save it for
web, both user input are only images, and the user can't write anything
on it.
View 4 Replies
View Related
Mar 11, 2013
I am trying to add a button to the Quick Access Toolbar in Inventor 2013 Professional. The button shows up, but it is always at the end of the toolbar. I want it to appear befor the Open button.
Here is what I am doing:
CommandControls AssemblyQATControls = oAssemblyRibbon.QuickAccessControls;CommandControls PartQATControls = oPartRibbon.QuickAccessControls; // Add Mybutton to Quick Access Toolbars.AssemblyQATControls.AddButton(Mybutton, false, true, "Open", true);PartQATControls.AddButton(Mybutton, false, true, "Open", true);
View 1 Replies
View Related
Aug 28, 2013
I have a custom toolbar that I've used for years in an olderversion of CAD. Now I'm in 2012 and loaded my custom toolbar in from my previous CUI. Naturally it dropped in all question marks even though I have all paths in the support file added. I even copied all my bitmaps to autodesk's default bitmap location. Neither work.
So after that I went into the CUI and manually selected the bitmap image for "small image" and "large image". It shows in the CUI now, but no luck on the main board. (also, not that this matters, must be a glitch but it won't even show in the CUI until i manually select another bitmap and reselect my origional desired image)
So then I tried taking the whole path and copying it into the CUI manually but it goes right back to defaulting to (MYIMAGENAME.BMP) without keeping the extension. My other custom toolbars loaded with all the pictures but this one just refuses to cooperate.
View 2 Replies
View Related
Jun 23, 2007
I'm trying to build an action that makes thumbnails out of images and adds a few effects, but I want it to let me select what area of the image it takes the thumbnail from and making that thumbnail size instead of shrinking the whole thing to 100x100 and losing all the detail. Any suggestions?
View 4 Replies
View Related
Feb 14, 2004
I want to create an action that will take individual pictures and put them on a template, and then ask for user input as to the name, year, etc. How do I get a user input box? If i can't get a user input box,
View 6 Replies
View Related
Jun 8, 2011
Create a Form that can be sent to a customer as an email attachment. The customer must be able to Save and Open the Form with software that is available on most Windows computers. The customer should then be able to enter the requested information in the Form, Save the Form and then attach it to an email and return it to the sender.
I could achieve the above using MS Word. But it is a real pain to layout a complex Form using Word. I would much prefer to do this using DP6 as it is considerably easier to lay the Form out.
But... I simply cannot see a DP6 Export file-format that I could use to achieve this result.
View 9 Replies
View Related
Oct 3, 2013
I have this working without the prompt, if I under manually the margin via var margin = 10; it works. it also seems to return correctly when I print what the input from the user is, but it doesn't seem to want to work and freezes.
it says "point value expected"
//Helper functions
function print(i) {
if(i == "object"){
print("you are trying to printObject, use printObj(); function");
}
else {
$.write(i+"
[code]...
View 1 Replies
View Related
Oct 21, 2013
I just installed the just released Visual Studio 2013 Professional x86 in a Windows 7 X64 with AutoCAD 2014 X64 computer hopping to check the Edit and Continue feature as advertised in [URL]
View 5 Replies
View Related
Sep 22, 2011
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”
View 4 Replies
View Related
Apr 19, 2012
I need to load a lisp routine by way of a toobar button. I do not want to use the appload dialog box.
View 9 Replies
View Related