AutoCAD VB :: Get Each Polygon In A Region?

Jul 13, 2012

Like as the image, there are dividing lines(yellow) in a region (red). How can I get each type of polygon with VBA?

View 8 Replies


ADVERTISEMENT

AutoCAD VB :: Copying Reference Polygon To A Region

Nov 2, 2006

The routine basically checks for overlapping layers - it does this by copying a reference polygon to a region and doing a series of subtractions to work out how much (if any) of the polygon overlaps another one.

The script works perfectly if the reference polygon is contained completely within another (if it is smaller), or if the reference polygon overlaps the other. HOWEVER, if the polygons have vertices which touch more than once (eg they are the same shape, or share a common series of vertices) then when I run the getboundingbox command, the arrays minExt and maxExt both return 0,0,0. Is this a limitation with the getboundingbox command.

View 2 Replies View Related

AutoCAD 2013 :: Extrude Polygon Creates Solid But Original Polygon Still There?

Aug 15, 2013

Is there a setting for extruding polygons so it doesnt leave the original polygon.

When i extrude a polygon into a 3D solid, it extrudes fine but it also keeps the original polygon which means i have to delete it?

View 6 Replies View Related

AutoCAD .NET :: How To Get Points Of A Region

May 10, 2011

how to get the points of a region using c#. ?

We have irregular shaped regions (and meshes) that we are trying to map for duplication. I've seen the code that gets the mass properties but cant figure out how to expand that down to the individual points/coordinates that make up the border of the region/meshes.

View 3 Replies View Related

AutoCAD 2013 :: Can't Subtract From Region

Oct 12, 2013

I'm using the AutoCAD Mechanical 2013 student edition and I can't subtract items inside a region that i made. I type the command subtract>select the region to subtract from>Enter>select objects to subtract>Enter and nothing happends =/

Here is my file, if you'd like to take a look (the outer portion is my region and I want to subtract everything that's inside it)

View 2 Replies View Related

AutoCAD .NET :: Cut A Region And Export To Image

Aug 8, 2011

Is there a command or a procedure to cut a drawing portion and export to image format?

View 2 Replies View Related

AutoCAD VB :: Divide A Region Into Several Regions

Jan 11, 2007

as i know there is not a method to divide a region into several regions,

there is a SliceSolid to solids,but not to region objects,

View 9 Replies View Related

AutoCAD .NET :: How To Get Centroid Point From Region

Oct 16, 2011

I need to find center of Region (refer to as Centroid in MassProperties of acad, also known as Centre of gravity if 'element' mass is unique). After few days of googling, searchin i this forum... I still can not figure it out how to get centroid point from Region in VB.NET. For Solid3D is easy while it exposes this property, but Region does not reveal any properties except Area.

View 2 Replies View Related

AutoCAD VB :: How To Find The Entries In A Region

Mar 17, 2012

If there are many rectangs and circles in the drawing. How can I use VBA to find the entries in a region(maybe boundary or closed polyline)? As below, You will find 3 rectangs and 2 circles...

View 2 Replies View Related

AutoCAD 2010 :: Cannot Explode Region

Mar 20, 2013

I am having one region entity which is not getting exploded.

This region is resultant of solid editing (bolean opearions) on some regions. When I use explode() function to explode this region programatically it returns status as 'eNotApplicable'. And if I try to explode this region manually using EXPLODE command in AutoCAD 2010 it gives message as 'Cannot explode REGION'.

I am not getting why this is causing problem in 2010 only. It is working fine in other AutoCAD versions.

View 6 Replies View Related

AutoCad :: Keyboard Shortcut For REGION?

Jun 14, 2012

Well ive searched and i cant find one. this as typing REGION repeatedly is annoying

View 6 Replies View Related

AutoCad 3D :: Any Way To Curve A Region Before Extruding It

Sep 9, 2013

I have the need to curve a region, then extrude it, is this possible?

The region is a flat view of a plasma cut plate with lots of holes/shapes that then gets rolled, doing it the way I describe would exactly re-produce in cad how the finished physical product comes out.

View 9 Replies View Related

AutoCad :: Region Is Not Extruding To A Solid?

Feb 20, 2011

I am starting up my class again using AutoCAD Civil 2011. I want to extrude a circle or just a closed pline to a solid. I have done this many times before, but now it is not extruding to a solid, just a "Surface Extrusion". My commands are C:circle; C:region; (shows as filled circle and confirms it is a region); and finally C: extrude ; when I extrude it it is not a solid but rather a hollow "Surface Extrusion". Is it a function of 2011 and something I have turned on?

View 4 Replies View Related

AutoCad 3D :: How To Render A Region Without The Background

Jan 24, 2013

Im trying to render a model without the background . I've changed the resolution to 1920x1080 and it seems like autocad rendering all the background+the model to this resolution, so the final result is a lot of background and a model that you cant see the details. the file should be a jpeg or other common picture format but in high resolution.the picture attached is what i got

.5545.jpg

View 7 Replies View Related

AutoCAD Civil 3D :: How To Crop A Corridor Region

Jul 31, 2013

As you can define a target for a lane width (for example) it would be possible to define a crop or limit? Civil 3D (2013) how much you have to improve....

View 4 Replies View Related

AutoCad :: How To Convert A Region To Closed Polyline

May 13, 2011

I cant do booleans with polylines, for that I need to convert them to regions which I dislike because I lose edit vertex capabilities right? Also, from a region, how can I convert a region to a closed polyline in one go.

View 2 Replies View Related

AutoCad :: Cannot Create Region - Elliptical Arc And Sline

Nov 14, 2011

geometrical shape as I have been unable to create a region out of it using the Boundary Command. I have also tried the Polyline Command without success. Is the problem related to the Elliptical Arc or Spline present in the drawing? If so, what can be done?

Boundary.dwg

View 3 Replies View Related

AutoCad 2D :: Overlapping Objects When Creating A Region

May 14, 2013

I created a square and make it as a region. I just realize that they are consist of two kind of overlapping objects.

One is four lines that formed a square and another is the formed square region.

How do I switch the mode back to the AutoCAD classis, which when I create a region, then there only available one object, that is, the formed region.

View 1 Replies View Related

AutoCad :: Closed Region That Displays The Area?

Oct 29, 2013

I want to have a closed region that can display the area of the region (I want to see it on the screen without having to click on the area and look in the properties). Is this possible?

I want the closed region to be dynamic i.e. when I change the area of the region the displayed area should automatically change. Is this possible?

Even better would be if autocad could give the area a id and in a table that can be exported to excel reports the area of the region. Then if I have many regions autocad give every region a new id and all the id:s and areas are reported in the same table.

View 4 Replies View Related

AutoCAD 2013 :: Divide Big Region On Lines Intersections

Oct 1, 2013

I need to divide a big region on lines intersections. imagine that you create a region around a chess table and break the region so you get each square as a new region.

I can't use array because the sub-regions aren't regular. I need this divided regions to export a DXF file to a Finite elements program.

View 6 Replies View Related

AutoCAD 2010 :: Working With Region Slows Up Computer

Jun 12, 2012

I,m running 2012 LT. Whenever I go to select a point on a region or move an object to a regions vicinity the computer hangs. Exploding the region relieves the problem. Large drawings or anything else don't seem to cause a problem.

View 1 Replies View Related

AutoCAD .NET :: Principal Moments Of A Region (or Closed Polyline)?

Aug 29, 2013

I'm trying to calculate the principal moments (and section modulus) of a slection of closed polylines.

On this blog, I read that there are some new classes and functions in the AutoCad 2014 objectARX that can do this.

The one that interests me the most is 'RegionAreaProperties.PrincipalMoments Property'.

However with my limited programming skills, I can't get it to work in vb.net.

I thought is was just a property of a region, but something like 'myregion.RegionAreaProperties.PrincipalMoments' does not work.

With the code I already have I use a selectionfilter to select multiple closed polylines. I can convert these to regions if nescesary. But what is the next step? I can't find any samples of it. Not even in the Autodesk Developer's Guide.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Region To Polyline

Feb 17, 2009

For the sake of editing, I sometimes make LWPOLYLINES and convert them to regions so that I can union and subtract and intersect, etc.

then sometimes, like now, I want to work with them like as LWPOLYLINES again.

is there some command I don't know, or some routine or shall I make one?

View 8 Replies View Related

AutoCAD Inventor :: Unable To Edit Hatch Region

Sep 27, 2011

I successfully created multiple hatch regions in a sketch on a section view in a drawing.  I want to change or delete one of the hatch regions, but am unsuccessful.  I clicked on Fill/Hatch Region and then selected the region that already has a hatch defined, but the dialog box does not show that these is a hatch defined. 

If I click the hatch button it creates another hatch over the top of the current one and does not allow the current one to be deleted or changed.  Of the four regions in my sketch, one works and the other three do not.

View 2 Replies View Related

AutoCad :: Black Region Appears In Paper Space

May 2, 2013

I have an issue with a file when I plot only. The black 'mask' appears only after plotting. It does not show up in print preview.

There are no frozen layers or switched off through viewports. When I open the viewport on a new paperspace page it follows me in. I can only assume there is an underlying mask in model space or paperspace.

View 2 Replies View Related

AutoCAD 2010 :: Subtract Objects Created With Region

Aug 15, 2012

One easy way for I calculate the weight of plates with many holes is creating regions and subtract the cuts as i need and after apply "LIST" command for get value of area . But, i cannot subtract the regions, in command line says :

"Command: region

Select objects: Specify opposite corner: 44 found

Select objects:
44 loops extracted.

44 Regions created.

Command: subtract Select solids, surfaces, and regions to subtract from ..

Select objects: 1 found

Select objects: Select solids, surfaces, and regions to subtract ..
Select objects: Specify opposite corner: 4 found

Select objects:
At least two solids, surfaces, or coplanar regions must be selected."

View 8 Replies View Related

AutoCad 3D :: Unable To Sweep Region Along Helix (DWG Included)

Apr 25, 2011

why I cant sweep this region. I have tried to flip ucs move region etc.

M10x20.dwgSweep.jpg

View 2 Replies View Related

AutoCAD Inventor :: 2013 - Fill / Hatch Region Feature

Jul 20, 2012

Using Inventor 2013 and having issues with the fill/hatch region feature. I inserted my company logo on our custom border i am making and need to fill the logo in with colors to match our autocad verison borders. I go to click on fill/hatch region button and it doesnt do nothing and wont let me do nothing.

View 9 Replies View Related

AutoCAD Civil 3D :: How To Measure Area Of A Region - Defined On TIN Surface

Dec 6, 2013

I’d like to ask how I can measure the area of a region, defined on a TIN surface. ( i.e. the area of the bounded topographic terrain )

View 8 Replies View Related

AutoCAD Civil 3D :: Corridor Region Partitioning Disrupting Surface

Jul 5, 2012

I've got a corridor which builds a surface which then is integrated into my overall surface.  Until today I have been using a basic assembly which has worked fine, however today I began splitting regions where we have varying sideslopes etc.  Once I re-associated the new regions with their corresponding assemblies, my entire surface went haywire, and now seems to be ignoring several other corridors / feature lines / other grading features I have.  

View 1 Replies View Related

AutoCAD Inventor :: Layer Sheets Of Fabric On Top Of Topographic Region

Oct 16, 2011

So I have a topographic surface I created from 3 lofts and 2 patches. The goal of the project is to: find out how many rolls of fabric will be needed to cover the surface, find out how far each roll will go, and create an assembly style sketch.

So far all I have is the surface. I was thinking I could divide it in sections by the width of the fabric (minus the overlap.) With each section, create a path, and use the sweep feature to sweep the profile of the fabric. Only sweep the length of the roll, till I reach the endpoint, and turn each sweep into a part file.

My first problem with this method is that I can't seem to project the surface of the topographic region to a sketch to create the path for the sweep. Does the surface need to be turned into a solid to do this?

I believe an easier method to this would be to thicken the topographic region, split the the thickened layer, and divide it into the sections I need to build the final sketch.

Is there a better method, and which method should I use. Also, is there any way to project a surface onto a sketch or does it have to be a solid?

View 3 Replies View Related







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