AutoCad :: Use Entities In A Drawing To Elevation 0

Aug 23, 2008

Just a follow up to the inquiry on the Flatten command. Is there a way to use set all entities in a drawing to elevation 0? like moving them all to Z=0 like the flatten command but all entities in one command including blocks, hatches, etc.

View 9 Replies


ADVERTISEMENT

AutoCAD Civil 3D :: Assign Elevation To Cogo Points By Snapping To Entities?

Jun 17, 2013

Can you manually create a new cogo point and have it pick up the elevation from a 3D entity that you snap to?

I found this thread from 2010 that says no at that time.

[URL]

Is this still not possible with C3D 2013?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Connect Two Points With Given Elevation Following Surface File / Entities

Dec 4, 2013

I am working on a flood inundation, I would like to find a lisp or command(i'm not finding) to connect two points with a given elevation following the surface file or surface entities. 

here is a small section as example right now it's just guesswork, some of these have taken a week to connect all the sections.

View 7 Replies View Related

AutoCAD 2010 :: Proxy Entities In Drawing

Sep 3, 2013

I recently received an autocad drawing with a number proxy entities in it. They exploded ok. However by exploding them am I losing any properties that may be useful. And what really are proxy entities?

View 7 Replies View Related

AutoCAD .NET :: Draw A Border Around All Entities In Drawing

Jun 21, 2013

I am trying to make a button such that if the user clicks it, AutoCAD will automatically draw a border that just includes all entities in the drawing.(Something) like the viewport border in the paper space)

Approach #1: The first approach could be zoom extent and draw a border around the zoomed view. how to zoom extent and draw a polyline, but can't figure out the exact size of zoomed view.

Approach #2 (optimal) : If the entity is a right circle and my AutoCAD window is not in square shape (for example, the AutoCAD window is maximized and my monitor is wide-screen monitor), Approach #1 will create redundant spaces at the right and left side of the circle entity. So if I could get the grid coordinate of far left, far right, top, and bottom entities, I can draw the optimal border around all entities in the drawing.

View 9 Replies View Related

AutoCad 2D :: Scaling Individual Entities In A Drawing

Oct 26, 2012

I have a dxf file that consists of multiple rectangles (filled). I need to keep the X-Y position of each rectangle / entity the same but scale the size of the rectangle.

So for example, scale by -10%. If its a filled rectangle centered at (1,1) size (2,2) I need it to be centered at (1,1) and size (1.8, 1..

DXF is a text file and I can write a piece of VBA code to go through, decode the text, find the rectangles, scale, save the text file back to DXF.

View 1 Replies View Related

AutoCad 2D :: Entities Outside Drawing Extents Not Selectable?

Jun 28, 2011

I key in "Crtl A" and this selects ALL objects/entities that exist, however some of these objects/entities are not visible nor are they selectable. How can I run a "Crtl A" and once ALL objects/entities get highlighted and their grips are displayed .. How can i remove the ones that are outside of my drawing extents.

View 5 Replies View Related

AutoCAD .NET :: Select Entities In Drawing And Show Grips

Jun 11, 2013

I have a command which proccess entities in the drawing and creates a SelectionSet. But, on the drawing i do not see the selected objects . I need to show grips on selected objects . It is a looks like a Quick Select command.  What can i do? What method showing the grips? 

View 2 Replies View Related

AutoCAD Civil 3D :: Ghost Entities In Template Drawing?

Feb 22, 2013

I created a drawing where I created a grading object (pad) under a site, a couple of alignements, etc.

After deleting everything to maintain layer states and settings, I saved the drawing as a starting template for day to day drawing (left it as a dwg, not dwt)

When I start a new drawing from a saveas of the template, it says that there is already a grading group named 'pad' but there isn't anything shown in the prospector.  Purge hasn't worked.  Any ghost entities left in a drawing.

I've also noticed that if you screw up a grading and try to delete the entire site and start over...you get weird results too.  It's like it remembers old stuff you did (ghost entities) and won't let you start with a clean slate.?

Infrastructure Design Suite 2013
Dell Precision T3600 - Windows 7 64-bit
NVIDIA Quadro 600
Intel(R) Xenon(R) CPU E5-1607 0 @ 3.00GHz 3.00GHz
8 GB ram - Two 1TB raid

View 7 Replies View Related

AutoCad :: Opening Two Drawing - Drag And Drop Entities

Jun 11, 2012

im used to opening up two drawings simultaneously, and i used to drag & drop entities with one another but for some strange reason i cannot do this drag & drop thing anymore with my drawings, i tried to use ccleaner to clean up the clipboard, tried searching it here and googling it but still cannot find any clue.

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Exports Entities From One Drawing To Another

Oct 2, 2011

I know through the block command you can write out a selection of entities to a single drawing.But what I am wondering is if it is possible to have two drawings open, and transfer data quickly between the two?

As an example as we are detailing an assembly we create a title block around a detail, put dimensions and notes on as needed and would then like that to be transfered into another drawing next to the previously transfered detail drawing.

View 9 Replies View Related

AutoCad 3D :: Turning 2D Elevation Drawing Into 3D Model?

Jul 12, 2011

Any way to turn a 2d elevation drawing of a building into a 3d model? Im guessing its proberly not very easy as there are no z values? Am i right in thinking that?

View 9 Replies View Related

AutoCAD Civil 3D :: Change Elevation Of Survey Point Within Drawing?

Aug 28, 2012

I'm looking to change an elevation of a survey point within a drawing. I can see where it is possible to manually unlock the points from the Survey Database to allow the user to edit the point. I'm not seeing a method or property in the API Help for 2013 to do the unlocking with code.

Also is it possible to convert a Survey Point to a regular Cogo Point through the code? Or do I have to delte the point and then recreate it as a COGO point? I think this will be my work around if the above doesn't work.

View 5 Replies View Related

AutoCAD Civil 3D :: How To Rotate Point Labels On An Elevation (facade) Drawing

Dec 7, 2012

Is it possible to rotate the point labels when working with point files from an elevation Survey in Ciivil 3D? When activating the labels visibility they are horizontal, but when I rotate the drawing  to a side view I am can´t see them.

So far I was working with Autocad (importing a dxf). Is there a way to rotate at the same time all the points labels, wich in this case are just text items?

View 4 Replies View Related

AutoCAD 2010 :: Drawing Object - Snap To Elevation Of Contour Line

Dec 12, 2013

Is there a setting I can change so if I am drawing an object (line, polyline, etc.) if I am snapping to a contour line, the objects will NOT take on the elevation of the contour line?

View 3 Replies View Related

AutoCAD Civil 3D :: Create Elevation Label That Give Spot Elevation

Jul 11, 2013

I am trying to create an elevation label that will give me the spot elevation followed by the letters "TC" and then on the line below subtract 4 inches from the elevation followed by the letters "BC".  It's easy enogh to add the letters but the simple equation of elevation - 4 inches eludes me.

View 3 Replies View Related

AutoCAD Civil 3D :: Point Elevation Takes On Elevation Of Snapped Object?

Dec 19, 2012

When I snap a point to an object, the point takes on the elevation of the object. I would rather the point's elevation stay as is.

-changing osnapz variable

-latest civil 3d service pack

A few weeks ago I did not have this problem but once my computer was switched to the company's global server and c3d was reinstalled the problem appeared. Furthermore (post switchover), when a colleage of mine prepared a simple test drawing with just a line and a point, he was able to snap to that line without the point changing elevation. When he sent that drawing to me and I tried snapping the point to the object, the same problem occured with the point taking the elevation of the line object. I suspect it is a system variable issue

View 7 Replies View Related

AutoCAD Civil 3D :: How To Change Invert And Top Elevation To Existing Top Elevation

Apr 16, 2012

i have some existing drainage pipe and structures in a base plan that i need to change the invert (which is the easy part) and the top elevation to the existing top elevation that does not meet the minimum presect in civil 3d 2012 is there a way to change these min. to match my exisitng elevation for example i have a catch basin invert is 15.45 top is 17.56 with a 18" rcp  the cover will be less than 12" and i need to change this.

View 3 Replies View Related

AutoCad :: DXF And Surface Entities?

Sep 23, 2011

looking for a way to read in the DXF data for a surface entity in AutoCAD2012. There's plenty on reading in simple objects (e.g. 3DFace, Points, etc.) but nothing on surfaces. The data itself is also not as intuitive as I would have hoped. The DXF reference PDF from AutoDesk shows 7 possible unique entries and the data I need is most likely stored in the proprietary data. So, in short I know where it is but how can I read it?

View 7 Replies View Related

AutoCAD .NET :: How To Get ObjectIdCollection Of All Entities In A Certain Layer

May 22, 2012

How could I get the ObjectIdCollection of all entities (points, polyline) in a certain layer?

I am using the following code at this moment.
 
private ObjectIdCollection GetEntitiesOnLayer(string layerName)
{
Editor ed = doc.Editor;
TypedValue[] tvs = new TypedValue[1] { new TypedValue((int)DxfCode.LayerName, layerName) };
SelectionFilter sf = new SelectionFilter(tvs);
PromptSelectionResult psr = ed.SelectAll(sf);

[code]....

But it seems the function fetches more ObjectId than I expected.For example, if I draw 3 points and 2 polylines in "A" layer.

ObjectIdCollection obc = GetEntitiesOnLayer("A");

int i = obc.Count;

I was expecting i to be 5 (3 points and 2 polylines), but i seems to be more than 5.

View 2 Replies View Related

AutoCAD .NET :: Dynamic Preview Of Entities

Sep 8, 2013

I have the dialog window with the settings for entities graphical appearance used in my plugin.

My goal is to create the same preview as AutoCAD dimension style manager dialog has, the dynamic thumbnail of the entities while user changes the settings in dialog.

Probably one option is to create temporary block (created based on data from settings dialog) and then use BlockTableRecord.PreviewIcon, but I am not sure if there is some other way.

View 2 Replies View Related

AutoCAD .NET :: Select Entities By Extent?

Oct 4, 2013

How do I select entities by extent. Let's suppose I have Lowerx ,lowery , upperx , uppery [174.76789855957,28.3978977203369 , 507.941253662109 ,112.090751647949 ]. How do I find entities who have these extents.

View 1 Replies View Related

AutoCAD .NET :: Select Nested Entities

Jan 3, 2013

I select all entities via Editor.SelectAll() method, but the nested entities (inside Blocks) are missing. Do I have to resolve them by iterating through all blocks afterwards or is there a Prompt Selection Option that can be set?

I don't want the user to select the entities, instead I loop through the whole drawing.

View 7 Replies View Related

AutoCAD .NET :: Select All Entities Of A Layer?

Oct 8, 2012

How to select all entites of a layer?

I want to migrate my VB code to VB.NET code, migrate the below code?
 
Private Function GetEntities(oLayerCollection As Collection, sSelectionSetName As String, _ Optional pointsList As Variant = Empty, _ Optional mode As AcSelect = acSelectionSetCrossingPolygon) As AcadSelectionSet Dim oSS As AcadSelectionSet

[Code].....

View 2 Replies View Related

AutoCAD .NET :: Find All Connected Entities?

Nov 6, 2013

I have a requirement to find all connected entities on a given line of a plant P&ID. In other words given a certain line or reference point the requirement is to 'walk the line' and list off all entities (with certain attributes and in order) that are connected on a line.

Now not having any experience with underlying object models and API's, whether A) this is possible B) which object model to use - I'm a bit confused as to which one to use.

View 1 Replies View Related

AutoCAD LT :: Plotting Proxy Entities

Feb 6, 2012

I received a drawing from an outside contractor that uses something with proxy entities.  I can see them just fine on the screen but when I try to plot the drawing they disappear.  It also came from a newer version so I had to use the DWG True View to convert it if that may have caused my issue. 

View 5 Replies View Related

AutoCAD .NET :: Hatch All Visible Entities

Feb 6, 2013

I'd like to automatically hatch all visible polygons of a drawing. My vision of how to solve this is basically:

- for each visible drawing do
- pick internal point 
- hatch
- end for

I'm having trouble by automatically picking an internal point inside the polygon. 

I've found these two methods : Crossing numbers and winding numbers [URL]....... but they don't seem to work if there are some polylines inside an polygon.

Is there another solution to my problem for automatically picking an internal point inside a polygon ? Can I automatically hatch an polygon without picking it's internal point ?

View 5 Replies View Related

AutoCAD .NET :: Entities Deselected - How To Keep Selection

Nov 27, 2013

My code takes the selected entities and reads out all the text of the attributes.

If no blocks are selected, the code prompts for a selection.

Unfortunately, by ending the transaction, the entitis are deselected.

So how to keep the selection, because it will be handled in a follow-up step.

Below a shortened code for the procedure:
 
private void Get_Text(){ Autodesk.AutoCAD.Internal.Utils.SetFocusToDwgView(); PromptSelectionResult sel = edt.SelectImplied(); if (sel.Status == PromptStatus.Error) { TypedValue[] auswahl_typ = new TypedValue[] { new TypedValue((int)DxfCode.Start, "INSERT") };

[Code] ......

View 1 Replies View Related

AutoCAD .NET :: Getting Current Selected Entities

Nov 26, 2012

I try to get all current entities for my own custom palette.

I tried it with ed.SelectionAdded and ed.SelectionRemoved but it doesn't work if I for example pressing ESC.

I want to get the Object Ids saved in a ObjectIdCollection and I don't want to run an autocad command every time.

View 1 Replies View Related

AutoCAD VB :: How To Move Hatch Entities

Nov 24, 2011

I wrote a program that trys to move all the entities in a dwg file by calculating a grid transformation for each point in each entity. For example to move a pline
  
Case Is = "AcDb2dPolyline"
                Set o2DP = oEnt
                retCoord = o2DP.Coordinates
                For j% = 0 To UBound(retCoord) Step 3
                     yaa# = retCoord(j%)
 
[Code]...

My problem is moving hatch entities. I haven't succeeded in finding equivalent code to move the hatch entities. I did find another post here, but I still don't get it.

View 6 Replies View Related

AutoCad 3D :: The Selected Entities Are Not Valid

Jan 16, 2012

I'm trying to make a curved wall with different heights, but i can't manage to do the loft of the object. I keep getting "The selected entities are not valid."

I tried remaking all the little polylines but nothing seems to work..

View 9 Replies View Related







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