AutoCAD .NET :: Select Multiple Entities And Have Matching Data Shown In Palette
Jul 25, 2011
The 'application' I am trying to make currently adds entites to a drawing. Each entity has data associated with it but also part of a tree of infomation so I store xrecord data along with the objectID in a dictionary tree within the drawing.
I want to be able to select multiple entities and have any matching data shown in a palette. The same way the properties palette behaves.
I have it working but I can see AutoCAD crunching the data. It cycles through the selection set and the dictionary tree extracting entity data until it finds an ID match in the xrecord.
How the properties palette works so quickly or how I could improve the speed.
View 2 Replies
ADVERTISEMENT
Oct 4, 2013
How do I select entities by extent. Let's suppose I have Lowerx ,lowery , upperx , uppery [174.76789855957,28.3978977203369 , 507.941253662109 ,112.090751647949 ]. How do I find entities who have these extents.
View 1 Replies
View Related
Jan 3, 2013
I select all entities via Editor.SelectAll() method, but the nested entities (inside Blocks) are missing. Do I have to resolve them by iterating through all blocks afterwards or is there a Prompt Selection Option that can be set?
I don't want the user to select the entities, instead I loop through the whole drawing.
View 7 Replies
View Related
Oct 8, 2012
How to select all entites of a layer?
I want to migrate my VB code to VB.NET code, migrate the below code?
Private Function GetEntities(oLayerCollection As Collection, sSelectionSetName As String, _ Optional pointsList As Variant = Empty, _ Optional mode As AcSelect = acSelectionSetCrossingPolygon) As AcadSelectionSet Dim oSS As AcadSelectionSet
[Code].....
View 2 Replies
View Related
Oct 10, 2012
I need a function similar to Qselect.
In this case I would like to select all entities on a series of layers. (i.e.: a-site-* or a-fill*). I know I can do this with qselect by doing each layer one at a time and append the existing selection set.
Instead, I've been locking all layers except the series I'm looking for, but it seems like there should be a quicker way.
View 9 Replies
View Related
Jun 11, 2013
I have a command which proccess entities in the drawing and creates a SelectionSet. But, on the drawing i do not see the selected objects . I need to show grips on selected objects . It is a looks like a Quick Select command. What can i do? What method showing the grips?
View 2 Replies
View Related
Jul 25, 2013
I coded a utility to work with entities rotation. This is a part of a bigger project so i just cutt and pasted together the part of code that have this problem.
Basically i get the selection, i clone it (because this is a copy and rotate) and through a draw jig class i rotate all the entities. This works well but just sometimes when the command ends it happened this weird thing, the entities appears in the draw but they can't be selected. And all get back to the normally after saving, closing and reopening the draw.
This is the utility.
public void Run(object param) { Document doc = Application.DocumentManager.MdiActiveDocument; Editor ed = doc.Editor; Database db = doc.Database; List<Entity> toRotate = new List<Entity>(); PromptSelectionOptions pso = new PromptSelectionOptions(); pso.MessageForAdding = "
Select objects"; pso.AllowDuplicates = false; pso.AllowSubSelections = false; PromptSelectionResult psr =
[code]........
This is the link
[URL]........
View 2 Replies
View Related
Jun 23, 2011
When trying to select entities with a window or crossing polygon (and hitting enter) there are no grips showing to indicate that the selection has been completed even though the entities seem to be highlighted. Syntax: select, enter, wp, enter (draw polygon), enter.
I am a part time user of this wonderful program and only recently moved to 2010 and yet I cannot figure out what I am doing wrong. I have Googled and looked in my texts and still am having difficulty (also attempted to search FAQ on this site but the link malfunctioned).
View 9 Replies
View Related
Sep 27, 2012
When I select more than 100 entities all of the grip points disappear. With ACAD 2002 there seemed to be no limit to the number of entities you could select without losing the grips, but with ACAD 2007 they started dissapearing though with '07 clicking "View" "Regen" would bring them back into view (unless you accidentally click on another entity). With ACAD 2013 if I go over 100 that's it. This is mostly a problem for me as I use the spacebar shortcuts extensively in creating and manipulating my drawings. I have found other ways to to acomplish my needs such as using the move command but I have much successful history using my old methods and would like to continue with them.
View 3 Replies
View Related
Oct 24, 2013
Is it possible to embedd data in a table so that a user can select from a group of data within one cell?
I use this technique quite often in Excel. One cell in a table can have various values: A, B, C, or D. While another cell can have a different set of values to choose from: BLUE, RED, ORANGE, or PURPLE. The user can pull down an arrow (similar to a dynamic block) and choose from a set list of values.
View 2 Replies
View Related
Apr 7, 2013
I have a problem with autocad 12 when i write command DC "design center" it don't work correct it show me the box but don't expand any drive to select !
View 2 Replies
View Related
Jan 15, 2013
Is it possible to select entities of multiple layers?
I've looked at... [URL] .....
...and tried the following code.
string[] layerNames = {"1", "2", "3"};TypedValue[] tdv = new TypedValue[(layerNames.Length * 3) + 2];int i = 0;tdv[i++] = new TypedValue((int)DxfCode.Operator, "<or");foreach (string ln in layerNames){ tdv[i] = new TypedValue((int)DxfCode.Operator, "<and"); tdv[i + 1] = new TypedValue((int)DxfCode.LayerName, ln); tdv[i + 2] = new TypedValue((int)DxfCode.Operator, "and>"); i += 3;}tdv[i - 2] = new TypedValue((int)DxfCode.Operator, "or>");SelectionFilter sf = new SelectionFilter(tdv);PromptSelectionResult psr = ed.SelectAll(sf);
This code gives me an error in the PromptSelectionResult.
What would cause the erro?
View 1 Replies
View Related
Jan 11, 2013
There are blocks in the drawing, each containing several nested entities. Need a command which would find all the nested entities which got into the selection area provided by user (not necessary to select entities, just get the ids). GetNestedEntity() does what I need but for a single entity only.
Selection of 'Trim' command does exactly what I need. How could I achieve the same behaviour?
View 5 Replies
View Related
Sep 26, 2012
I was wondering if there is a way to change multiple entities of Mtext. I tried CHT but the options are limited. Is there a way of say changing the color?
View 6 Replies
View Related
Mar 26, 2013
How to Jig multiple entities such as insert a block and add a line.
View 3 Replies
View Related
Nov 19, 2013
I have created multiple sketch entities like line, arc, circle etc. using the Inventor API's. Now I want to add the coincident constraint between start point of line, start point of arc and center point of circle.
I have added coincident constraint through UI(Please see attached snap). The same I want to add using Inventor API's. which API I should use to add the coincident constraint for such multiple entities.
View 1 Replies
View Related
Apr 15, 2013
I cannot see any GPS data on my jpeg photos in Lightroom 4.4 (was the same in 4.3), I add the data on the computor using JOBO photoGPS softwear, lightroom works fine with RAW files GPS data but not that added to jpegs, post capture. I shoot Raw files and jpegs with both a Pentax K-x and a Sigma DP1 then add GPS data recorded at the time with a JOBO GPS unit attached to the hotshoe.
If I use my new Pentax K-30 with a Pentax GPS unit which adds GPS data in camera, there is no problem, Lightroom shows this, RAW and jpegs.
The JOBO unit software give better additional metadata information, addresses etc than the Pentax unit, though it does take more work to use.This issue effects uploads to flickr as there is no GPS location then shown there.
I use Windows7.
View 12 Replies
View Related
Jul 10, 2013
If I shoot 2 different portraits (of 2 different people), against the same background (a complex one not a backdrop), using a locked frame on a tripod, giving me the same exact background in both pictures, with only the portraits changing.
If I then take these 2 pictures, and create layers out of them in the same Photoshop document, and align them perfectly on top of each other.
Is there a way (action, plugin, script, etc...) to select the pixels that did not change between the 2 layers? In other words, the pixels that create the background of both pictures? And would it make it easier if I shoot the background alone, and then the portraits, and then follow the same steps?
View 1 Replies
View Related
Dec 29, 2011
I am trying to save road centerlines with labels to an AutoCAD drawing. On the Output Tab I click Save Current Map to AutoCAD. When I open the AutoCAD drawing I created each letter in the label is a seperate text entity. Like Main St is not one entity, it is 6 different text entities.
View 3 Replies
View Related
Dec 20, 2012
I am new to photoshop lightroom. I have imported photos to lightroom previously. I want to go back and edit again. I tried going to file, then open catalog, next I select a folder, finally I see all my photos.I try to select photos but I am unable to.
View 4 Replies
View Related
May 15, 2008
Right now, when i click one object and then another, the first object becomes deselected. Holding shift is the only way for me to select multiple lines right now (other than dragging of course) but that's not what I'm used to and it annoys me a lot. At first everything is fine but then after a while it does this without me changing any options at all.
View 9 Replies
View Related
Mar 19, 2012
We have this need to have all of the solids in a drawing to be placed in the "solid" layer.
Sometimes folks are drafting lines to develop these solids, and keeping the lines on the "solid" layer, rather than moving them to another layer, or deleting them altogether.
I could get folks to run this command before leaving the drawing.
I'm thinking something along the lines of:
Select all entities that are on the solids layer that are not solids.
If nil, great, do nothing.
If entities are selected, let me do something with them.
I'm hoping the following can be modified ever so slightly.
(setq non_solid (ssget "X" (list (cons 0 "3DSOLID")(cons 8 "solid"))))
View 4 Replies
View Related
Sep 14, 2013
A lot of pictures of my collection do have GPS-data in EXIF-header. Sometimes they are shown on the world-map, sometimes not. In list-view they are never shown. The list-view knows only locations, which are matched with PSE.
The EXIF-input was made by two different tools (Holux GPS Software and Geosetter 3.4.16).
How can I get the list-view for the saved files without using PSE adding location?
View 2 Replies
View Related
Mar 20, 2012
Possible to add custom fields to an AutoCAD object and be able to view those fields and contens in the extended data tab on the properties palette?
If it's not possible with VBA is it possible with .NET?
View 1 Replies
View Related
Oct 31, 2012
This was my first go-around attempting to create a custom tool palette for our office. Everything was fine, the palette worked well. All of the block libraries and associated files were initially saved on my local drive. I then moved the files and folders out on the network, repathed all the items on the palette to the new area but for whatever reason when I insert blocks that have attribute data attached It is not recognizing it anymore. I am just trying to get this piece straightened out before I export the palette itself out to the network to share.
View 1 Replies
View Related
Jun 18, 2013
I know this discussion title is a bit murky, but the problem is a bit odd. I have Photoshop CS6 v13.1.2. In this version, I will activate the Select Tool, check Auto-Select: Layer, check Show Transform Controls, and then while using the Select Tool I will drag to create a rectangle to select multiple layers with content within the specified area.
Unfortunately, this action only works when I begin the selection from outside of the canvas area. If started from within the canvas area, no rectangle will appear, it will show me a measurement of my selection size, and then no layers will be selected upon release.
This cannot be working as intended right? I mean multi-select dragging cannot be intended to only work when started outside of the canvas right? Is there some way to fix this issue? Is this a bug? See the images below for more information on this issue.
View 5 Replies
View Related
Feb 18, 2014
Is it possible to do a multiple-records data merge that doesn't generate multiple text boxes? And if so, how?
For publications such as a directory with contact information, it would be easier to manage the layout by merging multiple records into one text box. However, it seems like the only option in InDesign is to merge the records into each of their own text boxes.
View 3 Replies
View Related
May 22, 2013
We have a perenial problem with our old GIS software where files corrupt and drawing objects are lost.
There are few export options available, but export to shape is one of them. This means that I can export a damaged file and then import it into CAD with the layers intact and the tagged numbers (similar to object data or a block attribute in CAD) imported as object data. In order to make a new uncorrupted version for the GIS program.
Is there a way to select objects by object data?
If a file is corrupted, the only real way to repair it at the moment is to go back to the original cad drawing and reimport and then retag every single tagged attribute on what can be thousands of drawing objects, and by then we may no longer have the handdrawn data to even do that.
The next workaround is if I creat new dwgs from the cad drawing, Each one containing the objects with the same object data, and each saved with a file name that matches that object data, and then reimport into the GIS. (it can use the filename as a tag). This creates a new GIS file with the surviving information that should not lose any more data and we may be able to patch the 'holes' afterwards.
The problem is selecting all the polylines in the cad drawing that have that same tagged number in the object data. Select similar just goes on object type and layer. This would be easier if I could select by object data and get everything with the same tag in one go.
A way to batch create the new dwgs from that selected data would be nice too.
C3d 2013
View 9 Replies
View Related
Jul 3, 2012
I like that in the hatch command, you can select multiple boundaries at a single time, hit ok, and be done with your hatching. However, when hatching from the tool palette, you can only select one boundary at a time, forcing you to constantly repeat the command. Is there a system variable that controls this type of behavior for the tool palette?
View 5 Replies
View Related
May 17, 2011
I have polylines that when selected, under properties it lists Object Data for the selected polyline. There are like 10 categories. This drawing is actually creeks in a county and they have object data connected to them where some are "a" some are "b" classification and I want to select all of the "a" polylines and put on a diffrent layer.
View 1 Replies
View Related
Dec 6, 2012
Autocad 2013 Data Extraction works if I do not include attached xrefs and set it to "Select objects in current drawing". When I check "Extract objects from xrefs"; and go to next it processes for a bit then stays on page 2 of 8 on the Define Data Source page. Also have the same error if I choose " Drawings/Sheet set" with or without the xref objects included.
View 3 Replies
View Related