AutoCAD Civil 3D :: Reshaping A Polyline Based On Area Input?
Apr 25, 2013
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 want to know if there is an easier ACAD solution for drawing. In the given triangle of ABC (sides and angels are known) I want to draw line CM so that the area of BCM becomes 2000 cm (are of ABC is 5311.7 cm3).
Is there an easy ACAD way for drawing this line without using trigonometry for calculation?
I was just wondering why when I try and calculate an area using a polyine, I am getting a readout of 1.80401967E+07, when I have it set to give me the calculation in square feet? It is an area of approx. 246 Acres.....is this because the area is so large? I am not sure what the "E" stands for or the "+07" at the end....
I've read 2013 is going to include line labeling capabilities by selecting 2 points rather than selecting linework. Is there going to be a way to label an area without creating a closed polyline or parcel, where it works the way a hatch works. So if I selecting in the middle of multiple individual intersecting lines, it labels the area.
I've been working on this code for a bit now and I've got a Windows Form with a numeric up down box which is designed to determine how many Layouts (PaperSpace) that a user would like generated.
I've got the form to pass the value as to the function as an argument but an not sure how to get the function to automatically generate "x" amount of Layouts based on the value of "int x". Right now i've just got a few "if" statements controlling the system, but i'm looking for a more elegant solution than a sea of "if" statements.
namespace CHPaperSpace { public class PaperSpace { [Autodesk.AutoCAD.Runtime.CommandMethod("CHPAPERSPACE")]
// This will be the function associated with my command public void CHPAPERSPACECOMMAND(int x) [code]........
I'm trying to create a pline in a dynamic block where the length is determined by two values I would input into properties or as attributes.
The first value 'A' will be a ground surface elevation
The second value 'B' will be a ground water elevation
I would like to the pline to have a length of A minus B.
I would then also like to have mtext (or any other method of display text) to display the values of A and B.
For example, if I have a ground surface of 102 and a ground water of 91, my line length will be 11, and I can display a label of '102' at the top of the line and '91' at the bottom of the line.
I've created dynamic blocks before, but none that have used an expression of two values or having to display inputted values. I'm not really sure where to start with this, or if it's even possible.
I'm just starting to learn how to use the 3D environment in AutoCAD (2014 version). I'm following some tutorials but I'm a bit confused regarding direct input values when using the polyline command.
I've drawn a 50mm square, starting at coordinate 130,130,0 (lower left corner) using the polyline command (NOT using the Close command to complete the square). The next step then states draw a second polyline using the following input @7<45,55 to locate the first corner, then draw a 40mm square. It doesn't quite put the inner square where I'd have expected it so I wanted to tweek the command to correct any error but I haven't used the @ symbol or < sign before. What the input description means? From testing it appears to base the starting point of the inner square in relation to the outer square.
I have polylines that when selected, under properties it lists Object Data for the selected polyline. There are like 10 categories. This drawing is actually creeks in a county and they have object data connected to them where some are "a" some are "b" classification and I want to select all of the "a" polylines and put on a diffrent layer.
I am creating a block with attributes for a standard job. I have (4) total attributes in this block (for example: panel type, qty, length in imperial, length in mertic)
I would like my length in metric attribute to automatically populate based on the input from length in imperial.
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 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.
We have 1 machine in the office that when using super hatch it will not "hatch" the entire area as one hatch, it breaks it into separate image based pieces. The rest of the office, it hatches as one entity so it can be changed easily. Even if we use the group command, it will not group them.
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?
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
I am using 2012 autoCad. I have created an external MS access database in 2010. I want to map some fields like Polyline areas to DB field. DBConnect wasn't that much usrful to me for external databse.(Or I might be missing something).
Is there anyway that I can map AutoCAD-2012 Polylines to External database field so that updating polyline auto updates the database??
I have many floorplans and each room has a polyline around it.
What I'd like to do, is be able to select multiple (or single) polylines and have a dynamic field with the area attached to each polyline placed in the middle (or on a consistent edge, say top left). Preferably with custom units as we use mm for the drawings, but would want the area in m2. Also custom text heights.
I can find a lot of 'put the area in the middle' scripts, but they're either not dynamic or they require a click to place each one - and with over 700 floorplans and over a hundred or more rooms on some, it's not really possible to do each one individually!
How to changes the settings for the "Square Area" in mapcheck's closure summary. When I right-click the dwg name in the Settings tab of Toolspace and choose Edit Drawing Settings, then Ambient Settings, I see the Area settings, but in the closure summary, there is also "Square Area". Why are these both there? It WOULD be nice to show sq. ft. as well as acres, but I can't find anywhere to edit it.
Civil 3D 2012 Windows 7 Enterprise SP1 Dell Precision T3400 (Q9550 @ 2.83 GHz) 8GB RAM Nvidia Quadro GTX 650 Ti BOOST
I'd like to set up a blockwith different attributes like Roomname, Floor, Area,...
Therefore I'd like to link a polyline of the drawing with the block and it shows me its area. I know how it works with fields, but not how to connect it when the field is within a block.