AutoCAD VB :: How To Single Point Hatch In VBA
Jul 14, 2000
How can I use a single point selection to hatch an area by using vba in AutoCAD 2000?
I can hatch the area by selecting a polyline. what I would like to do is have the user select a single point and the area would be hatched?
View 2 Replies
ADVERTISEMENT
Sep 2, 2013
I am using following lisp code to select line object by single point.
(setq pt (getpoint "
Pick a point"))(setq ss (ssget pt))
What is the .Net equivalent to achieve this? (select object by a single point I provide)
View 3 Replies
View Related
Jan 16, 2013
I'm very careful with my work to keep my lines on the same elevation and and I fillet and trim so that boundaries should be closed but AutoCAD always finds some problem with my work when I try to hatch an area by picking a point, often claiming boundary failures with those little red cirlces NO WHERE NEAR the area I was trying to hatch!
Even more infuriating is how it seems to have NO problem temporarily hatching the area while I hover before picking the point. If it can display what it might have looked like, hasn't it found the boundary? Or were these two features coded by people working in opposite ends of the building?
it has no trouble ghosting the area in hover.
AutoCAD 2010
AutoCAD LT 2013
Revit Architecture LT 2013
View 9 Replies
View Related
Dec 6, 2012
Is there a way to have multiple elvations on a single point?
Such as with a top & bottom of curb.
I have tried to add a component to the style, assign the name as the control, and put in the elevation
I want, but you can't have multiple points with the same name.
View 9 Replies
View Related
Sep 12, 2011
Autocad2008 has the Break, Break at Point, and Dimension Break tools. There may be other variations of the break command, but I'm not able to fined a way to quickly use any of these commands to create a very simple single break point on a single segmented line at an unequal segment. I'm surprised Break at Point doesn't fit the billet.
Example:
I've drawn vertical line 10 units long. I would like to place a single break point at 7.956 units from either endpointe of that very same line. This is not a polyline. When selected it is depicted as a line with two equal segments.
The purpose of the break is so that I can intersect a horizontal line at 7.956 units located on the vertical line.
It seems to me that with all of the break tools available, one of them should be able to accomplish this simple task on the fly. Even most basic CAD programs such as Draft It, has a break tool that performs this function easily and quickly with one mouse click and one single text box entry.
Also, the fastest way I have found to accomplish this task is to simply draw another vertical line 7.956 units over the original vertical line, and that allows me to attach my horizontal line at 0 or 180 degrees from the vertical 7.956 units. I then go back and delete the second vertical line.
View 9 Replies
View Related
Nov 7, 2011
I'm creating the following macro:- (defun C:BK () (command "_BREAK" PAUSE "_F" PAUSE "@" )(princ)) to add to a shortcut key lisp file and then I want it to repeat... How do I make it repeat?
I want it to do the same as this:- *^C^C_break \_f @ but as a shortcut key in a lisp format.
View 7 Replies
View Related
Apr 5, 2011
Is it possible to break multiple lines at a single point without a gap along a perpendicular line??
View 6 Replies
View Related
Nov 29, 2012
Is it possible to include a point entity (rather than a zero-length line as in the standard SQDOTS pattern) in a custom hatch pattern?
If so what's the exact format of the line in the .pat file that defines the point?
View 9 Replies
View Related
Jun 16, 2013
I am wanting to create 3D text where a vanishing point is behind the text in a perspective grid.
View 3 Replies
View Related
Dec 4, 2008
I am trying to figure out how I can rotate many different circles (could really be any shape) aound a single point? For example, say I have 10 identically sized circles and want to rotate each one tangent to a single point every 36 degrees. Hopefully I am making sense and explaining the situation correctly. Is there a quick method using CorelDraw's tools/features to accomplish this task?
View 14 Replies
View Related
May 7, 2013
I'm laying out cribbage board designs for export to .dxf. I've drawn the board holes as circles but for the dxf file what I really need is a Single Point at the center of each circle.
So, is it possible to make single points in CorelDraw X4? If so, is there a way I can put a single point in the center of 300 holes at once?
View 12 Replies
View Related
Mar 28, 2012
For example, I have a 10cmx10cm grid with lines every 1cm. I want to turn this square into a triangle by reducing the length of the top edge to a single point. The final image should show the vertical lines reaching up towards the top centre, while still leaving the horizontal lines 1cm apart.
Using DISTORT will push the vertical lines up towards the top, producing uneven spaces between the lines. How do I avoid this? know it would be easy to recreate the desired triangular grid from scratch, but this is just an example of my problem. I need to apply the solution to graphics which cannot be reproduced again - i.e. bitmaps.
View 3 Replies
View Related
May 2, 2013
I am trying to entmake a hatch entity from a hatch template.
After entget the template hatch entity, i get the followings
Select object: ((-1 . <Entity name: 7ed11b78>) (0 . "HATCH") (330 . <Entity
name: 7efc7c10>) (5 . "737") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 .
"SECTION-LABEL") (62 . 255) (100 . "AcDbHatch") (10 0.0 0.0 0.0) (210 0.0 0.0
1.0) (2 . "SOLID") (70 . 1) (71 . 0) (91 . 1) (92 . 1) (93 . 8) (72 . 1) (10
633596.0 5.79713e+006 0.0) (11 633519.0 5.79713e+006 0.0) (72 . 1) (10 633519.0
5.79713e+006 0.0) (11 633519.0 5.79708e+006 0.0) (72 . 1) (10 633519.0
5.79708e+006 0.0) (11 633500.0 5.79708e+006 0.0) (72 . 1) (10 633500.0
[code]....
Now I wrote the following code using the above data as follows
(entmake (list (cons 0 "HATCH") (cons 67 0) (cons 410 "Model") (cons 8 "SECTION-LABEL") (cons 62 255) (cons 10 (list 0.0 0.0 0.0)) (cons 210 (list 0.0 0.0 1.0)) (cons 2 "SOLID") (cons 70 1) (cons 71 0) (cons 91 1) (cons 92 1) (cons 93 8) (cons 72 1) (cons 10 pt1) (cons 11 pt2) (cons 72 1) (cons 10 pt2) (cons 11 pt3) (cons 72 1) (cons 10 pt3) (cons 11 pt4) (cons 72 1) (cons 10 pt4) (cons 11 pt5) (cons 72 1) (cons 10 pt5) (cons 11 pt6) (cons 72 1) (cons 10 pt6) (cons 11 pt7) (cons 72 1) (cons 10 pt7) (cons 11 pt8) (cons 72 1) (cons 10 pt8) (cons 11 pt1) (cons 97 0) (cons 75 0) (cons 76 1) (cons 98 1) (cons 10 (list 0.0 0.0 0.0)) (cons 450 0) (cons 451 0) (cons 460 0.0) (cons 461 0.0) (cons 452 1) (cons 462 1.0) (cons 453 2) (cons 463 0.0) (cons 63 5) (cons 421 255) (cons 463 1.0) (cons 63 7) (cons 470 "LINEAR")))
The point variables pt1, pt2....pt8 are all defined. But when I run the code the hatch is not being created? Why?
View 1 Replies
View Related
Aug 24, 2011
I have a hatch (ANSI31) enclosed by a closed polyline. Whenever I change the hatch from ANSI31 to GRAVEL some of the hatch shows up outside the boundary. The Polyline consists of both arcs and line segments, and the hatching errors are occurring within the radius of the arc segments. Changing it from Associative to Non Associative makes no change.
I am using AutoCAD 2011.
View 9 Replies
View Related
Aug 6, 2008
I am in need of a lisp routine which will automatically pick up all hatch and solid hatch patterns within a drawing and change the colour to colour 254.
View 9 Replies
View Related
Apr 17, 2010
It is no more possible open Hatch Edit dialog with double click on existing hatch. Now, this way opens only Properties
View 9 Replies
View Related
Jan 2, 2013
Just downloaded Autocad 2013 and am missing quite a few of the standard hatches (siding, soldier, board and batten, etc.) What should I do to get them back. When I open old drawings with these hatches in them, they load just fine...but I am unable to hatch any new areas with these hatches (because they are not listed in the hatch library)
View 9 Replies
View Related
Feb 22, 2013
I want to be able to add a Block Reference to a hatch. I'm adding the block reference to an ObjectIdCollection and the hatch is not taking it when using AddLoop().
So I thought maybe I needed to add the location of the polyline (curve-like) object that is member of the blockreference to the hatch, but I don't know how to get its ObjectId.
Hatch thisHatch = new Hatch();thisHatch.Layer = layerName;thisHatch.SetDatabaseDefaults();thisHatch.SetHatchPattern(patternType, patterName);thisHatch.Color = Color.FromColorIndex(ColorMethod.ByColor, colorIndex);thisHatch.Transparency = new Transparency((Byte)(255 * (100 - 60) / 100));tSpace.AppendEntity(thisHatch);transaction.AddNewlyCreatedDBObject(thisHatch, [code]........
Also, I'm trying to delete certain HatchLoop that is associated to a polyline but I don't know how to do it. I'm going through the loops in the hatch but I don't know what to do there. I wanna do this so I create a new and different hatch on top.
I think one could also copy all the loops except the one one wants to delete, but I'm not sure how to tell which one is the one I want to delete that is the one associated to a polyline or that is in certain region.
View 1 Replies
View Related
Dec 17, 2011
I have AUTOCAD LT 2012 - windows 7 - SP1
Neither the button for Hatching or the Draw Hatch menu do not activate the HATCH DIALOG BOX?
This means I cannot Hatch?
I have also added the Hotfix for the Ribbon and it made no difference.
View 6 Replies
View Related
May 6, 2013
I've migrated from 2005 to 2014 LT and wondered if they have added to the hatch commands. I've looked and haven't found anything. Is there a command that you can pick a hatch pattern already shown on the drawing and make that pattern the existing one to use? I sometimes have multiple hatch patterns and scales, and wanted a quick way to go from one to another without lisp help.
View 3 Replies
View Related
Feb 11, 2012
Why is my hatch off set from what I want to hatch? I pic the points of the area in 3d i want to hatch but it ends up hatching out of the points i select?
View 5 Replies
View Related
Jun 21, 2008
I would like to know how to change the colour of a single layered, single coloured gradient (foreground to transparent) image. There is nothing more to it than that other than I don't want to use the hue/saturation adjustment as it's hard to get a specific colour.
View 7 Replies
View Related
Aug 16, 2011
I need to design a walking track 1 mile (5280 feet) from a starting point and finishing at the same point. I need to go around buildings, ponds, etc. What is the best way to tackle this? I thought about 16 splines at 330', but as soon as the spline is moved the distance changes.
View 2 Replies
View Related
Nov 15, 2012
I need to find a way how to insert a point or a * on the center point of a hole and put it on a different layer. The reason for this is - I am a CAD tech for a welding shop and we cut parts out of steel and we use the dxf file format for our plasma table to cut parts. For example : if i have a 1 inch thick plate and want to put a 3/4'' hole in the plate the hole will be distorted because the hole is smaller than the material thickness. For these situation we can use the plasma table to burn a point or a dot on the center point of the hole. But to do this the point or dot must be on a different layer in the dxf.
View 2 Replies
View Related
Aug 7, 2013
I am looking for something a lisp or program that would do a light point by point of fixtures in a plan.
[URL]
View 1 Replies
View Related
Feb 28, 2013
Civil 3d 2012..I used 3d orbit, it crashed. My points, point groups and newly updated description keys are gone.I have looked at all my backup files etc, and they do not want to display.
View 4 Replies
View Related
Aug 16, 2013
Im still new to Civil 3D and i would like to know how to connect inported points using 3D polylines. I imported my points from Excel in a PNEZD format. How do i get the 3d poly line to snap to my points so I can Connect them? someone mentioned using a feature line to connect the points but im not sure how or what that would do.
View 3 Replies
View Related
Sep 26, 2013
What's the difference between the "Point" Parameter and the "Base Point" Parameter in the Block Authoring Parameter Pallet?
HP DV7 Laptop
Intel Core i7-3820QM 3rd Generation Quad Core 2.7 GHZ CPU
16 GB DDR3 RAM ( 2 DIMM ) / 180 GB SSD
Nvidia GeForce 650M Graphics w/2 GB Memory
Windows 7 Professional 64 bit / AutoCAD Civil 3D 2014
View 6 Replies
View Related
Jun 9, 2011
I'm trying to draw a plan of my house in Autocad 2009 but I seem to be endlessly using trim and extend because I can't easily select the points that I want with osnap. Eg. imagine I have a box, and I want to start drawing another box inside it that has each side as 10 units smaller than the corresponding side on the outer box.
Step 1 - I draw a small line from the top left corner of the big box using the endpoint snap, typing in "5" for the length.
Step 2 - I then do the same at right angles to the first line to get me to the starting point of the inner box. This always leaves me with 2 small lines to remember to delete.
Step 3 - Then in order to draw the top line of the inner box I end up drawing to a random length because I can't say "draw until 5 units away from the right hand side of the big box", then I end up trimming it later once I've repeated steps 1,2 and 3 for the next side of the inner box.
I know in my example above I could have scaled the box down or something but that's not what I'm getting at. I really want a way of selecting line start and end points that are a known position away from an existing point.
View 9 Replies
View Related
Jan 17, 2013
I have a database of points I am trying to import, and the point data for each point includes a hyperlink. I've created a set of custom User-Defined Property Classifications for all the data types in the point database, and I've created a point file format to use to import the points.
It's a database of existing curb ramps, the data includes things like widths, slopes, some text, and a hyperlink to the Google Streetview at each ramp. I've created a custom point label that will show the data I need to see at each ramp.
All goes great except that the import fails because of the hyperlinks. I've tested it by removing the hyperlinks from a small test portion of the data set, and the test points are then successfully imported. I suppose I can delete the hyperlinks from the entire database, but if there is a way to include the hyperlinks in the point import I would prefer that.
Win 7E 64-bit, Intel i7, 12 GB
C3D 2012
View 6 Replies
View Related
Aug 21, 2013
In uploading the Point input data into the AutoCAD Civil 3D 2013 software program, is it possible for me to add more Point Attribute items after Point Number, X, Y, Z? I need to have the chemical results/data attached to the (sampling) Point that has the Point #, X, Y, Z - like Point Number, X, Y, Z, Arsenic, Lead, Mercury in the input .txt (or .csv) file.
View 9 Replies
View Related