AutoCAD .NET :: How To Add Hatch Pattern Within Rectangular Boundaries In Block

Feb 28, 2013

I am in the process of translating existing VBA code into its equivalent in VB.NET (developing VS Professional 2010 and testing in AutoCAD 2010)

My problem is that I have never done hatching in VB.NET before, and now I am required to hatch a rectangular area (defined by lines) within an AutoCAD block. How to go about accomplishing this task.

To create my block, I am using a DBObjectCollection to store my lines, and then append them to the block definition, creating a reference to see what I just created.

If I were to define a rectangular outline within this block, how can I possibly hatch it?

View 3 Replies


ADVERTISEMENT

AutoCAD 2010 :: Application Has Suddenly Started To Link Hatch Pattern To Area Boundaries?

Jan 17, 2013

My application has suddenly started to link the hatch pattern to the area boundaries.

The objects remain on their own layers, but I am not able to delete the hatch pattern without deleting the boundaries.

I cannot edit the hatch pattern either as the application no longer recognises the hatch pattern.

Have i changed a setting unwittingly?

View 2 Replies View Related

AutoCAD 2010 :: Can Hatch Pattern Block Other Objects In 2012

Oct 22, 2013

Can Hatch Pattern Block other objects in CAD 2012 ? i.e. make other objects behind it and invisible.

View 2 Replies View Related

AutoCAD Inventor :: Creating Circular Pattern Of Single Occurrence Of Rectangular Pattern

Mar 27, 2012

How can I make a circular pattern of a single occurence of a rectangular pattern?

A shaft has a rectangular pattern of holes (along its axis) on its surface. I want to pattern the 4th occurence of this hole pattern as a circular pattern? Can I do it in Autodesk. I can not select the a specific occurance of a patterned feature to pattern it again.

View 9 Replies View Related

AutoCAD Inventor :: Circular Pattern / Rectangular Pattern Features

Jul 25, 2012

As you see in the template photo (the photo was scanned by Microsoft Security Essentials, healthy) I wanted to extrude my circle, and I made 28 pieces with circular pattern feature; now, do I have to choose all the pieces by one by to be able to choose all?

The sum of the problem: while using the Circular Pattern feature or rectangular pattern feature in Inventor, sometimes I want to extrude (join) or cut the drawings that I made (augmented) with using circular pattern feature, rectangular pattern feature. in this case do I have to choose all the augmented members one by one (for instance I make 42 augmented members), it can take a lot of time.?

View 7 Replies View Related

AutoCad :: Hatch Does Not Recognize Boundaries

Apr 20, 2011

I've tried redrawing the shape (which is all I could think of at this point), and I still can't get a hatch in the negative space of this extrusion.

View 9 Replies View Related

AutoCAD .NET :: Can't Hatch Multiple Arc And Line Boundaries

Apr 20, 2011

I am having trouble hatching multiple "Arc & line" boundary objects.  If there is ony 1 shape mape up of Arcs & Lines it works ok, but if there is more than one, it fails,

                TVLn(0) = New TypedValue(0, "line")
                Dim FilterLn As New SelectionFilter(TVLn)
                ' Selection Filter: Arcs
                Dim TVArc(0) As TypedValue
                TVArc(0) = New TypedValue(0, "Arc")
                Dim FilterArc As New SelectionFilter(TVArc)
[code]...

View 4 Replies View Related

AutoCAD 2013 :: Remove HATCH Boundaries

Apr 18, 2013

I need to remove Hatch boundarys. I have tried Hatch Edit - Remove boundarys. Then AutoCad wants me to select Select object or.. 

I cant seem to select anything in this option?

View 4 Replies View Related

AutoCad :: How To Extend Hatch For Extended Boundaries

Aug 18, 2011

is there a way to extend the hatch if the region is later extended? bd.png

the yellow highlights show the regions that are “empty” in hatch after the boundary has been changed. My current approach is to first delete the hatch, then re-apply it, but it can be very inconvenient if there are multiple regions to change.

Is there a way to automatically associate the existing hatch with new boundary (either extended or shrunk)?

View 3 Replies View Related

AutoCAD 2013 :: HATCH Within Boundaries Of Area To Be Hatched

Aug 30, 2012

When I was using AutoCad 2010 I could HATCH within a cube, circle or within any object that was joined together even if it had text in it would HATCH within the boundaries of the area to be hatched. Now that I use AutoCad 2013 this option does not work as if there is text in the object only a partial area will become hatched. This means I have to MOVE the cube or whatever shape to a place where there is no text inside it, HATCH and then move it back to where I wanted it in the first place.

View 1 Replies View Related

AutoCAD 2010 :: Recreate Multiple Hatch Boundaries At Once

Nov 18, 2010

I have a lot hatches with no boundary around. i need recreate boundaries of these hatches but it take too late time doing it. i am an  intermediate  in  autocad.

View 8 Replies View Related

AutoCAD .NET :: Block Reference Hatch - Deleting Loops Within A Hatch

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

AutoCAD Inventor :: Equation For Rectangular Pattern

Feb 22, 2012

Can an equation be used to calculate equal distances when using the rectangular pattern.Regarding the attached .ipt file i would like to place 25 holes in the X direction with equal gap size between each hole.Also how to calculate the number of holes in the Y direction again with equal distance between each hole.I have not done this before with equations but was thinking that i would need to use the Length x Width in the equation.Do i need to add figures into the Parameters box also?

The attached file with the Hole feature the sketch is not constrained for the purpose of using an equation so i know how far from the start of the part to get equal distances between each hole to the end of the part .

View 5 Replies View Related

AutoCAD Inventor :: How To Adjust Rectangular Pattern

Feb 20, 2012

I am using Inventor 2012. I have a horizontal feature that terminates at a vertical plane on one end and an angled plane at the other end.  I want to pattern it down but when I use Adjust, the patterned features do not adjust to the angled plane. They just go strait down from the first feature. 

Does Adjust only work if the terminator is a solid surface instead of a plane?

View 1 Replies View Related

AutoCAD Inventor :: IPart And Rectangular Pattern

Nov 3, 2011

I am having a problem with an iPart. I created a rectangular patern in an iPart. When I place the member of the iPart in the Assembly file the pattern is not there. I need it to constrain another part to it.

View 4 Replies View Related

AutoCAD Inventor :: Non-Circular / Non-rectangular Pattern

May 14, 2013

I am currently trying to model a multi cavity mould tool. The cavities themselves do not follow either a circular or rectangular pattern.I have modelled one of the cavities using a revolve internal to the tool. I have also sketched out on the upper surface centre points where I need the cavities to be.

I was hoping I would be able to copy the cavity feature, select a base point and then use the centres from my second sketch to place the cavities.

I don't seem to be able to find this option. The copy and paste feature will likely work but it is hugely long winded positioning each cavity individually. Any method I might be able to use to model such a part?

View 2 Replies View Related

AutoCAD Inventor :: Rectangular Hole Pattern

Dec 1, 2009

Looking for some sample code for patterning a hole in a part using Inventor 2010. I dont need it to be selected because it is the only hole i have in the part. My main trouble is that I am having trouble withobjectcollection idea. As you can guess I am a newbie at Inventors API.

View 5 Replies View Related

AutoCAD Inventor :: Circular / Rectangular Pattern Sketch Name

Nov 19, 2012

I need to know what sketch is associated to either a "Rectangular"or "Circular"array. This is so I can filter out sketches that are not repeated in an array.

Here is my code so far (Circular Array).

Dim oCP As CircularPatternFeature
For Each oCP In oDef.Features.CircularPatternFeatures
THIS IS THE TROUBLE LINE  If sketch = oCP.Parent Then
Set oCP = oDef.Features.CircularPatternFeatures.Item(oCP.Name)
[code]........         
                                       
I have a simple test part containing an extruded disk (Sketch1) and 8 holes on a pcd (Sketch2). I only want to array a sketch if it is arrayed.

View 4 Replies View Related

AutoCAD Inventor :: Rectangular Pattern Cannot Be Applied On Bolt

Jan 9, 2012

I can not use rectangular pattern for bolt in an assembly.

View 7 Replies View Related

AutoCAD Inventor :: How To Create Rectangular Pattern Of Welds

Mar 21, 2013

I'd like to make a rectangluar pattern of a part that is groove welded into a plate.  Inside the pattern command I can select the part but not the weld. How to avoid having to do each weld individually?

View 2 Replies View Related

AutoCAD Inventor :: How To Suppress Items In A Rectangular Pattern

Aug 29, 2013

If I have a RectangularPattern how do I suppress individual features in the pattern.

For example I have a single row of holes, and I want to suppress the odd numbered holes.

I've tried this...

CComPtr<FeaturePatternElements> pFeaturePatternElements ;
pRectPatFeat->get_PatternElements (&pFeaturePatternElements) ;
const int ikNumElements = pFeaturePatternElements->GetCount() ;
wprintf (L" this has %d FeaturePatternElements

[Code]....
 
... but it crashes at the assignment of Suppressed

View 4 Replies View Related

AutoCAD Inventor :: Circular / Rectangular Pattern Feature

Jul 23, 2012

While using the Circular Pattern feature or rectangular pattern feature in Inventor, sometimes I want to extrude (join) or cut the drawings that I made (augmented) with using circular pattern feature, rectangular pattern feature. in this case do I have to choose all the augmented members one by one (for instance I make 42 augmented members), it can take a lot of time. also after applied any of these features I can't use trim feature, can I ? but sometimes using the trim feature after applying the Circular Pattern feature or rectangular pattern can be necessary.

View 1 Replies View Related

AutoCAD Inventor :: Circular Pattern For Rectangular Shaped Holes

Sep 11, 2003

The problem: I want a circular pattern for rectangular shaped holes, and I don't want the holes to rotate. The circular pattern doesn't have an option to retain the orientation.

View 9 Replies View Related

AutoCAD Inventor :: Rectangular Pattern With 2 Curve Lengths - 1 Sketch

Sep 19, 2013

I would like to use a sketch as the basis for a rectangular pattern which is set up to use the curve length for both directions of the rectangular pattern so that when I update my rectangle in a sketch, the pattern automatically adjusts to the new sketch. I have sketched a rectangle, and used one leg of the rectangle to establish the direction and length of one dimension of the array.            

However, when I try and choose the Direction 2, my only options are the entire rectangle or faces- I can no longer select other and choose a single side of the rectangle.

I was able to accomplish what I wanted by using two sketches, with the second sketch simply projecting one leg from the first sketch.  Using one sketch just seems inherently safer than trusting projected geometry.Is there a way to accomplish this with one sketch instead?

Inventor 2013 (SP2 Update 2), Windows 7 Professional (64-bit), SP1, Intel Xeon 3.07GHz CPU, 12GB RAM, NVIDIA Quadro 2000, Vault Basic 2013

View 2 Replies View Related

AutoCAD Inventor :: Create Rectangular / Circular Pattern For DNA Structure

Oct 18, 2011

Is there a way to create an upwards circular pattern, or a rectangular pattern with a circular movement?I'm trying to create a DNA-structure

View 1 Replies View Related

AutoCAD Inventor :: Assembly Rectangular Pattern - Flip Direction Option

Sep 10, 2012

Any work around for rectangular patterns in assemblies?

I want to pattern a screw using an existing Part Feature Pattern; I have figured out depending on how the part is assembled you get two outcomes and if the part is mated opposite side to how the feature was patterned you get the parts going the wrong way (see attached pic).

Is there a “flip direction” option anywhere or do you just have to be super diligent on how the seed feature orientation is in relation to the assembled pattern?

View 9 Replies View Related

AutoCAD Inventor :: Getting Graphically Selected Occurrence Of Rectangular Pattern Feature

Oct 3, 2012

We are using Inventor 2011 and I would like to make a small app that allows my users to graphically select one or more occurrences of a rectangular pattern feature  Then allow them to suppress them if desired.

I have determined the code to loop through the pattern occurrences and toggle suppression for any instance. What I do not know how to do is determine which occurrences have been graphically selected.

At this time I am only concerned with round hole features.  (Perforated metal)

View 3 Replies View Related

AutoCad :: Getting A New Hatch Pattern

Dec 8, 2011

I recently downloaded new hatch pattern that were not in the AtoCAD hatch list and I really need..step to install them to the hatch list so AutoCAD can recognize them?

View 5 Replies View Related

AutoCAD LT :: Add Hatch Pattern?

Feb 15, 2006

Where the aclt.pat is stored? I could not find it in my cad file.

Are there anyother easier way to add a hatch pattern? In-addition, How do I use the command HPNAME (initial vale = ANSI31) what values can i set?

View 4 Replies View Related

AutoCAD .NET :: Hatch Pattern Listed

May 14, 2013

I have a bit of code that I use to create hatches but the names are just coded inside (like "BRICK" or "CLAY"); I would like to list all available patterns for the curent drawing(on a form, using a combobox, etc), which is the best way to go?

View 2 Replies View Related

AutoCad :: Hatch Pattern Dots Not Seen In PDF?

Dec 22, 2010

I have a hatch Pattern 'DOTS' (A default AutoCAD Pattern) filled in an area in my drawing. The layer is plottable. The pattern is in proper scale (I have attached a screen shot). Now, when I publish a PDF, though it shows up in the preview, it is missing in the pdf.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved