AutoCad :: Re-selecting Objects Or Lines Macro?
May 12, 2011
when i am trying to use a function like mirror or offset..etc i will select the lines or objects then i will make a mistake such as selecting the wrong base point or such. i then press esc to end that function and try again but find it annoying that i have to select all the lines again. is there a quicker way to reselect the last lines or objects selected. "like the (L+enter) to use line function type macro".
View 2 Replies
ADVERTISEMENT
May 17, 2012
I am working on creating a macro we can save with a template to ready the designed art for print. So the designer can create the design, run this macro and export a PDF. The macro needs to:
1. Turn off template layer.2. Select all objects layer 1.3. Group all objects layer 1.4. Rotate -90 degrees.5. Set layout to landscape.I have everything working except the Select all "Objects Part". the macro will only select objects that are there during the creation of the macro, and not select the designed work.
Is there anyway to just add a keystroke of "Ctrl+A" to the macro?
Here is the macro i got:
____________________________________________________________________
Sub Adstand_Rotate() ' Recorded 5/17/2012 ActivePage.Layers("Template").Visible = False Dim s1 As Shape Set s1 = ActiveLayer.CreateRectangle(0#, 70#, 39.75, 0#) s1.Fill.ApplyNoFill s1.Outline.SetProperties 0.006945, OutlineStyles(0), CreateCMYKColor(0, 0, 0, 100), ArrowHeads(0), ArrowHeads(0), cdrFalse, cdrFalse, cdrOutlineButtLineCaps, cdrOutlineMiterLineJoin, 0#, 100, MiterLimit:=45# s1.Outline.SetNoOutline s1.Rotate -90# Windows.FindWindow("C:Documents and SettingsdreesdmDesktopAd Stand Template.cdr").ActiveView.SetViewPoint 35#, 19.875, 100 With ActiveDocument.MasterPage .SetSize 39.75, 70# .Orientation = cdrLandscape .PrintExportBackground = True .Bleed = 0# .Background = cdrPageBackgroundNone End WithEnd Sub
____________________________________________________________________
View 3 Replies
View Related
Aug 12, 2013
Is there way that by selecting objects (Lines,Pl) it construct infinite lines ?
View 3 Replies
View Related
Feb 26, 2012
Can not click on multiple objects or lines for erase,trim or extend commands. Is there a mode that I have turned on by accident , driver warning also comes up in trim offset command.
View 6 Replies
View Related
Jul 3, 2013
Something changed in my settings & I don't know how to chance it back. I can't click on to select objects inside or behind objects. What do I have to change to be able to select any item I click on regardless of where it is?
View 1 Replies
View Related
Mar 1, 2013
I am attempting to do a macro that will allow me to select multiple objects and then move them in only ONE axis. For example, If I want to move a wall, the door and the window in the Y axis to align with another wall across the hall. I have attempted to do this in a button macro, but so far its limited. Here is the macro
^c^c_move;\.xz;@;
This will allow me to click the customized button, then select ONE object by a displacement, and it will only move it in the Y axis and allows me to choose the point with a mouse click of the final location.
When I try to select more than one object, it kicks me ahead in the commands and prompts for (needs Y). how I can figure out the correct macro?
View 9 Replies
View Related
Sep 7, 2011
I want to select all the objects in the drawing and then based on the linetype it should be moved to a specific layer.
I can do this per type (circle, line, etc) but that will be a hell of a job and a lot of code. In Vba I check inside the selection on linetype and then change it to the correct layer. But in .NET i don't figured out a way how to do it.
View 1 Replies
View Related
Nov 6, 2012
If I have a series of lines on a layer, is it possible for a macro to place a label for the lengths of the lines at the center of each line in AutoCAD LT 2012? Adding a DIMLINEAR to each line is for the birds....my drawings have as many as 250-300 lines that need to be labeled with thier lengths.......
View 9 Replies
View Related
Jul 3, 2013
I just installed Acad v. 2014. I opened up an existing file, went to select a line, but noticed that the line does not highlight when I hover over it like my last version. How do I change the settings so that when I hover over an object, whether it be a line or a cross hatched area, it will highlight that object so I know the length or area of the object?
View 4 Replies
View Related
Dec 4, 2011
The issue I am having a problem with is a mouse cursor freeze when I select an object with no command active.When I select an object, the cursor will freeze for about a second before I can move it again. When I hit escape to de-select the object the same thing happens.
This is with Acad LT 2011. WinXP. Normal operation this computer runs ACAD quite fast, no particular lags or anything except maybe when selecting to copy or move very large groups of objects, or when switching between layouts or to model space when there is a fair amount of stuff in the layout, or when regen on a large file size.
This mouse cursor lag was not always the case, but at some point this problem appeared.I have tried save, regen, regenall, closing the drawing, exiting ACAD LT, rebooting the computer.
It's very irritating, since so much of using ACAD is clicking and doing things with the mouse, that it really slows down my production, to have to get a cup of coffee every time I do a select action with the mouse.About a week ago I installed the trial version of LT 2012 to see if it was different. When I opened the same dwg in 2012 there was no lag.
I then closed this and opened the dwg in 2011, and there was no lag. So it seems that the installation of the 2012 trial version changed something in the way 2011 operated.It has been operating fine now with no lag until this morning. Now I have the lag again.When I now open the same dwg in 2012, I now have this lag in 2012 as well.
I did not change any settings in 2012 or 2011 like hardware acceleration or whatever. I just suddenly had this lag, and now I can't seem to get rid of it. Attached is a file that was made by opening ACAD LT 2011 and drawing a few lines, then saving it. No template used.On my computer with this file, I get the mouse cursor lag when I select a line.
View 9 Replies
View Related
Aug 15, 2012
I'm using QSELECT to select all objects on a layer, sometimes I need to select objects from 5-7 layers.
Right now I use QSELECT, select 1 layer, click OK, open QSELECT again, select another layer and repeat. Is there a faster way to do this without scripts?
I'm sure some of you do site drawings, how do you measure a curve? Some restaurants or cafes have a rounded serving counter, how you measure the radius to plot into autocad?
View 9 Replies
View Related
Mar 22, 2012
my problem is that I can only select objects that are shown on screen on the second click.
For instance, I'm using the green select box (dragging right to left) to select a large amount of items in a really tight spot, (between 2 parallel and horizontal lines only 3mm apart. My problem is that I can zoom in on the right hand side, select the lower right hand corner, zoom out, zoom into the top left corner and select. It'll only select what's shown on screen, which is literally 3 out of 1000 items.
Is there a variable to allow the selecting every object in the select box, with no relation to zoom levels or panned areas?
View 6 Replies
View Related
Feb 2, 2012
is there a way to rotate my whole drawing without actually selecting the objects in it. ? i.e to say, the drawing rotates itself according to my viewpoint [my eyes] and i dont have to rotate my neck to view the tilted objects in drawing.
View 6 Replies
View Related
Jul 25, 2013
Suddenly, when I select objects, the existing selected objects deselect. If this is a setting I inadvertently misused I don't know why the setting exists. How I can get back to selecting successive objects?
View 2 Replies
View Related
Feb 4, 2013
I experience a delay when i want to select a line or curve in a scetch, part or assembly. Normally when you move the cursor over a line it highlites red within a fraction of a second. Now it takes 3 or 4 seconds to be selected.
is it a wrong setting or a bug. Never had the problem before. Not in 2012 or in 2013.
View 1 Replies
View Related
Apr 10, 2013
What might be the cause of a several moment delay when selecting objects and/ or their grip points. It doesn't occur when a command is entered first. The longer a drawing is open the worse it seems to get. Is there any fix or adjustment that can be made?
View 2 Replies
View Related
Jan 25, 2013
why my crosshairs stutter after I select an object? I first noticed it after the AutoCAD release that added vertex control options to plines. Crosshairs hang for a second or two after selecting an object that has vertices. Seems like CAD is evaluating the vertices.
View 4 Replies
View Related
Feb 15, 2013
If I have a list of handles for Autocad Entities, how would I go about selecting these entities on screen so that the user could add to this selection or remove objects from the selection? I could go with object ids as well if needed.
I have been searching and searching and coming up empty handed or at least coming up with information that doesn't seem to do what I want.
View 6 Replies
View Related
Jul 2, 2009
i am using Acad 2005 for two years. since now i started to use acad 2010. i did find the difference in layer isolation in 2005 if you do layer isolation, only the particular layer visible. then can be select all of them in one window. without disturbing other layers. but in 2010 while i isolate a layer, other layers also visible in the backround. when i select the isolated layer in one window, also the backround layers also getting selected.
i am facing problem in selecting the isolated layer all objects in one window.how to do selection or how to work on that?
View 9 Replies
View Related
May 24, 2011
I have a multiple blocks in my drawing and I would like to select certain obejects within these block from model space, i.e all lines = White, and then return their their combined length.
At the moment I have to explode all of the blocks, use qselect, run length.lsp to get the combined length of the selection and then undo the actions previous to the block explosion.
View 3 Replies
View Related
Sep 1, 2011
I cannot recall the command or the name of action to set my AutoCAD MEP 2012 to have a drop-down menu from the cursor when I am trying select an object that is in a cluster of other objects. I had the command active previously but just re-installed the program last week and have been stumped about it since.
View 2 Replies
View Related
Feb 20, 2013
i'm use to using the shift key to deselect something. it doesn't seem to be working when i select a whole bunch of lines
View 3 Replies
View Related
Jul 31, 2013
so I've recorded a macro to find all drop shadows and seperate them from whatever they're attached to. Now my problems is how to deselect the objects leaving just the drop shadows selected
Sub Macro173()
ActiveDocument.CreateShapeRangeFromArray(ActiveLayer.Shapes(3), '
ActiveLayer.Shapes(1)).Cut ActiveLayer.Paste Dim Paste1 As ShapeRange
Set Paste1 = ActiveSelectionRange
ActiveDocument.Undo
ActiveDocument.Undo
ActivePage.Shapes.All.CreateSelection
ActiveSelection.Separate
End Sub
View 7 Replies
View Related
Jan 7, 2013
Draw a rectangle. Record macro
use the interactive contour to create an inline. Cntrl+k (break apart). It works but leaves both selected. Now what I need it to do is deselect the outer rectangle leaving me with just the inner one still selected.
View 8 Replies
View Related
Nov 2, 2011
How to modify this routine so that I can select multiple objects as opposed to one at a time?
(Defun c:cd ()
(setq newdim (entsel "
Select Dimension to clear:"))
(setq newdimvalue " ")
(command "dimedit" "n" newdimvalue newdim "")
(princ)
)
View 9 Replies
View Related
Apr 23, 2011
I just started having an issues with the delete feature. When I click on an object and it highlights it--when i hit the delete button, it doesn't delete the object any more. Also i should be able to click on as many object as i want, now it makes me hold the shift key down. And also when I click on an object then pull the layers tab down to assign it to a diffent layer ---it won't change it now.. what do you think is going on with the software and who might I contact to get this problem corrected.
View 3 Replies
View Related
Sep 17, 2011
Is it possible to select lines (maybe up to 6 lines) around an intersection point with a reference line. There is one intersection point and the lines are around it. And also, both the intersecting lines are in different layers.
How to get the ObjectARX's ArxDbg tool working on autocad 2012. ObjectARX 2010 sample project fails to open in VS2010 express.
View 4 Replies
View Related
Apr 4, 2012
need a macro code that will select all objects that I've named "X" then delete them. Tried recording but it only works for the one object and not all of the same name
View 8 Replies
View Related
Nov 27, 2012
I have this code that I wrote years ago that I want to update to select two types of civil3d objects and show them selected with grips on the screen. This function works fine
(defun CELFEATURE ()
(ssget "_X" '((0 . "AECC_FEATURE_LINE")))
(setq sset (ssget "P"))
(if sset
(progn
(sssetfirst sset sset)
;(command "_.PROPERTIES")
)
)
)
(defun cF () (CELFEATURE))
but if I add the extra object like this which I assume is the wrong syntax i only get the second type of objects. Need correct syntax I should be using for selecting more than one object in an ssget statement.
(defun CELFEATURE ()
(ssget "_X" '((0 . "AECC_FEATURE_LINE","AECC_AUTO_CORRIDOR_FEATURE_LINE")))
(setq sset (ssget "P"))
(if sset
(progn
(sssetfirst sset sset)
;(command "_.PROPERTIES")
)
)
)
(defun cF () (CELFEATURE))
View 2 Replies
View Related
Dec 6, 2013
At my office, we are experiencing a major malfunction with AutoCAD and server based files. I believe it is due to a server restructuring that occurred last week and we are having troubles since then.
Basically, on some drawings, all I need to do is select a HATCH object (of any size) and AutoCAD crashes. The same behavior is exhibited when editing an MTEXT object or, say, a dimension TEXT. I was also able to recreate the crash by typing STYLE, trying to edit the text STANDARD template, and essentially anything having to do with "simplex.shx."
View 6 Replies
View Related
May 24, 2013
I am just starting learning lisp, And I am looking for a fast way to select multiple objects (usually circle) and export their coordinates and ID into a excel sheet through lisp programming.
As you might see in the attached drawing, the red circles are objects wanted. I have been trying to export their coordinates as well as their IDs in grids, e.g D28, Easting: Northing: . I still haven't found a good way to export ID for each circle.
As my code doesn't work, I wonder what's the most effective way to detect errors in lisp
View 5 Replies
View Related