AutoCAD .NET :: Add Hatch Fill Polyline Area - No Error But Doesn't Show
Oct 25, 2011
I need to add a hatch fill polyline area but leave the text island out. What I did is put put Polyline ID and Text island ID into an ObjectIDCollection. The code doesn't throw any error but I can't see the hatch.
Public Function AutoCADAddHatch(ByRef newAddedHatch As Hatch, ByRef HatchElementIDs As ObjectIdCollection, ByVal HatchColour As Autodesk.AutoCAD.Colors.Color,
_ ByVal HatchLayerName As String, Optional ByVal PatternName As String = "SOLID", Optional ByRef strError As String = "") As Boolean
Dim db As Database = acApp.DocumentManager.MdiActiveDocument.Database
Is it possible to fill an area with hatch patterns in a feature sketch (ipt sketch), not in idw sketch?
I want to show a safety screen (wire mesh) in a 3D model, in order to reduce the file size, I do not want to do solid wire mesh in the model, but the sketch only. I was drawing one by one line and make a hatch cross lines in the sketch, it took me lots of time to draw these lines.
Why do I not get the option to "fade fill" when I use the ALT/Backspace keyboard shortcut to fill a layer. If I use the menu option Edit/Fill.. to perform the fill I am given the option to "fade fill"
Is there a way, when you are drawing a polyline, to have the tooltip box show the cumulative length of the polyline, rather than the length of the current segment being drawn?
I used a heart fill pattern of the right 75% of the picture and the left 75% of the picture is selected overlapping the first fill in the background... I want to fill the selected background area with a flame fill pattern where it overlaps the selected portion of the heart pattern as well as the transparent area... 'overlay' looks better but Gimp is FAILING to fill the transparent areas, it ONLY fills the overlapped heart pattern portion of the selected content!!! I even tried filling the transparent area with 'white' then filling the selected area, but it STILL ONLY wants to overlay fill the heart pattern, it STILL leaves the rest alone!!! it doesn't matter if the background is white or transparent, it leaves that alone and ONLY fills the heart pattern area of selected portion of the image!!!
I have a drawing with a Polyline filled with Hatch. Also I have that Polyline ObjectId. So using this ployline ObjectId I want to erase the Hatch inside polyline. How I can erase the Hatch.
I am trying to find a command that will hatch the inner edge of a complex closed poly line, rather than hatch the entire area inside the poly line.
When I have simple shapes such as a rectangle I create a smaller rectangle inside the first that is 1' (or whatever I want my hatched area to be) smaller on all sides than the first rectangle. I hatch by selecting the two rectangles; I change the "Associative" hatch property to "No" and then delete the inner rectangle.
My problem now is that I have a complex closed poly line that I would like to hatch the inner perimeter with a set thickness, say 1 foot. Is there an easy way to hatch a inner boundary of a closed poly line or to recreate a scaled down copy of the poly line that is a set distance smaller all around. I hope I have conveyed the question clearly enough.
My Computer just recently jusst got switched to a new server...
Somethings are just acting weird now, like my hatching...
All my old hatches that were associative are acting like one seltions like if i hatch a polyline now when i go to select that hatch it now selects the polyline as well.
This never happened before abd the only way to edit it now is to either make it in the properties not associative then i lose my boundary or just to explode it then i a ihave an exploded hatch...before i made it assoc. and i could just edit or select the hatch only i think its an option setting...
When I use the fill tool to simply 'fill' a selection, it does not completely fill it. There is an ivisible barrier or line that prevents it from filling all the way to the edge. Do you think I have my settings wrong?
I was wondering if there is a settings for the displayed values in a polyline's properties. Such as area. Normally it will display square feet but I would like for it to also display acres. I know it a simple conversion, but over the course of a year or more it could save me alot of time.
How can I extract text from polyline area. Ideally scaled by some factor (drawing in millimeters convert to area in meters).
I need to write a lot of areas of some room etc. into them and i want to know if there is another possibility than select polygon note the area and make text.
I have a hatched region that clearly has an area, however the geometry properties indicate that there is no area associated. This a a complex region with many PI's. I really don't want to recreate this area.
Is there any way I can create a boundary around the hatch lines?
im trying to hatch a area inside a box but every time i try it says that there are gaps but they are within tolerance and give me OK or NO
if i select OK it hatches one i want and one beside it and the boundary it creates is all messed up if i select NO nothing happens
ive tried to find out how to identify the gaps and ill ive found is to look for the red circles.. mine dont seem to display is there anyway to turn them on? or another way to show the gaps i have so i can close them i always draw with snap on
Essentially, I have an odd shape that I fill in with a hatching. SOMETIMES, it will give me the area in the properties window (or when I use the list command). but other times, it will not give me the area.
I just hatched 4 different (but same general shape) areas, and on 3 of them CAD was able to compute the area, but not the 4th hatched area.
I created all 4 hatches using the exact same steps, so I'm not sure what I could be doing wrong. The CAD Tech at the office cant seem to figure it out either .
I have linked my drawing to a database with text inside a closed polyline. Is there a way to have the area of the closed polyline stored in the database as a live area.
I would like to convert a spline to a polyline for the sole purpose of finding the area. Is there a way to do this or is there another way to find the area of a spline? Typing list does not give me the area.
I'm having a problem here with hatching in AutoCAD 2000. The existing hatch patterns doesn't fulfill my needs and I need something more specific to hatch a cobble stone area. In my aCAD hatch patterns there's not a good hatch for it and I looked that I can do my own pattern using Notepad etc. but unfortunately I don't have a time to do that.
So, my question is: Is there any simple ways to create your own hatch patterns for example like in Microstation where it is very easy to do. There is an option that I can use cells (blocks in ACAD) as hatch patterns.
Or can I maybe download a custom *.pat file from somewhere and use it?
I have a bolt program that draws the thickness of a bolts in elevation as a polyline with a global width, what i need is a lisp to then change this lwpolyline to a hatch, ie if global width is 20 and the polyline is 30 long i need to change this to a 20x30 solid hatch, is it possible to get the the global width and length and convert this to a boundary hatch? I need the same thing done for bolts in plan too as the circle is a lwpolyline also.
I have an irregular shaped polyline in civil 3d that needs to be 31.5 acres. It is currently 32.8 acres. Without manually rescaling this polyline over and over again in order to achieve a polyline that represents 31.5 acres, can Civil 3D automatically draw the polyline to represent 31.5 acres for me?
I have a closed polyline that i can add the area to via a field in mtext using the options under area. I would like the area to always be rounded down to the nearest square meter. Is the a way to do this via the acfields.fdc file?