AutoCAD .NET :: Get Blockname Inserted Before Selecting Point On Drawing?
Mar 21, 2013
I select one block to insert . However,how can I get the Blockname before select the insered point?
I found the BlockTableRecord.BlockInsertionPoints event. It is meaning that it can only apply to the whole BlockTableRecord type rather than some individual block references (AutoCAD INSERTs)
View 9 Replies
ADVERTISEMENT
May 14, 2012
I have a *.csv file complete with point references, easting, northing and height. I'm trying to find a way that I can import the points so that I can snap to them and also include the point reference beside the inserted point. Currently running CAD LT 2011.
View 9 Replies
View Related
Mar 21, 2012
I'm looking for a lisp that can list the coordinates of blocks to excel, as well as the block name.
I'm currently working an a drawing with 200+ soil samples for a road design, and I have to check the coordinates with a separate excel list.
View 1 Replies
View Related
Dec 7, 2011
Some times we have to insert a Tiff file into a drawing and sketch over the top of the image. Occasionally when I go to print the file all I get is a blank rectangle where the image should be. Now the image does show in the print preview and it will print out normally sometimes.
View 1 Replies
View Related
Apr 13, 2011
I've not used AutoCad for probably 15 years. I used it in my government job, but have forgotten many commands. I have inserted a building survey into a new DWG, and remember that I can find a dimension on that survey, and use it to begin a scale for the drawing, so that I may make additions to the building drawing.
View 3 Replies
View Related
Jun 26, 2012
I am running into some trouble with user parameters that have been inserted into a dimension's "text box". I sometimes hide the dimension itself and insert these parameters so that iLogic can manipulate the upper & lower tolerance limits for a dimension.
The problem seems to arrise anytime one of the dimension's arrows becomes detached from the drawing (and perhaps for other reasons, too, although this is the only clear cause so far). I can reattach the arrow and the dimension seems healthy again, but if I go into the text editor, I notice that the link to any parameters that I've inserted has been lost. They appear as they were last set, but will not update if the parameters themselves change.
Is there a better workaround for this, or can we expect a solution in IV2013? I've invested close to a year's worth of work expecting this method to perform properly, and it will be a letdown if there's no solution.
View 1 Replies
View Related
Apr 5, 2012
I was looking for a way of counting blocks inserted in my current drawing.
F1, brings up HELP.
In the search box i type BLOCKS.
Results =
Overview of Hatch Pattern Definitions
Create a Shortcut Menu
Overview of Shape files
Overview of slides
Work with User Interface Elements
Multiple Drawing Folders
View 3 Replies
View Related
Jul 2, 2012
I am trying to select End point of line for drawing rectangle and trying to select rectangle in PressPull command but i am not able to select in one side on other side i can do very nicely.
I am using AutoCAD 2012. first i draw floor plan in 2D . Then i switch to 3D Basic mode and i like to PressPull windows so i like to place and draw rectangle for PressPull but not able to do.
I am Attaching temp.dwg file.
View 9 Replies
View Related
Sep 5, 2013
Using Civil 3D 2013Coordinates coming out of survey equipment are modified state plane GROUND (scaled up from the origin by the combined factor).Drawing is setup with state plane coordinate system with user defined transformation to establish geodetic reference and the ability to label lat/long or import Bing map data.Survey database is setup with "No Datum, No Projection" (data is already at ground, I don't want ot transformed).Import style is PNEZD and is set to use Northing/Easting not Grid Northing/Grid Easting.After importing points into survey database, coordinates of survey points match the CSV. This is good.After importing points from database to drawing, they are taken as grid coordinates, are scaled again and are off ~5,300 feet northeast.Why would Civil 3D assume the points in the database are grid and scale them when the import style used did not specify grid? Is there a setting or something I can do to tell Civil 3D to leave my coordinates alone?
View 9 Replies
View Related
Aug 9, 2013
I have a library of blocks that I built for our company to use. We recently upgraded from 2013 to 2014 and boy did it throw our library for a loop!
There is a check box (reflectivity) that leaves the materials black when the drawing shade mode is changed to Realistic (unless you go in and uncheck the reflectivity box) and while I have figured out how to alleviate that issue (by unchecking it on our tempate and saving it) I am still having a materials issue with our blocks.
I can open the block (and turn on Realistic mode) and all the pieces have their materials like they should. I then open a new drawing and insert the same block into the drawing .. one piece is sans material.
I cannot for the life of me figure out why it's there on one drawing but it gone when inserted. The new drawing has been purged and doens't contain anything it shouldn't.
[URL]
View 2 Replies
View Related
Nov 22, 2011
I was wondering if there is a way to select specific 3D points out of a point cloud (.pcg). I am new with Autocad and handling of point clouds .
I can think of various things that you might want to do, as in clean up a bit the data or even delete some areas that you are not interested with. additionally, one might want to do some calculations, so selecting points first and the running a list script to use that points can be handy as well.
View 1 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
Oct 5, 2013
when selecting a point group from the prospector tab, sometimes the point grips will light up and sometimes only the points will be only dashed.
Having the grips light up like that is very useful when viewing a region with many point groups.
How do I toggle this on and off?
View 3 Replies
View Related
Apr 20, 2011
I'm using a CS3 with a powermac and having trouble accessing Vanishing Point. No matter what I try, it remains grayed out and unavailable in the menu of filters. I've tried selecting the layer I want to work with, made a new layer, even tried selecting from different tools. I can open other filters but not this one. This is a complex, large file with many layers...
View 4 Replies
View Related
Apr 17, 2013
Is it possible to have a dynamic block with text which, when inserted into a drawing, will show the text orientation matched to the layout? I have a non-dynamic block which is simply a donut and a piece of text. When I insert it into a drawing, the text orientation will change to suit the orientation of the layout. I created another block with the same entities but I also added a couple of lines extending out from the center of the donut. I added stretch and rotation actions in order to rotate and stretch the lines. I also gave the block visibility states so that either one or two lines would appear (the block is a utility pole,by the way, with the lines representing guy wires). When I insert the dynamic block into a drawing, I cannot get the text to match the orientation of the viewport. I've tried changing different combinations of settings but the text won't appear horizontal.
The two blocks I mentioned above are inserted into one file with a number of other blocks. When I check the properties of the non-dynamic block, the "match orientation" is set to YES. I cannot, however, change the "match to orientation" setting to YES on the dynamic block. Is this simply because it is a dynamic block or am I missing something? I don't create a lot of dynamic blocks and therefore I am not a wizard at it so I am assuming I am doing something wrong.
View 1 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
Oct 29, 2011
I have a need to delete all the tables in my drawing.
I started with the SS14 code from Jerry Winters VB.NET progamming and modified it to select tables. Unfortunately, when trying to select a table, the code does not work. I tried it with Polylines, block references, Mtext and it worked OK with all of them. See the code below:
<CommandMethod("SS14")> _ Public Sub SS14() Dim myDB As DatabaseServices.Database Dim myDWG As ApplicationServices.Document Dim myEd As EditorInput.Editor Dim myPSR As EditorInput.PromptSelectionResult Dim mySS As EditorInput.SelectionSet Dim myFilter(0) As DatabaseServices.TypedValue myFilter(0) = New DatabaseServices.TypedValue(DatabaseServices.DxfCode.Start, "INSERT") myFilter(0) = New DatabaseServices.TypedValue(DatabaseServices.DxfCode.Start, "TABLE") ' myFilter(0) = New DatabaseServices.TypedValue(DatabaseServices.DxfCode.Start, "POLYLINE") ' myFilter(0) = New DatabaseServices.TypedValue(DatabaseServices.DxfCode.Start, "MTEXT")
'''' Chenge items commented out above for testing.
Dim mySF As New EditorInput.SelectionFilter(myFilter) myDWG = ApplicationServices.Application.DocumentManager.MdiActiveDocument myDB = myDWG.Database myEd = myDWG.Editor myPSR = myEd.SelectAll(mySF) Try mySS = myPSR.Value If Not IsNothing(mySS) Then MsgBox(mySS.Count) End If Catch ex As SystemException MsgBox(Err.Description) End Try End Sub
What am I doing wrong? Or is there a bug when selecting "Tables" as distinct from other entities?
View 1 Replies
View Related
Jan 25, 2013
Im thinking of getting a surface pro, I have been using a keyboard and mouse for years so use short cut keys a lot and will have to get used to using menus again. However I was wondering because a tablet has no alt key how could I select a clone point for the clone stamp?
View 1 Replies
View Related
May 3, 2012
I have survey points in drawing A. I want those points to be available for drawing B. How do I do this?
(Coming from LDD where points were project based not drawing specific).
View 4 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
Dec 18, 2012
How can I define a Point2D with my mouse by clicking on an random place in a drawingsheet?
I have made the code below that creates a DetailDrawingView automatic. I am now searching a method to select the oPoint & oCenterPoint with my mouse. Both are defined as Poin2D.
I find a lot a method's where you can manipulate the Point2D using maths but I never found a method where you can get the Point2D by just clicking somewhere on the sheet (drawingview).
Sub AutoDetailedView()' Set a reference to the drawing document. ' This assumes a drawing document is active. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet. Dim oSheet As Sheet Set oSheet = oDrawDoc.ActiveSheet ' Manually select a drawing view Dim oDrawingView As DrawingView
[Code] ........
View 7 Replies
View Related
Sep 11, 2013
I'm trying to set up a company drawing sheet that requires the designer to select the sheet size before starting the drawing. Based on the drawing sheet size (A0, A1, A2, A3 & A4 all in landscape) the relevant company Title block will attach to the bottom right of the drawing border. I've manage to create the relevant forms for parts, sheet metal and assemblies.
View 8 Replies
View Related
Jan 12, 2012
Basically for example (to make this easy to understand) I've got 4 squares with hatches inside and im trying to select one single hatched area in one of the squares (and delete it). But upon selecting it it's selecting the hatches in the other 3 squares (as they were added at the same time). I've carried out a few searches in google etc and experimented with "pickstyle" but with no avail, also I've looked at groups but there are none in the drawing(so I can't ungroup).
I can do it (which I've just realised) by deselecting the boundaries in "edit hatch" but just wondered if there was a quicker way?
View 3 Replies
View Related
Sep 24, 2012
Im trying to catch the event when the user selects a component in a drawing view using
CommandManager.UserInputEvents.OnContextMenu += UserInputEvents_OnContextMenu;
But it seems that the onselect event only catches selection of drawing views or balloon, annotation etc, but not the component inside the drawing view is this intentional or a bug?
The reason i need to catch this is to make a new context menu action, so i need the selected item. I know i can use SelectionSet, but i want to be able to debug my application as an external application connecting to the running instance before i build it into an addin (saves me a lot of inventor restarts..) And Selection Set does not seem to work when i use it inside an event handler in an external application...
View 3 Replies
View Related
Dec 3, 2012
I need to create a little application (Not the firt one in .NET but my first one for Autocad in C# .NET).
What do I need to do ?
User select texts on screen. => Making a Selection Set of those selected texts. DONE
For each select text is on screen another text (on another layer) with the same coordinates.
For each text in the first Selection Set, I try to create a second SelectionSet (filtered to select text only, named acPSResPCode) but that SelectionSet stay always null. If I make the SelectionSet without filter I select every lines in the crossing windows, but no text are selected.
Here's my code (PS : Code for AcadMp 2010)
[CommandMethod("SelectionPP")] public void SelectionPP() { //Récupère le document courant, sa base de données, et demarre une transaction Document acDoc = Application.DocumentManager.MdiActiveDocument; Database acCurDb = acDoc.Database; //Récupération de l'éditeur de la base de données courante Editor ed = acDoc.Editor; //Démarre une nouvelle transaction using (Transaction acTrans = acCurDb.TransactionManager.StartTransaction()) { //Création
[code].........
View 5 Replies
View Related
Feb 27, 2013
How to use tow point styles in one Autocad drawings . I need two point in drawing.But both point styles most be different. Its possible or not.
View 6 Replies
View Related
Nov 13, 2011
Im having some problems with GIMP and my graphire4 tablet. Im not using the pen, only the mouse in gimp. Using Windows Vista and a Wacom Graphire4 tablet. When drawing, the pointer is offset from where I am actually pointing my mouse. This only happens while drawing or selecting/cropping on the canvas. All the menus work fine, and the mouse works perfectly in other graphic programs and windows.
View 1 Replies
View Related
Aug 18, 2013
I'm trying to select the pencil lines only from a scanned drawing and lose the white back ground so I can set the drawing only onto other layers. How would I go about doing this?
View 4 Replies
View Related
May 17, 2009
I have a line which is at (0,0) and (2,2). I need to draw a perpendicular to this line from point(1,0).
View 6 Replies
View Related
Mar 16, 2012
When I download a drawing from some suppliers I find that I cannot do a "copy with base point" and paste that copy into my drawing except using "paste special" which leaves me with an unmanageable image. The source drawing has all the normal (it seems) attributes of a .dwg file and can be edited as a normal drawing; it just refuses to be "pasted" into my drawing. What am I missing here!
View 5 Replies
View Related
Mar 23, 2008
I am a new user of Autocad LT and looking for drawing a tangent line to a point on a circle.
View 7 Replies
View Related