AutoCAD .NET :: Transparent Commands During GetPoint?
Sep 25, 2012
I'm using Application.ShowModalDialog to display a modal form to the user launched from a button on a tab in a PaletteSet. The modal dialog lets the user click a button to select a point. Is there any way that I can let the user run transparent commands and still return to the modal dialog?
The ideal would be for the user to be able to zoom and pan transparently from the GetPoint prompt. I could also provide a button to allow the user to reposition the drawing.
Using edUsrInt As EditorUserInteraction = ed.StartUserInteraction(Me.Handle) ' Get the insertion point from the userDim prPtOpts As New Prompt Point Options(vbLf & "Select center point: ") prPtRes = ed.GetPoint(prPtOpts)transientGraphic = DrawTransientGraphic(prPtRes.Value, BlockScale) edUsrInt. End()Me.Focus() End Using
View 4 Replies
ADVERTISEMENT
May 25, 2013
We have lost the use of the two transparent commands 'spe and 'sse. When I either click on the toolbar or type 'spe or '_spe in the middle of a command, they don't work like the other transparent commands. When I click on toolbar by itself, I get an error "Unknown comment "SPE". The other transparent commands say something like "PSE must be called from within another command".
Also, is the actual comment 'spe the command name or is it an alias. I was thinking that if I knew the command name, I could create another allias as a work around.
This is happening on multiple computers.
View 3 Replies
View Related
Nov 25, 2009
How to loop until user quits picking points (escapes) this works but don't know if there's a better way
Dim bGotPoint As Boolean
bGotPoint = True
Do While bGotPoint = True
[Code] .......
View 9 Replies
View Related
Aug 16, 2012
I display Preview, then modal form with some options.
One option needs select window but I receive *Cancel* in command line.
If I try to select a window again, everything works OK.
If I disable displaying Preview, it works fine, but function is useless for my purposes
[URL]
I tried Regen, UpdateScreen, etc. after displaying Preview but with no effect.
View 4 Replies
View Related
Dec 22, 2011
I am trying to limit the input that can be processed when using the getpoint lisp function. So the code below prevents the user from entering null input (i.e just hitting a carraige return) as specified by the initget bit code of 1, or a non-numeric entry (i.e. for instance, typing S and hitting a carriage return) as the getpoint function does not allow for a non-numeric entry.
(initget 1)
(setq PT1 (getpoint "
Pick Location of First Point: "))
However, the issue is that the code does NOT prevent the user from entering a number and hitting return. For instance, if I enter the number 100 and hit return, getpoint accepts this as a valid entry and returns a point value that is projected, in some form or fashion, from I believe the last entered point or (0,0,0) if a point was not previously entered. I only want the user to be able to select a point with a mouse click and not type in a number or point coordinate.
So is there some way with AutoLISP or Visual Lisp that you can prevent the user from typing in a numeric value and hitting a carraige return in conjuction with the getpoint function? Or is there some other function that will provide the getpoint functionality while providing the entry limitations described?
View 9 Replies
View Related
Nov 8, 2011
I have created a hatch with a Transparency of 30% so I can see what's underneath.
All looks good in Model Space but when I do a print preview from Paper Space the hatch appears to be completely solid in color again and has no transparency.
View 4 Replies
View Related
Jan 31, 2012
How can I use the commands in macro .
View 4 Replies
View Related
Feb 2, 2012
I have set up my standard commands to use a certain layer, ie
~Dimension command switches to my Dimension layer
~Leader command switches to my Text layer
I don't have my Line command set to any layer. I switch layers before drawing a line. I like drawing lines on different layers as needed. I don't like the default to be the Object layer.
Is it possible to have a pop menu open when I select a command to choose a layer? I would like to set a second line command with that feature.
View 3 Replies
View Related
Aug 23, 2013
The issue I am having is I can't see some of my commands. For example, if i paste from the clip I cannot see whatever it is I pasted until I say where I want it.
View 9 Replies
View Related
Jun 25, 2013
Can you change the commands in Lt 2014. I want to change the copy command (CO) to (C) and make circle (CC)?
View 5 Replies
View Related
Apr 4, 2012
I'm trying to do something like this:
[Autodesk.AutoCAD.Runtime.CommandMethod("REFEDIT", Autodesk.AutoCAD.Runtime.CommandFlags.UsePickSet)]
public void RefEdit() {
Document doc = AcadApp.DocumentManager.MdiActiveDocument;
[Code] ......
I haven't undefined the default command, my definition of REFEDIT executes anyway. I wanna be able to run the default command from my definition.
doc.SendStringToExecute(".REFEDIT ", true, false, false); will loop forever.
View 9 Replies
View Related
Jan 11, 2012
I haven't had enough of an application to justify trying to figure it out. At this point however, i've designed a small conversion form that can be called by our engineers and allow them to convert between various units. I'd like to have a button though that allows them to call up the Quick Calc application from within AutoCAD. What i'm wondering is how do i actually call a native autoCAD command? Is it possible and if so where could i find documentation on the syntax. For what it's worth i'm working in C# in VS 2010.
View 4 Replies
View Related
May 3, 2012
Initiated a project with the AutoDesk .net templates for VB.net. I've kept the Extension Application loader that's part of the template, however commands that reside within my other classes aren't recognized. The extension is running because it's responding properly to events that trigger, however I can't call my custom command names from the command line. Could this be a function of the namespace that the commands are in?
Namespace IWC ' This class is instantiated by AutoCAD once and kept alive for the ' duration of the session. If you don't do any one time initialization ' then you should remove this class. Public Class MyPlugin Implements IExtensionApplication Public Sub Initialize() Implements IExtensionApplication.Initialize Dim NewLayer = New IWCLayer NewLayer.IWCLayerSysStart() End Sub Public Sub Terminate() Implements IExtensionApplication.Terminate MsgBox("Layer System Terminating",
[code].......
View 9 Replies
View Related
Jun 28, 2013
1. When I attempt to COPY or MOVE an object that has a line attached to it the line also moves with it. It seems as though AutoCAD is considering them as one unit instead of separate objects. This is especially frustrating when using lines to mark Datum placements.
2. Also, I notice that the above occurs when moving objects, but instead of moving a line with the selection it stretches it. I must have an option selected, but would like to change that.
View 9 Replies
View Related
Nov 15, 2011
I am using R14 autocad.
i have created a project drawing , i have saved it as dwg file. But when i open it all my commands are gone, How to get Commands i have used
View 4 Replies
View Related
Sep 11, 2011
I found out that my current autocad architect 2011 move command are same with copy command. And also i found out everytime went i start my autocad programe that is an error message like #@%&*&%#@ that i cant even understand.
View 6 Replies
View Related
Nov 15, 2011
I've got most of my most commonly used keyboard commands changed to simplified versions that suit me, however, I have not figured out how to change the snap commands. I still type "nea" and "per" to snap to nearest and perpendicular. How do I change these?
Also, how do you change the F keys?
View 7 Replies
View Related
Mar 21, 2012
one of the pc at my work place seemed to be working funny, compared to the other pc.
For example, the command CO won't work, but instead i have to type CC to copy. The command MA doesn't work at all, and i don't know how to match properties.
Along the way, there are other commands that I encounter before. Basically, it jus feels funny for this PC.
Is there any way to restore every single setting without re-installing the autocad?
View 2 Replies
View Related
Sep 8, 2012
How can I restore my commands to the same place? Look like they are on the sides of the screen and they are shrinking.
View 2 Replies
View Related
Feb 19, 2012
AutoCAD is constantly losing settings and commands that I give it. The Undo command is one of them. I'll set it to undo [ALL] and after a while (a couple of days maybe) I will find this command on a different setting. This has been happening to many other commands as well.
View 7 Replies
View Related
Sep 12, 2013
We recently upgraded to AutoCad 2014 and the acad.pgp file does not seem to load correctly on one of 3 stations.The other 2 seem to be working just fine.
I located the file it is referencing with the (findfile "ACAD.PGP") command, to be sure I am looking at the correct one.
What happens is when I type PS in the command line it should initiate the Paperspace command. It clearly states in the .pgp file " PS, *PSPACE ". However what shows in the command line is "Pick line"! To be sure it is loaded I ran the REINIT command.
View 0 Replies
View Related
Oct 4, 2013
I have been having a problem with AutoCad 2012 LT when a am working in the model space I can you the ctrl c and ctrl p commands for a short amount of time and then they will not work. I can open a different model space and they will work in that one, but when I go back to the original one the will not work. I have tried shutting down autocad and the computer, but when I open everything back up the commands still will not work in that model space. I have reinstalled autocad and that brings them back for a short amount of time.
View 5 Replies
View Related
May 9, 2013
I have snap on, and Im drawing as usual. At some point I want to mirror something:
MIRROR
-select object, done, enter,
-select two dots of the axis
in this phase, where I'm supposed to pick the points, snap turns off, or stops working. I turn it on and off, I uncheck all the options, check them again.
View 6 Replies
View Related
Oct 9, 2011
I am trying out autocad 2012 for mac. I can't find the 3d commands like I could on the windows version. I don't know if it because of the new 2012 version but I can't find the tool pallettes for the 3D tools.
View 1 Replies
View Related
Apr 11, 2013
When I try typing "L" for line and hit enter (space bar), then click the mouse to draw a line nothing happens. The command is active and the grips are active like the command is ready for me to click mouse to draw a line. Also, hitting the space bar again does nothing.
View 9 Replies
View Related
Apr 11, 2012
Is it possible to view the list of commands that we input in AutocadMechanical in order to consult what we had done until that moment?
View 2 Replies
View Related
May 6, 2009
I've just installed ACA 2010 on my laptop on Windows XP64 bit
When I select a command such as the wall or door command. The command starts then exits out before I can draw anything.
View 7 Replies
View Related
May 2, 2011
It seems that the 'combine zoom and pan commands' option doesn't work correctly. Let's say it doesn't react as i am used to in previous version. now i have to do the undo command or 'ctrl z' many times before i am back at the point where i want to go. I using the middle mouse button often to zoom in and out, and for panning. but now there are a lot of steps to undo if you want to go back.
I tried to switch of and on this option in the options dialog but no difference.
View 9 Replies
View Related
Feb 8, 2013
I have been working on an extensive template and wanted to add some layer filters too it. I was wondering if there was a list anywhere that outlines what different characters mean to the fillter? What I mean is... I know that ~*|* excludes xfref layers because ~ means 'not' and * means "anything" and | is the character we are looking for. But what are all the other things that filters understand?
View 2 Replies
View Related
Feb 12, 2011
I can't see the area where I write commands any more, may be a configuration thing because never happened to me before.
View 2 Replies
View Related
May 15, 2013
I have AutoCAD LT 2011 running on Windows 7 64. I'm using it since long time.
Two weeks ago I started having this problem: as soon as I select any command from the File menu that should open a dialog (Open... Save As... Import...) the program freezes and I see (not responding) in the upper left title bar.
No way to go on. The only solution is to close the program.
Reinstallation from scratch included. System recovery to factory image included. No solution.
View 9 Replies
View Related