AutoCAD .NET :: Clone 3D Polyline?
Apr 12, 2013
The 3d poly would be in an xref, and for my purposes i don't need it to be a 3d poly. Can this type of object be cloned? Or would it be better to collect the vertex points and create a 2d poly on top of it?
View 9 Replies
ADVERTISEMENT
Nov 23, 2013
Could not use the clone stamp tool because the area to clone has not been defined (option-click to define a source point). this is what shows up in the command box when ever I click to start to pick the spot i want to use as the clone. makes my cloning tool useless. I have reset the tools restrted my computer.
View 1 Replies
View Related
Nov 6, 2013
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?
View 6 Replies
View Related
Jun 7, 2012
I would like to take all the vertices out of a multiple-vertices polyline so that it reduces to just its start and end points, can this be done?
View 4 Replies
View Related
Feb 12, 2014
How do I change from clone pattern to clone stamp
View 1 Replies
View Related
Sep 21, 2013
Due to modeling purposes, I need to convert a 3D polyline to a spline. What I have been doing is:
- change polyline fit/smooth to cubic from properties
- convert polyline to spline by typing spline -> object
- method -> fit from properties
You can see the original 3D polyline (green) and the resulting spline (magenta) in the attached drawing.When I zoom in and measure the distance between the two entities at different points along them, at some points the perpendicular distance exceeds 5 millimeters, and I want to ensure the deviation remains under 1 millimeter or even less.
I know I can change the knot parameterization of the spline, and this does work at some locations, but the difference increases at others.Why is there a 5.6 mm difference between the spline fit point and 3D polyline vertex, as measure in the attached drawing?
Now, I can go and manually stretch the fit point to coincide with the vertex. Also, I can add fit points between existing ones to drag the spline closer to the original 3D poly.
However, some of my polys are really long, and it is very time-consuming to do this manually while measuring points along the entities to make sure the distance stays small enough.
how to automate this process? For example a lisp that would maybe take the original vertex points, add say maybe 3 (not too many) new ones between them, and then generate a spline while making sure the deviation is less than the set value of 1mm? I am using AutoCAD 2013.
View 5 Replies
View Related
Nov 11, 2013
I've been working on a custom polyline object, and I've got it functioning!!Having said that, I plan to run its creation around picking a point for bounary selection.
(Other than trying to step through every vertecies) is there a technique I can thow the polyline data from a traceboundary result into my custom object? I've been trying to add the polyline from traceboundary to my object BEFORE it's added to the transaction by the way...I assume that's right, since I want to put it's data in my custom object then add my custom object to the transaction instead.
View 3 Replies
View Related
Nov 4, 2013
clone tool has worked fine, but now it does not select an area to clone from?
View 1 Replies
View Related
Jun 29, 2013
I want to convert a 3D polyline to 2D polyline.
View 5 Replies
View Related
Sep 16, 2011
Is there any way at all to draw a new polyline - from the endpoint of another polyline, and have it automatically join as one polyline from the existing section??
I know this can be done via PEDIT, but its so laborious and soo many clicks, and I have alot of segmented Polylines that I need to consolidate when I draft.
View 7 Replies
View Related
Mar 22, 2012
Any way I can align a new polyline to a reference polyline (orig polyline).
The 2 polys will be generally the same length, however, the number of vertices will differ.
Also I need to mantain the same distance between the vertices on the new poly and the new and reference poly won't follow the same direction.
View 9 Replies
View Related
May 18, 2011
How do you find 'if' a polyline is inside another polyline?
View 2 Replies
View Related
Jan 12, 2012
I'm trying to use the clone tool to erase creases around an eye.
I have the layer with the eye in it active, I choose the clone tool, I hit CTRL and click the area of flesh around the eye I want to copy, I see a moving outline of the flesh that's being copied, It works spiffingly! I change brush size to work in a smaller area, I hit CTRL and click the area of flesh I want to copy, I see a moving outline of the flesh I want to copy, But nothing! My cursor moves, but no cloning going on.
This has been plaguing me for a while but I've had projects going that I didn't want to interrupt. It's gotten to the point that I just can't take it anymore. I really need the clone tool for this phase of this project
View 14 Replies
View Related
Mar 2, 2012
How do you convert a closed Polyline to 2D Polyline? CONVERT does not work in reverse.
View 4 Replies
View Related
Jun 25, 2008
I have 2D polylines and want to convert to polylines, but to no avail. Tried to 'spline2pline' this line, but ACAD refuse to select it.
View 9 Replies
View Related
Aug 10, 2012
I can do this in AutoCAD Map but I have my doubts. I will explain in ESRI GIS terms (this is what I am familiar with) and I hope you can tell me if I can do this in AutoCAD Map. In ESRI ArcMap I can select a line and I can hit a Select by Location button. In this window I can select all of the objects that intersect my selected line. Then I can delete them or export them etc.
In AutoCAD Map I have a polyline selected. It is my road centerline. I want to be able to select all of the other polylines that intersect my selected polyline. Is there a way to do this? I need to erase those polylines. Usually I will pan to each of them and select them individually. It just seems to take a lot of time. My AutoCAD co-worker said I could use a fence and draw the fence through my polylines. It seemed to work ok but I accidently deleted extra things that I needed. So I'm back to manually selecting each one by one unless you know a different way.
View 8 Replies
View Related
Mar 24, 2013
How to convert a 3D Polyline contour to Polyline contour.
View 4 Replies
View Related
Jul 12, 2012
I trying to clone DynamicBlockProperty from a file to the current drawing Using VB or C#.Net.
View 2 Replies
View Related
Sep 28, 2013
What is the correct way of copying an existing viewport, What I am actually doing is that to clone a layout by copying what is inside it, everything works smoothly except for the viewports.
I tried to use the clone method, but it didn't work, I also tried to use the copy from method but also to no avail.
In both cases the copied viewport is a dumb black rectangle.
Dim exkeyvport As Autodesk.AutoCAD.DatabaseServices.Viewport = DirectCast(acTrans.GetObject(objId, OpenMode.ForRead), Autodesk.AutoCAD.DatabaseServices.Viewport) Dim keyvport As New Autodesk.AutoCAD.DatabaseServices.Viewport keyvport.CopyFrom(exkeyvport) keyvport.UpdateDisplay() NewblkTableRec.AppendEntity(keyvport) acTrans.AddNewlyCreatedDBObject(keyvport, True)
The only way that partially worked for me was to create a viewport and copy its attributes one by one, but this is exhaustive and not reliable, so what is the proper way to copy a viewport?
View 9 Replies
View Related
Jul 21, 2013
I have a object which im cloning and moving along a path.I am finding the GeometricExtentsBestFit points of the block and plotting in the drawing.I want to clone the object with these points.
Dim bref As BlockReference = actran.GetObject(idsBox(0), OpenMode.ForWrite).
Dim BlockCloneNew As BlockReference = bref.Clone()
Dim bestFit AsExtents3d = bref.GeometryExtentsBestFit
Dim bestfitMin As Point3d = bestFit.MinPoint
Dim bestfitMax1 As Point3d = bestFit1.MaxPoint
View 7 Replies
View Related
Jul 18, 2013
I want to clone a polyline3d and set all vertices Z to 0.0 and use that one in my program. I don't want to add it to the database, just use it in memory and then dispose it. I know how to access all vertices in a polyline3d that exists in the database using a transaction, but this will not work with my cloned polyline3d in memory.
Here's part of my
Dim acDoc As Document = DocumentManager.MdiActiveDocument Dim acCurDb As Database = acDoc.Database Using acTrans As Transaction = acCurDb.TransactionManager.StartTransaction() Dim idArray As ObjectId() = sSet.GetObjectIds() For Each id In idArray Dim entity As Entity =
[code]........
View 3 Replies
View Related
Nov 6, 2012
A way to create a copy of an open part by starting from a template part file and recreating all the features?
Is there a simple way to copy a sketch definition from one part to another using either VBA or VB.net? Is there a way to access the browser so the order of feature creation can be copied?
View 2 Replies
View Related
Apr 26, 2013
what is the meaning of Error in RSe clone commander.
View 9 Replies
View Related
Jan 25, 2011
I have two open drawings, a source and a destination drawing in ACADI have different layers and linetypes in each drawingI need to get the objects on a specified layer in the source drawing and copy them to the destination drawing, but ensure that they are put on a specified layer in that drawing which differs in name from the original drawing.
I've tried coming at this a few different ways, but can't really seem to come a conclusion on how to do this. WBlockCloneObjects, of course, allows me to clone the items to the new drawing, but in doing so, drags along all the layers and linetypes with it which I don't want "contaminating" my new drawing. I'm trying to keep the conversion as clean as possible. I can't pre-change the layer name or linetype, etc as the destination for these values doesn't exist in the source drawing.
Is there a way to create a new entity (an anonymous one, independent of the source ObjectClass that I need so I don't have to create multiple routines to handle each one), not attached to a DB, copy the values from the source DB entity and then modify the layer, linetype, color etc before appending the entity to the destination database?
Here is my code for what I have, but since I don't really have a clue where to turn with this, all this really shows at the moment is a straight cloning of the objects from one DB to another. As a side note, I'm working in Civil 3D 2011 and when WBlockCloneObjects is called an "AutoCAD Map Messages" window appears with no messages in it.
Public Function CopyLayerContents(ByVal acdocSource As Document, ByVal strSourceLayer As String, ByVal acdocDest As Document, ByVal strDestLayer As String, ByVal bCopyBlocks As Boolean) As Boolean
Dim bComplete = False
Dim acSourceDB As Database = acdocSource.Database
Dim acDestDB As Database = acdocDest.Database
[code]........
View 9 Replies
View Related
Jul 25, 2013
I coded a utility to work with entities rotation. This is a part of a bigger project so i just cutt and pasted together the part of code that have this problem.
Basically i get the selection, i clone it (because this is a copy and rotate) and through a draw jig class i rotate all the entities. This works well but just sometimes when the command ends it happened this weird thing, the entities appears in the draw but they can't be selected. And all get back to the normally after saving, closing and reopening the draw.
This is the utility.
public void Run(object param) { Document doc = Application.DocumentManager.MdiActiveDocument; Editor ed = doc.Editor; Database db = doc.Database; List<Entity> toRotate = new List<Entity>(); PromptSelectionOptions pso = new PromptSelectionOptions(); pso.MessageForAdding = "
Select objects"; pso.AllowDuplicates = false; pso.AllowSubSelections = false; PromptSelectionResult psr =
[code]........
This is the link
[URL]........
View 2 Replies
View Related
May 29, 2009
For a window selection of several parts to demote, results in the error:
! Error in RSe clone commander
IV2010 sp0 on Windows XP 32bit SP3
I tried restarting app, relogging in, and restarting workstation.
I can provide dataset to any Autodeskie interested in this bug.
See attached image.
View 9 Replies
View Related
Aug 23, 2013
I'm having a problem when I create polyline with arc using vb.net. The arc is a quarter of ellipse. Please see picture below for detail.
View 6 Replies
View Related
Sep 23, 2012
Doing a complicated shape out of line's and arc's in 3D. Then tried to turn them into a polyline some parts joined and some didn't. I can't see a gap's were one line hasn't touch the other. All look on the same plane. What am I doing wrong? I'm using autoCAD 2012.
View 5 Replies
View Related
Nov 19, 2012
I have a surface model of a bin that I am going to use as a master for deriving sheet metal parts for each side of the bin. After creating Sketch 9, which defines the mating flanges of the sheets, I repeatedly get the error noted in the subject when I try creating a derived part from this file.
I narrowed the problem down to the sketch block I used to define the square holes or more specifically a dimension that appears in this sketch block. I originally drew the circle with the square around it within Sketch 9 and then used the Create Block command. Then I patterned the block along the edges and made the pattern symmetric about the mid point of the edge and placed the hole half way out on the flange. (Flange width is set as a user parameter "FlangeWidth"(1.5") and distance to hole is "FlangeWidth/2" or even just a raw value of 0.75").
Now once this dimension is added to the sketch it will also appear in the block editor for the 5-16 Carriage Square block. If this is deleted from the sketch and the block definition and the pattern of holes are left unconstrained in this one direction a derived part can be successfully made. BUT if a dimension is added to the sketch it will trickle down to the block definition and now a derived part will fail...
I realized that my holes are to be on the midline of the flange so I can constrain them there without a dimension and so I can work around this. I just didn't think dimensions to geometry not included in a block were added to the block definition.
Inventor 2013 x64 sp1.1
Workstation Specs:
Dell T7500 Dual Xeon E5620 @2.40Ghz 8GB Ram
NVIDIA Quadro FX580 4GB, Windows 7 x64 sp1
View 1 Replies
View Related
Jan 31, 2013
I have a line polyline and point1 (outside polyline) . I want to define a point2 (on polyline ) aligned or perpendicular with polyline. What method to use?
View 1 Replies
View Related
Aug 26, 2013
I have the following points that when connected create a polyline (Px = X,Y,Z)
P1 = 149.941738,99.586521,6999.370079
P2 = 146.5869,91.262907,6999.250781
P3 = 143.883334,82.716622,6999.701863
P4 = 142.39435,83.120478,6998.429138
P5 = 141.276439,98.451501,6993.00069
P6 = 130.73509,105.487377,6982.747181
P7 = 131.486628,107.340559,6982.777312
The points are not lined up with any standard axes, but do have a common plane. I would like to create a polyline using the points above. I have tryed playing with 'polyline3d' and 'transformBy' but could not get it to work.
View 8 Replies
View Related